mirror of
https://github.com/jeremysrand/BuGS.git
synced 2025-01-13 19:29:50 +00:00
Add the icon into the resources so if the Icon folder isn't copied, the icon of the application will be preserved in the resources. Start to add some of the resources to support Versions updates.
This commit is contained in:
parent
49c17c2005
commit
c0b76e46bc
@ -7,7 +7,7 @@
|
||||
<key>Binary.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>3</integer>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
<key>BuGS.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
@ -22,7 +22,7 @@
|
||||
<key>doNotBuild.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>1</integer>
|
||||
<integer>3</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
|
16
BuGS/main.h
16
BuGS/main.h
@ -15,6 +15,22 @@
|
||||
#define TOOL_STARTUP 1
|
||||
|
||||
|
||||
/* Update Info */
|
||||
#define UPDATE_INFO 1
|
||||
|
||||
|
||||
/* Strings */
|
||||
#define DISPLAY_NAME_STR 2000
|
||||
#define AUTHOR_NAME_STR 2001
|
||||
#define DOWNLOAD_URL_STR 2002
|
||||
#define ARCHIVE_STR 2003
|
||||
#define VERSIONS_DATA_FILE_STR 2004
|
||||
|
||||
|
||||
/* Icons */
|
||||
#define BUGS_ICON 1001
|
||||
|
||||
|
||||
/* Sounds */
|
||||
#define rRawSound 1
|
||||
#define BONUS_SOUND 1
|
||||
|
179
BuGS/main.rez
179
BuGS/main.rez
@ -11,6 +11,54 @@
|
||||
#include "main.h"
|
||||
|
||||
|
||||
/* Update info */
|
||||
#define rUpdateInfo $DEAD /* RIP Jerry Garcia */
|
||||
/*--------------------- rUpdateInfo -------------------------*/
|
||||
type rUpdateInfo {
|
||||
integer; /* version must be zero */
|
||||
longint; /* Resource ID of string holding app's display name */
|
||||
longint; /* ID of string holding author's name */
|
||||
longint; /* ID of string URL to the downloads folder */
|
||||
longint; /* ID of string for downloadable archive name */
|
||||
longint; /* ID of string for Versions.List data file */
|
||||
};
|
||||
|
||||
|
||||
resource rPString (DISPLAY_NAME_STR, $0000) {
|
||||
"BuGS"
|
||||
};
|
||||
|
||||
|
||||
resource rPString (AUTHOR_NAME_STR, $0000) {
|
||||
"Jeremy Rand"
|
||||
};
|
||||
|
||||
|
||||
resource rPString (DOWNLOAD_URL_STR, $0000) {
|
||||
"http://downloads.rand-emonium.com/"
|
||||
};
|
||||
|
||||
|
||||
resource rPString (ARCHIVE_STR, $0000) {
|
||||
"BuGS.0.9.4.bxy"
|
||||
};
|
||||
|
||||
|
||||
resource rPString (VERSIONS_DATA_FILE_STR, $0000) {
|
||||
"jrand"
|
||||
};
|
||||
|
||||
|
||||
resource rUpdateInfo (UPDATE_INFO, $0000) {
|
||||
0,
|
||||
DISPLAY_NAME_STR, // app's display name
|
||||
AUTHOR_NAME_STR, // author's name
|
||||
DOWNLOAD_URL_STR, // URL to downloads folder
|
||||
ARCHIVE_STR, // Name of downloadable archive
|
||||
VERSIONS_DATA_FILE_STR // Name of data file for Versions.List
|
||||
};
|
||||
|
||||
|
||||
/* Version resource */
|
||||
resource rVersion (1) {
|
||||
{
|
||||
@ -26,6 +74,137 @@ resource rVersion (1) {
|
||||
};
|
||||
|
||||
|
||||
/* Bundle */
|
||||
resource rBundle (1, preload, nospecialmemory) {
|
||||
BUGS_ICON,
|
||||
1,
|
||||
{
|
||||
{
|
||||
$0081,
|
||||
{0},
|
||||
{BUGS_ICON},
|
||||
{0},
|
||||
"",
|
||||
},
|
||||
Filetype+Filename,
|
||||
MatchFileType {{$B3}},
|
||||
empty {},
|
||||
MatchFileName {{"BuGS"}},
|
||||
empty {},
|
||||
empty {},
|
||||
empty {},
|
||||
empty {},
|
||||
empty {},
|
||||
empty {},
|
||||
empty {},
|
||||
empty {},
|
||||
empty {}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/* Icons */
|
||||
resource rIcon (BUGS_ICON) {
|
||||
0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"FFFFFFFFFFFFFFFFFFF06E22A8EAAA2AAA803FFFFFFFFFFFFFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFFFFFFFF2864EEAA0CEA8AEEE803FFFFFFFFFFFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFFFFFFFF22AAE2A0F444E2EEAAA83FFFFFFFFFFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFFFFFFFC8AAE8A84C444E2AAAAAE83FFFFFFFFFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFFFFFFFC2EEAA807C4448AEEEEEEE8FFFFFFFFFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFFFFFFFCAAAA0284444A2EAEAAAAA8FFFFFFFFFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFFFFFFF2EEEEEEEAEAAAAAAAAEEEEE3FFFFFFFFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFFFFFFF02AAAAAAEAA80002EEAAAEE3FFFFFFFFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFFFFFFFFCFCAEA800E00400ACAA8EECFFFFFFFFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFFFFFFFFCC3000203E0440428AA2EEE0FFFFFFFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFFFFFFFFF3FFFF080F44444A82E2AAA200FFFFFFFFFFFC00F"
|
||||
$"FFFFFFFFFFFFFFFFFFFFFC000444644442E0A8AEA8AAA0FFFFFFF0002EE3"
|
||||
$"FFFFFFFFFFFFFFFFFFFFF04444440000028AE0AAA2EEEE3FFFF002EAAA2C"
|
||||
$"FFFFFFFFFFFFFFFFFFFF0744C4A7C0304A0A028AA2AA8A80000AEE2EEEA0"
|
||||
$"FFFFFFFFFFFFFFFFFFF0F4CC40A74074A8202AA88AA2AAEEEEEAA8EEECC8"
|
||||
$"FFFFFFFFFFFFFFFFFFCC4074FC28446A808AA8802AE22EAAAAAEA2EEEA83"
|
||||
$"FFFFFFFFFFFFFFFFFFC7407403C2AEA02A22002EE2A08AAAA2000AAAA83F"
|
||||
$"FFFFFFFFFFFFFFFFFFC740074430000200CEEEEEEE6A200000FC2EEE83FF"
|
||||
$"FFFFFFFFFFFFFFFFFFF074000440000EEEEEEEEEECAE8A288000AAAAE3FF"
|
||||
$"FFFFFFFFFFFFFFFFFFFC044000008AA2CEEEEE66CECAC220EE8AAAAA0FFF"
|
||||
$"FFFFFFFFFFFFFFFFFFFFC00400AAE220EEEEEEEEEEE6A88288AAA800FFFF"
|
||||
$"FFFFFFFFFFFFFFFFFFFFFF00AAEC88880EEEEEEEE4448A228EEE83FFFFFF"
|
||||
$"FFFFFFFFFFFFFFFF003FC0AAEC8A2E22026666666EAAAAAACAA83FFFFFFF"
|
||||
$"FFFFFFFFFFFFFF00AA802AAAAAA20000F0EEEEEECAAAEEEEE283FFFFFFFF"
|
||||
$"FFFFFFFFFFFFF0AEEEEEA2A02800FFFFFC0000022AAE88AA2C3FFFFFFFFF"
|
||||
$"FFFFFFFFFFFFC2EEAAAA8A03C03FFFFFFFFFFFFCAAA00004E8FFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFCAAA00202C3FFFFFFFFFFFFFFFF2AC0FFF2EA3FFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFCEE83C0AA8FFFFFFFFFFFFFFFFFC03FFFCE2CFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFCEA0FF0AE3FFFFFFFFFFFFFFFFFFFFFFF2A83FFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFCA03FCA803FFFFFFFFFFFFFFFFFFFFFFFC03FFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFCC3FFF00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
$"FFFFFFFFFFFFC0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF",
|
||||
$"0000000FF000000000000000000000000000000000000000000000000000"
|
||||
$"0000000FF000000000000000000000000000000000000000000000000000"
|
||||
$"000000FFF000000000000000000000000000000000000000000000000000"
|
||||
$"000000FF0000000000000000000000000000000000000000000000000000"
|
||||
$"000000FF0000000000000000000000000000000000000000000000000000"
|
||||
$"000000FF0000000000000000000000000000000000000000000000000000"
|
||||
$"000000FF0000000000000000000000000000000000000000000000000000"
|
||||
$"000000FFF000000FFFFFFFF0000000000000000000000000000000000000"
|
||||
$"0000000FFFF00FFFFFFFFFFFF00000000000000000000000000000000000"
|
||||
$"0000000FFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000"
|
||||
$"FFFF000FFFFFFFFF000000FFFFF000000000000000000000000000000000"
|
||||
$"FFFFFFFFFFFFFFFFFF00000FFFF000000000000000000000000000000000"
|
||||
$"0FFFFFFFFFFF00FFFFFF0000FFF000000000000000000000000000000000"
|
||||
$"000FFFFFFF000000FFFFF000FFFFFFFF0000000000000000000000000000"
|
||||
$"000000000000000000FFFFFFFFFFFFFFFFF0000000000000000000000000"
|
||||
$"0000000000000000000FFFFFFFFFFFFFFFFFF00000000000000000000000"
|
||||
$"0000000000000000000FFFFFFFFFFFFFFFFFFFF000000000000000000000"
|
||||
$"0000000000000000000FFFFFFFF0FFFFFFFFFFFF00000000000000000000"
|
||||
$"000000000000000000FFFFFFFFFFFFFFFFFFFFFFF0000000000000000000"
|
||||
$"000000000000000000FFFFFFFFFFFFFFFFFFFFFFF0000000000000000000"
|
||||
$"000000000000000000FFFFFFFFFFFFFFFFFFFFFFF0000000000000000000"
|
||||
$"000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF000000000000000000"
|
||||
$"000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF000000000000000000"
|
||||
$"0000000000000000000F0FFFFFFFFFFFFFFFFFFFFF000000000000000000"
|
||||
$"0000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF00000000000000000"
|
||||
$"00000000000000000000F0000FFF0FFFFFFFFFFFFFFFF00000000000FFF0"
|
||||
$"000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFF0000000FFFFFFF"
|
||||
$"000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFF"
|
||||
$"00000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
$"0000000000000000000F0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
$"000000000000000000FFFFFF0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
$"000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0"
|
||||
$"000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0FFFFFFF00"
|
||||
$"0000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00"
|
||||
$"0000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000"
|
||||
$"00000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000"
|
||||
$"0000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000"
|
||||
$"0000000000000000FFF0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000000"
|
||||
$"00000000000000FFFFFFFFFFFFFFFFFF0FFFFFFFFFFFFFFFFFFF00000000"
|
||||
$"0000000000000FFFFFFFFFFFFFFF00000FFFFFFFFFFFFFFFFFF000000000"
|
||||
$"000000000000FFFFFFFFFFFFFFF000000000000FFFFFFFFFFF0000000000"
|
||||
$"000000000000FFFFFFFFFFF0000000000000000FFFF000FFFF0000000000"
|
||||
$"000000000000FFFFFFFFFF00000000000000000FFF000FFFF00000000000"
|
||||
$"000000000000FFFF00FFFF00000000000000000000000FFFF00000000000"
|
||||
$"000000000000FFFF0FFFFF00000000000000000000000FFF000000000000"
|
||||
$"000000000000FFF000FF0000000000000000000000000000000000000000"
|
||||
$"000000000000FF0000000000000000000000000000000000000000000000"
|
||||
};
|
||||
|
||||
|
||||
/* Tools */
|
||||
resource rToolStartup (TOOL_STARTUP) {
|
||||
#if DESKTOP_RES_MODE == 320
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user