Changed a few things around, mostly just the name of the application.

This commit is contained in:
Zaccari Silverman 2019-08-11 02:43:00 -04:00
parent 7693c76208
commit 36999a2e21
4 changed files with 19 additions and 9 deletions

View File

@ -6,7 +6,7 @@
cmake_minimum_required(VERSION 2.8)
add_application(PetProject
add_application(MemeveyPro
constants.h
main.c
MainApp.c
@ -17,10 +17,10 @@ add_application(PetProject
# Enable -ffunction-sections and -gc-sections to make the app as small as possible
# On 68K, also enable --mac-single to build it as a single-segment app (so that this code path doesn't rot)
set_target_properties(PetProject PROPERTIES COMPILE_OPTIONS -ffunction-sections)
set_target_properties(MemeveyPro PROPERTIES COMPILE_OPTIONS -ffunction-sections)
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
set_target_properties(PetProject PROPERTIES LINK_FLAGS "-Wl,-gc-sections -Wl,--mac-single")
set_target_properties(MemeveyPro PROPERTIES LINK_FLAGS "-Wl,-gc-sections -Wl,--mac-single")
else()
set_target_properties(PetProject PROPERTIES LINK_FLAGS "-Wl,-gc-sections")
set_target_properties(MemeveyPro PROPERTIES LINK_FLAGS "-Wl,-gc-sections")
endif()

View File

@ -23,11 +23,20 @@
#define menuItemLogout 2
#define menuItemQuit 4
//
#define menuRandom 132
#define menuAutoJerk 1
#define menuFuck 255
//
#define menuHelp 130
#define menuitemHelp 1
/*Dialogs, Alerts, and DITLs*/
#define dlogAbout 128
#define ditlAbout 128

View File

@ -9,7 +9,7 @@ resource 'DLOG' (dlogAbout, purgeable) {
noGoAway, //No close box
0,
ditlAbout,
"About PetProject-m68k",
"About MemeveyPro-m68k",
centerMainScreen
};
@ -23,7 +23,7 @@ resource 'DITL' (ditlAbout, purgeable) {
UserItem {enabled};
{ 30, 110, 100, 350 },
StaticText {enabled, "PetProject-m68k 0.0.0\rBy Zac Silverman (macosten)"};
StaticText {enabled, "MemeveyPro-m68k 0.0.0\rBy Zac Silverman (macosten)"};
{ 25, 10, 95, 105 },
Picture {enabled, 128};
@ -59,7 +59,7 @@ resource 'WIND' (windMain){
visible,
goAway,
0,
"PetProject-m68k",
"MemeveyPro-m68k",
centerMainScreen
};
@ -70,14 +70,14 @@ resource 'DLOG' (dlogMain){ //Purgeable?
goAway, //Revisit this
0,
ditlMain,
"PetProject-m68k",
"MemeveyPro-m68k",
centerMainScreen
};
resource 'DITL' (ditlMain, purgeable){
{
{10, 10, 40, 300},
StaticText {disabled, "PetProject Main Window."};
StaticText {disabled, "MemeveyPro Main Window."};
}
};

View File

@ -14,6 +14,7 @@ resource 'MENU' (menuApple, preload) { /*resource ID, preload resource*/
0b1111111111111111111111111111101, /*enable About item, */
/* disable divider, */
/* enable all other items*/
/* Read this word from the LSB to the MSB.*/
enabled, /*enable menu title*/
apple, /*menu title*/
{