mirror of
https://github.com/izzy2lost/Ghostship.git
synced 2026-06-19 01:17:03 -07:00
Add properties.h to gitignore.
Add controls text to Area and Speed options in level select. Make Area show only for THI for now.
This commit is contained in:
@@ -95,3 +95,4 @@ modding/
|
||||
*.log
|
||||
node_modules
|
||||
/src/port/build.c
|
||||
/properties.h
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
|
||||
#define VER_FILEVERSION 1, 0, 0, 0
|
||||
#define VER_FILEVERSION_STR "1.0.0\0"
|
||||
|
||||
#define VER_PRODUCTVERSION 1, 0, 0, 0
|
||||
#define VER_PRODUCTVERSION_str "1.0.0\0"
|
||||
|
||||
#define VER_COMPANYNAME_STR "Lywx\0"
|
||||
#define VER_PRODUCTNAME_STR "Ghostship\0"
|
||||
|
||||
#define VER_INTERNALNAME_STR "Ghostship\0"
|
||||
#define VER_ORIGINALFILENAME_STR "Ghostship.exe\0"
|
||||
|
||||
#define VER_FILEDESCRIPTION_STR "Ghostship - Barnard Alfa\0"
|
||||
@@ -438,20 +438,25 @@ Gfx* BetterLevelSelect_DrawMenu(s32 state, struct GraphNode *node, UNUSED void *
|
||||
std::vector<const char*> acts = language ? entries[self.currentLevelIndex].actsJp : entries[self.currentLevelIndex].actsEn;
|
||||
|
||||
if(!acts.empty()) {
|
||||
GfxPrint_SetPos(&printer, 2, 25);
|
||||
int y = 25;
|
||||
GfxPrint_SetPos(&printer, 2, y);
|
||||
GfxPrint_SetColor(&printer, 100, 100, 100, 255);
|
||||
GfxPrint_Printf(&printer, "(Z/R)Act:");
|
||||
GfxPrint_Printf(&printer, "(Z/R) Act:");
|
||||
GfxPrint_SetColor(&printer, 200, 200, 50, 255);
|
||||
GfxPrint_Printf(&printer, "%s", acts[self.currentActIndex]);
|
||||
|
||||
GfxPrint_SetPos(&printer, 2, 26);
|
||||
auto areas = entries[self.currentLevelIndex].areas;
|
||||
GfxPrint_SetColor(&printer, 100, 100, 100, 255);
|
||||
GfxPrint_Printf(&printer, "Area:");
|
||||
GfxPrint_SetColor(&printer, 200, 50, 50, 255);
|
||||
GfxPrint_Printf(&printer, "%s", self.currentAreaIndex == 0 ? "Default" : areas[self.currentAreaIndex - 1].name);
|
||||
if (entries[self.currentLevelIndex].levelId == LEVEL_THI) {
|
||||
y++;
|
||||
GfxPrint_SetPos(&printer, 2, y);
|
||||
GfxPrint_SetColor(&printer, 100, 100, 100, 255);
|
||||
GfxPrint_Printf(&printer, "(C L/R) Area:");
|
||||
GfxPrint_SetColor(&printer, 200, 50, 50, 255);
|
||||
GfxPrint_Printf(&printer, "%s", self.currentAreaIndex == 0 ? "Default" : areas[self.currentAreaIndex - 1].name);
|
||||
}
|
||||
|
||||
GfxPrint_SetPos(&printer, 2, 27);
|
||||
y++;
|
||||
GfxPrint_SetPos(&printer, 2, y);
|
||||
GfxPrint_SetColor(&printer, 100, 100, 100, 255);
|
||||
|
||||
switch (entries[self.currentLevelIndex].levelId) {
|
||||
@@ -462,7 +467,7 @@ Gfx* BetterLevelSelect_DrawMenu(s32 state, struct GraphNode *node, UNUSED void *
|
||||
// break;
|
||||
// }
|
||||
case LEVEL_TTC: {
|
||||
GfxPrint_Printf(&printer, "Speed:");
|
||||
GfxPrint_Printf(&printer, "(Dpad L/R) Speed:");
|
||||
GfxPrint_SetColor(&printer, 55, 200, 50, 255);
|
||||
GfxPrint_Printf(&printer, "%s", ttcSpeeds[self.ttcSpeedIndex]);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user