Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

palm/simcity.h

Go to the documentation of this file.
00001 
00006 #if !defined(_SIMCITY_H)
00007 #define _SIMCITY_H
00008 
00009 #include <zakdef.h>
00010 
00011 /* global vars from simcity.c */
00012 #define MK4(A,B,C,D)    (((A) << 12) | ((B) << 8) | ((C) << 4) | (D))
00013 #define SGTYP   'PCsg'
00014 #define SGSTRING        "PCsg"
00015 #define TILEDBTYPE 'tidb'
00016 #define TBMP    'Tbmp'
00017 #define TVER    'tver'
00018 #define TSTR    'tSTR'
00019 #define SGNAME  "Pocket City Saves"
00020 
00021 extern MemPtr worldPtr;
00022 
00023 UInt32 GetPositionClicked(void);
00024 /* For the 'dialogs' */
00025 void PauseGame(void);
00026 void ResumeGame(void);
00027 UInt16 IsGamePlaying(void);
00028 /*
00029  * For the 'is there a game in progress'.
00030  * Faffing around with save games causes games to not be in progress.
00031  * Needed as separate concept from the Pause / Resume for autosave purposes.
00032  */
00033 void SetGameInProgress(void);
00034 void SetGameNotInProgress(void);
00035 UInt16 IsGameInProgress(void);
00036 
00037 void Clear35ROM(void);
00038 void Set35ROM(void);
00039 UInt16 Is35ROM(void);
00040 
00041 void Clear40ROM(void);
00042 void Set40ROM(void);
00043 UInt16 Is40ROM(void);
00044 
00045 void ClearScaleModes(void);
00046 void SetScaleModes(void);
00047 UInt16 IsScaleModes(void);
00048 
00049 void clearProblemFlags(void);
00050 void ResGetString(UInt16 index, char *string, UInt16 length);
00051 
00052 #endif

Generated on Mon Aug 30 19:44:16 2004 for pocketcity by doxygen1.2.18