From 9b286789ce0323c41a6d1079d1bec71532182d62 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Wed, 20 Nov 2002 02:12:18 +0000 Subject: [PATCH] Fixed position of images for saving and loading. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@215 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/gameopt.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sc2/src/sc2code/gameopt.c b/sc2/src/sc2code/gameopt.c index 93f25a9bd..e8cf68538 100644 --- a/sc2/src/sc2code/gameopt.c +++ b/sc2/src/sc2code/gameopt.c @@ -699,6 +699,7 @@ ShowSummary (SUMMARY_DESC *pSD) if (pSD->year_index == 0) { + // Unused save slot, draw 'Empty Game' message. s.origin.x = s.origin.y = 0; s.frame = SetAbsFrameIndex (pLocMenuState->ModuleFrame, GetFrameCount (pLocMenuState->ModuleFrame) - 4); @@ -712,6 +713,7 @@ ShowSummary (SUMMARY_DESC *pSD) } else { + // Game slot used, draw information about save game. BYTE i; RECT OldRect; TEXT t; @@ -726,7 +728,9 @@ ShowSummary (SUMMARY_DESC *pSD) OldContext = SetContext (StatusContext); GetContextClipRect (&OldRect); - r.corner.x = SIS_ORG_X + ((SIS_SCREEN_WIDTH - STATUS_WIDTH) >> 1); + r.corner.x = SIS_ORG_X + ((SIS_SCREEN_WIDTH - STATUS_WIDTH) >> 1) + + SAFE_X - 16; +// r.corner.x = SIS_ORG_X + ((SIS_SCREEN_WIDTH - STATUS_WIDTH) >> 1); r.corner.y = SIS_ORG_Y; r.extent.width = STATUS_WIDTH; r.extent.height = STATUS_HEIGHT;