summaryrefslogtreecommitdiff
path: root/include/game.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-15 17:48:38 +0200
committerTreeki <treeki@gmail.com>2012-09-15 17:48:38 +0200
commit69b2b83ac585121b6cc37ff8fdcddf9ebd5cd5ce (patch)
tree42d5f230af7150d7ab1f3e283eba2e10ea7904ca /include/game.h
parenta16adae746a5d4814a781f583d18dd79d3e7d43b (diff)
downloadkamek-69b2b83ac585121b6cc37ff8fdcddf9ebd5cd5ce.tar.gz
kamek-69b2b83ac585121b6cc37ff8fdcddf9ebd5cd5ce.zip
initial version of file select
Diffstat (limited to '')
-rwxr-xr-xinclude/game.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/include/game.h b/include/game.h
index f3b14c3..29bb6d6 100755
--- a/include/game.h
+++ b/include/game.h
@@ -137,10 +137,21 @@ public:
u8 worlds_available[10]; // 0x32
u32 ambush_countdown[10]; // 0x3C
u16 field_64; // 0x64
- u16 credits_hiscore; // 0x66
+ union {
+ u16 credits_hiscore; // 0x66
+ u16 spentStarCoins;
+ };
u16 score; // 0x68
u32 completions[10][0x2A]; // 0x6C
- u8 hint_movie_bought[70]; // 0x6FC
+ union {
+ u8 hint_movie_bought[70]; // 0x6FC
+
+ struct {
+ // ALL Newer additions should go here
+ // This array has been verified as safe to replace
+ u8 currentNewerWorld; // 0x6FC
+ };
+ };
u8 toad_location[10]; // 0x742
u8 field_74C[10][4]; // 0x74C
u8 field_774[10][4]; // 0x774
@@ -2590,7 +2601,7 @@ namespace m2d {
class AnmResHandler_c {
public:
AnmResHandler_c();
- ~AnmResHandler_c();
+ virtual ~AnmResHandler_c();
struct Thing {
nw4r::lyt::Group *group;
@@ -3057,6 +3068,7 @@ namespace mHeap {
void WriteNumberToTextBox(int *number, const int *fieldLength, nw4r::lyt::TextBox *textBox, bool unk); // 800B3B60
+#include "newer.h"
#endif