projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added option for magic wall timer of zero for native BD engine
[rocksndiamonds.git]
/
src
/
game.h
diff --git
a/src/game.h
b/src/game.h
index 03dd47ea0058c3cc3c06ee3a98905e616b4a6779..4e86e106d671d3f480f91a4ce7477cb73192954d 100644
(file)
--- a/
src/game.h
+++ b/
src/game.h
@@
-52,7
+52,7
@@
struct GamePanelInfo
{
struct TextPosInfo level_number;
struct TextPosInfo gems;
{
struct TextPosInfo level_number;
struct TextPosInfo gems;
- struct TextPosInfo gems_
total
;
+ struct TextPosInfo gems_
needed
;
struct TextPosInfo gems_collected;
struct TextPosInfo gems_score;
struct TextPosInfo inventory_count;
struct TextPosInfo gems_collected;
struct TextPosInfo gems_score;
struct TextPosInfo inventory_count;
@@
-166,6
+166,7
@@
struct GameInfo
// values for graphics engine customization
int graphics_engine_version;
// values for graphics engine customization
int graphics_engine_version;
+ boolean use_native_bd_graphics_engine;
boolean use_native_emc_graphics_engine;
boolean use_native_sp_graphics_engine;
boolean use_masked_pushing;
boolean use_native_emc_graphics_engine;
boolean use_native_sp_graphics_engine;
boolean use_masked_pushing;
@@
-177,6
+178,9
@@
struct GameInfo
int scroll_delay_value;
int tile_size;
int scroll_delay_value;
int tile_size;
+ // values for sound engine customization
+ boolean use_native_bd_sound_engine;
+
// constant within running game
int engine_version;
int emulation;
// constant within running game
int engine_version;
int emulation;
@@
-444,6
+448,7
@@
void DrawDynamite(int, int);
void StartGameActions(boolean, boolean, int);
void GameActions(void);
void StartGameActions(boolean, boolean, int);
void GameActions(void);
+void GameActions_BD_Main(void);
void GameActions_EM_Main(void);
void GameActions_SP_Main(void);
void GameActions_MM_Main(void);
void GameActions_EM_Main(void);
void GameActions_SP_Main(void);
void GameActions_MM_Main(void);
@@
-467,6
+472,8
@@
void RequestQuitGameExt(boolean, boolean, char *);
void RequestQuitGame(boolean);
boolean CheckRestartGame(void);
void RequestQuitGame(boolean);
boolean CheckRestartGame(void);
+boolean checkGameRunning(void);
+boolean checkGamePlaying(void);
boolean checkGameSolved(void);
boolean checkGameFailed(void);
boolean checkGameEnded(void);
boolean checkGameSolved(void);
boolean checkGameFailed(void);
boolean checkGameEnded(void);