projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20091024-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
export.h
diff --git
a/src/game_sp/export.h
b/src/game_sp/export.h
index 552e2ecb14a303618088f650666be38f6ec4eb14..4438990fde5cd979b4fb9c66cf1b8b01ee844b4a 100644
(file)
--- a/
src/game_sp/export.h
+++ b/
src/game_sp/export.h
@@
-84,18
+84,25
@@
struct GameInfo_SP
boolean GameOver;
};
boolean GameOver;
};
+struct DemoInfo_SP
+{
+ boolean is_available; /* structure contains valid demo */
+
+ int level_nr; /* number of corresponding level */
+
+ int length; /* number of demo entries */
+ byte data[SP_MAX_TAPE_LEN]; /* array of demo entries */
+};
+
struct LevelInfo_SP
{
LevelInfoType header;
struct LevelInfo_SP
{
LevelInfoType header;
- byte playfield[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT];
-
int width, height;
int width, height;
- b
oolean demo_available
;
+ b
yte playfield[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT]
;
- byte demo[SP_MAX_TAPE_LEN];
- int demo_length;
+ struct DemoInfo_SP demo;
};
struct GraphicInfo_SP
};
struct GraphicInfo_SP
@@
-153,4
+160,7
@@
extern void DrawGameDoorValues_SP();
extern void LoadEngineSnapshotValues_SP();
extern void SaveEngineSnapshotValues_SP();
extern void LoadEngineSnapshotValues_SP();
extern void SaveEngineSnapshotValues_SP();
+extern int map_key_RND_to_SP(int);
+extern int map_key_SP_to_RND(int);
+
#endif /* GAME_SP_EXPORT_H */
#endif /* GAME_SP_EXPORT_H */