From abf47ddd1fe77287136535e2d05ada48b99b8e1f Mon Sep 17 00:00:00 2001 From: tobigun Date: Fri, 12 Sep 2008 09:51:33 +0000 Subject: - Windows resources (.rc) reduced to the icon - Texture resource names are now directly written to resources.inc - Fonts are no resources anymore. They are moved to game/fonts and can be changed to support multiple charsets (until the TTF part is finished). Fonts are registered in fonts/fonts.in git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1367 b956fd51-792f-4845-bead-9b4dfca2ff2c --- icons/rccompile-delphi.bat | 2 ++ icons/rccompile-fpc.bat | 4 ++++ icons/readme.txt | 20 ++++++++++++++++++++ icons/ultrastardx-icon.rc | 1 + icons/ultrastardx-icon.res | Bin 0 -> 22748 bytes icons/ultrastardx-icon_32.png | Bin 0 -> 666 bytes icons/ultrastardx-icon_512.png | Bin 0 -> 106731 bytes 7 files changed, 27 insertions(+) create mode 100644 icons/rccompile-delphi.bat create mode 100644 icons/rccompile-fpc.bat create mode 100644 icons/readme.txt create mode 100644 icons/ultrastardx-icon.rc create mode 100644 icons/ultrastardx-icon.res create mode 100644 icons/ultrastardx-icon_32.png create mode 100644 icons/ultrastardx-icon_512.png (limited to 'icons') diff --git a/icons/rccompile-delphi.bat b/icons/rccompile-delphi.bat new file mode 100644 index 00000000..32f209a7 --- /dev/null +++ b/icons/rccompile-delphi.bat @@ -0,0 +1,2 @@ +@set RES_NAME=ultrastardx-icon +BRC32 -r -fo%RES_NAME%.res %RES_NAME%.rc diff --git a/icons/rccompile-fpc.bat b/icons/rccompile-fpc.bat new file mode 100644 index 00000000..30998c6d --- /dev/null +++ b/icons/rccompile-fpc.bat @@ -0,0 +1,4 @@ +@set PATH=C:\Programme\lazarus\fpc\2.2.0\bin\i386-win32\;%PATH% +@set RES_NAME=ultrastardx-icon +windres.exe -i %RES_NAME%.rc -o %RES_NAME%.res + diff --git a/icons/readme.txt b/icons/readme.txt new file mode 100644 index 00000000..f75a99f4 --- /dev/null +++ b/icons/readme.txt @@ -0,0 +1,20 @@ +Resource files (.rc/.res) are needed for MS Windows builds only. + +The .res file is the compiled version of .rc and appended to the +executable. It is just used to provide an icon for the executable +that is shown in the explorer. + +Delphi does the compilation of the .rc to .res file automatically. +FPC needs windres (delivered with FPC) for ths purpose but windres +must be started separately. + +You can manually run the compilation process with either + rccompile-delphi.bat or + rccompile-fpc.bat +depending on the available compiler (delphi/windres files are compatible). + +If FPC is used, the path to the FPC bin-dir might have to be adjusted, +the default is "PATH=C:\Programme\lazarus\fpc\2.2.0\bin\i386-win32\". + +To avoid the need to run the resource-compiler, a pre-compiled .res-file +was added to SVN. Please commit the res-file if the rc-file was changed. \ No newline at end of file diff --git a/icons/ultrastardx-icon.rc b/icons/ultrastardx-icon.rc new file mode 100644 index 00000000..3d0b43fc --- /dev/null +++ b/icons/ultrastardx-icon.rc @@ -0,0 +1 @@ +MAINICON ICON "ultrastardx.ico" diff --git a/icons/ultrastardx-icon.res b/icons/ultrastardx-icon.res new file mode 100644 index 00000000..d79a3d0f Binary files /dev/null and b/icons/ultrastardx-icon.res differ diff --git a/icons/ultrastardx-icon_32.png b/icons/ultrastardx-icon_32.png new file mode 100644 index 00000000..1b13a6ee Binary files /dev/null and b/icons/ultrastardx-icon_32.png differ diff --git a/icons/ultrastardx-icon_512.png b/icons/ultrastardx-icon_512.png new file mode 100644 index 00000000..d02ec89c Binary files /dev/null and b/icons/ultrastardx-icon_512.png differ -- cgit v1.2.3