Fixed some more
This commit is contained in:
parent
356a6472b4
commit
a4760466fe
|
@ -1306,7 +1306,7 @@ int intermission()
|
|||
shop_init();
|
||||
intermission_setPlanets();
|
||||
|
||||
SDL_Surface *statsSurface = gfx_createAlphaRect(screen->w * 7 / 8, screen->h - 200, 0x00, 0x00, 0x99);
|
||||
SDL_Surface *statsSurface = gfx_createAlphaRect(DEFAULT_SCREEN_WIDTH * 7 / 8, DEFAULT_SCREEN_HEIGHT - 200, 0x00, 0x00, 0x99);
|
||||
SDL_Surface *savesSurface = gfx_createSurface(350, 300);
|
||||
SDL_Surface *optionsSurface = gfx_createSurface(320, 240);
|
||||
SDL_Surface *commsSurface = gfx_createSurface(450, 336);
|
||||
|
|
|
@ -48,7 +48,7 @@ int save_initSlots()
|
|||
char fileName[PATH_MAX];
|
||||
int system;
|
||||
char stationedName[255];
|
||||
int imagePos = screen->h / 3 + 50;
|
||||
int imagePos = 0;
|
||||
Game tempGame;
|
||||
struct stat fileInfo;
|
||||
int modTime = 0;
|
||||
|
@ -90,7 +90,7 @@ int save_initSlots()
|
|||
}
|
||||
|
||||
if (engine.gameSection == SECTION_TITLE)
|
||||
gfx_createTextObject(TS_SAVESLOT_0 + i, saveSlot[i], -1,
|
||||
gfx_createTextObject(TS_SAVESLOT_0 + i, saveSlot[i], 0,
|
||||
imagePos, FONT_WHITE);
|
||||
|
||||
if (stat(fileName, &fileInfo) != -1)
|
||||
|
@ -111,7 +111,7 @@ int save_initSlots()
|
|||
sprintf(saveSlot[i], (i == 0 ? "AUTOSAVE (Empty)" : "Empty"));
|
||||
if (engine.gameSection == SECTION_TITLE)
|
||||
gfx_createTextObject(TS_SAVESLOT_0 + i, saveSlot[i],
|
||||
-1, imagePos, FONT_WHITE);
|
||||
0, imagePos, FONT_WHITE);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -134,7 +134,7 @@ int save_initSlots()
|
|||
}
|
||||
|
||||
if (engine.gameSection == SECTION_TITLE)
|
||||
gfx_createTextObject(TS_SAVESLOT_0 + i, saveSlot[i], -1,
|
||||
gfx_createTextObject(TS_SAVESLOT_0 + i, saveSlot[i], 0,
|
||||
imagePos, FONT_WHITE);
|
||||
|
||||
if (stat(fileName, &fileInfo) != -1)
|
||||
|
|
|
@ -75,11 +75,11 @@ static int showLoadMenu()
|
|||
rtn++;
|
||||
if (gfx_textSprites[i].image != NULL)
|
||||
{
|
||||
screen_blitTextInPlace(i);
|
||||
screen_blitText(i, -1, screen->h / 3 + 50);
|
||||
gfx_textSprites[TS_BACK_TO_MAIN_MENU].y = gfx_textSprites[i].y + 40;
|
||||
}
|
||||
}
|
||||
screen_blitTextInPlace(TS_BACK_TO_MAIN_MENU);
|
||||
screen_blitText(TS_BACK_TO_MAIN_MENU, -1, screen->h / 3 + 50);
|
||||
|
||||
return rtn;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue