From 36999a2e214b82903f23df0e78e49c68e8f265a2 Mon Sep 17 00:00:00 2001 From: Zaccari Silverman Date: Sun, 11 Aug 2019 02:43:00 -0400 Subject: [PATCH] Changed a few things around, mostly just the name of the application. --- CMakeLists.txt | 8 ++++---- constants.h | 9 +++++++++ dialog.r | 10 +++++----- menus.r | 1 + 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 74a85ca..bdc8f07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() diff --git a/constants.h b/constants.h index f6d4637..36689db 100644 --- a/constants.h +++ b/constants.h @@ -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 diff --git a/dialog.r b/dialog.r index 534e7d7..c91c7d6 100644 --- a/dialog.r +++ b/dialog.r @@ -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."}; } }; diff --git a/menus.r b/menus.r index 065449d..9559e46 100644 --- a/menus.r +++ b/menus.r @@ -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*/ {