00001 // Copyright 2002 Kenneth Guy, 00002 // 00003 // You are free to take the source and do as you wish with it. 00004 // However it would be nice if you let me know if the code was useful 00005 // to you and give me an acknowledgement if you use a significant portion 00006 // of the code in an application. 00007 // 00008 // TGameData.h 00009 00010 #ifndef _TGAMEDATA_H_ 00011 #define _TGAMEDATA_H_ 00012 00017 #include <e32std.h> 00018 #include "TLevelData.h" 00019 00026 class TGameData { 00027 public: 00030 enum TGameKey { 00031 ELeft = 0x00000001, 00032 ERight = 0x00000002, 00033 EUp = 0x00000004, 00034 EDown = 0x00000008, 00035 EAction1 = 0x00000010, 00036 EAction2 = 0x00000020, 00037 EAction3 = 0x00000040, 00038 EAction4 = 0x00000080, 00039 EQuit = 0x20000000 00040 }; 00041 00042 TUint32 iKeys; 00047 TUint32 iScore; 00048 TUint32 iLives; 00049 TBool iForceRedraw; 00051 TBool iLevelCompleted; 00056 TLevelData iLevel; 00057 }; 00058 00059 00060 #endif