Normalize legacy/modern save display.
Also clean up some detritus from the initial implementation.
This commit is contained in:
@@ -1831,7 +1831,7 @@ Empty Slot
|
|||||||
|
|
||||||
|
|
||||||
#(Saved Game - Date:)
|
#(Saved Game - Date:)
|
||||||
Saved Game - Date:
|
Saved Game
|
||||||
|
|
||||||
|
|
||||||
#(Sound) -- OPTION_STRING_BASE
|
#(Sound) -- OPTION_STRING_BASE
|
||||||
|
|||||||
@@ -34,7 +34,6 @@
|
|||||||
#include "sounds.h"
|
#include "sounds.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "libs/graphics/gfx_common.h"
|
#include "libs/graphics/gfx_common.h"
|
||||||
#include "libs/log.h"
|
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
@@ -994,10 +993,7 @@ DrawGameSelection (PICK_GAME_STATE *pickState, COUNT selSlot)
|
|||||||
{
|
{
|
||||||
DateToString (buf2, sizeof buf2, desc->month_index,
|
DateToString (buf2, sizeof buf2, desc->month_index,
|
||||||
desc->day_index, desc->year_index);
|
desc->day_index, desc->year_index);
|
||||||
if (desc->SaveName[0])
|
snprintf (buf, sizeof buf, "%s: %s", buf2, desc->SaveName[0] ? desc->SaveName : GAME_STRING (SAVEGAME_STRING_BASE + 4));
|
||||||
snprintf (buf, sizeof buf, "%s: %s", buf2, desc->SaveName);
|
|
||||||
else
|
|
||||||
snprintf (buf, sizeof buf, "%s", buf2);
|
|
||||||
}
|
}
|
||||||
font_DrawText (&t);
|
font_DrawText (&t);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -483,7 +483,6 @@ SaveStarDesc (const STAR_DESC *SDPtr, DECODE_REF fh)
|
|||||||
static void
|
static void
|
||||||
PrepareSummary (SUMMARY_DESC *SummPtr, const char *name)
|
PrepareSummary (SUMMARY_DESC *SummPtr, const char *name)
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
SummPtr->SS = GlobData.SIS_state;
|
SummPtr->SS = GlobData.SIS_state;
|
||||||
|
|
||||||
SummPtr->Activity = LOBYTE (GLOBAL (CurrentActivity));
|
SummPtr->Activity = LOBYTE (GLOBAL (CurrentActivity));
|
||||||
|
|||||||
Reference in New Issue
Block a user