projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed stopping game music after running out of time (MM engine)
[rocksndiamonds.git]
/
src
/
game_mm
/
export.h
diff --git
a/src/game_mm/export.h
b/src/game_mm/export.h
index a46f89d5ee757bd79f36b4d000f2fe3ef98cfbe7..f48cd4738eb8d28d20c51455eccb2c14d7088da0 100644
(file)
--- a/
src/game_mm/export.h
+++ b/
src/game_mm/export.h
@@
-50,6
+50,10
@@
#define EL_MM_EMPTY_NATIVE 0
#define EL_DF_EMPTY_NATIVE 304
#define EL_MM_EMPTY_NATIVE 0
#define EL_DF_EMPTY_NATIVE 304
+/* sounds */
+#define SND_MM_GAME_LEVELTIME_CHARGING 0
+#define SND_MM_GAME_HEALTH_CHARGING 1
+
/* ------------------------------------------------------------------------- */
/* data structure definitions */
/* ------------------------------------------------------------------------- */
/* data structure definitions */
@@
-147,6
+151,7
@@
struct GameInfo_MM
boolean cheat_no_explosion;
int laser_overload_value;
boolean cheat_no_explosion;
int laser_overload_value;
+ boolean laser_enabled;
};
struct LevelInfo_MM
};
struct LevelInfo_MM
@@
-166,6
+171,9
@@
struct LevelInfo_MM
int score[MM_LEVEL_SCORE_ELEMENTS];
int amoeba_speed;
int time_fuse;
int score[MM_LEVEL_SCORE_ELEMENTS];
int amoeba_speed;
int time_fuse;
+ int time_bomb;
+ int time_ball;
+ int time_block;
short field[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT];
};
short field[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT];
};
@@
-202,6
+210,8
@@
extern void InitGameEngine_MM();
extern void InitGameActions_MM();
extern void GameActions_MM(struct MouseActionInfo, boolean);
extern void InitGameActions_MM();
extern void GameActions_MM(struct MouseActionInfo, boolean);
+extern void DrawLaser_MM();
+
extern void ClickElement(int, int, int);
extern unsigned int InitEngineRandom_MM(int);
extern void ClickElement(int, int, int);
extern unsigned int InitEngineRandom_MM(int);