mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-10-31 23:55:06 -04:00
Update z_title.c
This commit is contained in:
parent
2108f9fa6c
commit
6d0039e369
@ -18,7 +18,6 @@ const char* GetGameVersionString();
|
|||||||
char* quote;
|
char* quote;
|
||||||
|
|
||||||
void Title_PrintBuildInfo(Gfx** gfxp) {
|
void Title_PrintBuildInfo(Gfx** gfxp) {
|
||||||
if (CVar_GetS32("gShowTitleInfo",0)!=0) {
|
|
||||||
Gfx* g;
|
Gfx* g;
|
||||||
//GfxPrint* printer;
|
//GfxPrint* printer;
|
||||||
GfxPrint printer;
|
GfxPrint printer;
|
||||||
@ -33,11 +32,11 @@ void Title_PrintBuildInfo(Gfx** gfxp) {
|
|||||||
GfxPrint_SetColor(&printer, 255, 155, 255, 255);
|
GfxPrint_SetColor(&printer, 255, 155, 255, 255);
|
||||||
GfxPrint_SetPos(&printer, 12, 20);
|
GfxPrint_SetPos(&printer, 12, 20);
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
GfxPrint_Printf(&printer, "MSVC SHIP");
|
GfxPrint_Printf(&printer, "MSVC SHIP");
|
||||||
#else
|
#else
|
||||||
GfxPrint_Printf(printer, "GCC SHIP");
|
GfxPrint_Printf(printer, "GCC SHIP");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
GfxPrint_SetPos(&printer, 5, 4);
|
GfxPrint_SetPos(&printer, 5, 4);
|
||||||
GfxPrint_Printf(&printer, "Game Version: %s", gameVersionStr);
|
GfxPrint_Printf(&printer, "Game Version: %s", gameVersionStr);
|
||||||
@ -54,7 +53,6 @@ void Title_PrintBuildInfo(Gfx** gfxp) {
|
|||||||
g = GfxPrint_Close(&printer);
|
g = GfxPrint_Close(&printer);
|
||||||
GfxPrint_Destroy(&printer);
|
GfxPrint_Destroy(&printer);
|
||||||
*gfxp = g;
|
*gfxp = g;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* quotes[11] = {
|
const char* quotes[11] = {
|
||||||
@ -237,7 +235,9 @@ void Title_Main(GameState* thisx) {
|
|||||||
Gfx* gfx = POLY_OPA_DISP;
|
Gfx* gfx = POLY_OPA_DISP;
|
||||||
s32 pad;
|
s32 pad;
|
||||||
|
|
||||||
|
if (CVar_GetS32("gShowTitleInfo",0)!=0) {
|
||||||
Title_PrintBuildInfo(&gfx);
|
Title_PrintBuildInfo(&gfx);
|
||||||
|
}
|
||||||
POLY_OPA_DISP = gfx;
|
POLY_OPA_DISP = gfx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user