Added support for infinity symbol/ 'UNLIMITED' when showing RUs (Nic, fOSSiL)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@556 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -179,6 +179,7 @@ typedef SOLARSYS_STATE *PSOLARSYS_STATE;
|
||||
extern PSOLARSYS_STATE pSolarSysState;
|
||||
|
||||
extern void LoadPlanet (BOOLEAN IsDefined);
|
||||
void DrawPlanet(int x, int y, int dy, unsigned int rgb);
|
||||
extern void FreePlanet (void);
|
||||
|
||||
extern void ExploreSolarSys (void);
|
||||
|
||||
@@ -275,7 +275,10 @@ DrawStatusMessage (UNICODE *pStr)
|
||||
else if (GET_GAME_STATE (CHMMR_BOMB_STATE) < 2)
|
||||
wsprintf (buf, "%lu RU", GLOBAL_SIS (ResUnits));
|
||||
else
|
||||
wstrcpy (buf, "@ RU");
|
||||
if (optWhichMenu == OPT_PC)
|
||||
wstrcpy (buf, "UNLIMITED RU");
|
||||
else
|
||||
wstrcpy (buf, "\x7f RU");
|
||||
pStr = buf;
|
||||
}
|
||||
else if (pStr == 0)
|
||||
|
||||
@@ -261,6 +261,9 @@ extern COUNT GetLBayCapacity (PPOINT ppt);
|
||||
extern COUNT GetSBayCapacity (PPOINT ppt);
|
||||
extern DWORD GetFTankCapacity (PPOINT ppt);
|
||||
extern COUNT CountSISPieces (BYTE piece_type);
|
||||
|
||||
extern BOOLEAN DoMenuChooser (INPUT_STATE InputState, PMENU_STATE pMS,
|
||||
BYTE BaseState);
|
||||
extern void DrawMenuStateStrings (BYTE beg_index, SWORD NewState);
|
||||
extern void DoMenuOptions (void);
|
||||
extern void DrawFlagshipName (BOOLEAN InStatusArea);
|
||||
|
||||
Reference in New Issue
Block a user