projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved global random variable for EM engine to game structure
[rocksndiamonds.git]
/
src
/
game_em
/
export.h
diff --git
a/src/game_em/export.h
b/src/game_em/export.h
index 3089d48f3f5e3e3c3b9051e00121434a5bcfa2d5..66dd13347f4e3a9c3318d51858bdd48baddc3e5f 100644
(file)
--- a/
src/game_em/export.h
+++ b/
src/game_em/export.h
@@
-28,6
+28,8
@@
struct GlobalInfo_EM
struct GameInfo_EM
{
struct GameInfo_EM
{
+ unsigned int random;
+
boolean level_solved;
boolean game_over;
boolean level_solved;
boolean game_over;
@@
-73,12
+75,12
@@
struct GraphicInfo_EM
struct EngineSnapshotInfo_EM
{
struct GameInfo_EM game_em;
struct EngineSnapshotInfo_EM
{
struct GameInfo_EM game_em;
- unsigned int RandomEM;
struct LOGIC lev;
struct PLAYER ply[MAX_PLAYERS];
struct LOGIC lev;
struct PLAYER ply[MAX_PLAYERS];
+
+ int frame;
int screen_x;
int screen_y;
int screen_x;
int screen_y;
- int frame;
};
};