projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added source files for MM engine to Android Makefile
[rocksndiamonds.git]
/
src
/
game_mm
/
export.h
diff --git
a/src/game_mm/export.h
b/src/game_mm/export.h
index ba805a2a47b5553cfcfbcb43fd8007b16e722e4b..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];
};
@@
-200,7
+208,9
@@
extern void InitGfxBuffers_MM();
extern void InitGameEngine_MM();
extern void InitGameActions_MM();
extern void InitGameEngine_MM();
extern void InitGameActions_MM();
-extern void GameActions_MM(byte *, boolean);
+extern void GameActions_MM(struct MouseActionInfo, boolean);
+
+extern void DrawLaser_MM();
extern void ClickElement(int, int, int);
extern void ClickElement(int, int, int);