projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20100303-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
export.h
diff --git
a/src/game_sp/export.h
b/src/game_sp/export.h
index bfeab9dd4973bfdee398ddfa100044dbe47b5c19..8abe983b6864621a7df930019b24b338eeb8bc5a 100644
(file)
--- a/
src/game_sp/export.h
+++ b/
src/game_sp/export.h
@@
-90,6
+90,12
@@
struct GameInfo_SP
boolean LevelSolved;
boolean GameOver;
boolean LevelSolved;
boolean GameOver;
+ /* needed for updating panel */
+ int time_played;
+ int infotrons_still_needed;
+ int red_disk_count;
+ int score;
+
/* needed for engine snapshots */
int preceding_buffer_size;
};
/* needed for engine snapshots */
int preceding_buffer_size;
};
@@
-114,6
+120,9
@@
struct LevelInfo_SP
byte playfield[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT];
struct DemoInfo_SP demo;
byte playfield[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT];
struct DemoInfo_SP demo;
+
+ /* used for runtime values */
+ struct GameInfo_SP *game_sp;
};
struct GraphicInfo_SP
};
struct GraphicInfo_SP