diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-09-12 09:51:33 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-09-12 09:51:33 +0000 |
commit | abf47ddd1fe77287136535e2d05ada48b99b8e1f (patch) | |
tree | c7bb68f38c381d1f84dd542de882cca079b9b4b2 /icons | |
parent | b8e1a9b524f0922329c5307b0396f78a3dc2b44f (diff) | |
download | usdx-abf47ddd1fe77287136535e2d05ada48b99b8e1f.tar.gz usdx-abf47ddd1fe77287136535e2d05ada48b99b8e1f.tar.xz usdx-abf47ddd1fe77287136535e2d05ada48b99b8e1f.zip |
- 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
Diffstat (limited to 'icons')
-rw-r--r-- | icons/rccompile-delphi.bat | 2 | ||||
-rw-r--r-- | icons/rccompile-fpc.bat | 4 | ||||
-rw-r--r-- | icons/readme.txt | 20 | ||||
-rw-r--r-- | icons/ultrastardx-icon.rc | 1 | ||||
-rw-r--r-- | icons/ultrastardx-icon.res | bin | 0 -> 22748 bytes | |||
-rw-r--r-- | icons/ultrastardx-icon_32.png | bin | 0 -> 666 bytes | |||
-rw-r--r-- | icons/ultrastardx-icon_512.png | bin | 0 -> 106731 bytes |
7 files changed, 27 insertions, 0 deletions
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 Binary files differnew file mode 100644 index 00000000..d79a3d0f --- /dev/null +++ b/icons/ultrastardx-icon.res diff --git a/icons/ultrastardx-icon_32.png b/icons/ultrastardx-icon_32.png Binary files differnew file mode 100644 index 00000000..1b13a6ee --- /dev/null +++ b/icons/ultrastardx-icon_32.png diff --git a/icons/ultrastardx-icon_512.png b/icons/ultrastardx-icon_512.png Binary files differnew file mode 100644 index 00000000..d02ec89c --- /dev/null +++ b/icons/ultrastardx-icon_512.png |