projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed tile cursor drawing position
[rocksndiamonds.git]
/
src
/
game_mm
/
export.h
diff --git
a/src/game_mm/export.h
b/src/game_mm/export.h
index 7f31d68cdb2eeb741e6b8b06d5c166049997a12e..1d063969510dadd2c37382dd25e1875d9ef50b76 100644
(file)
--- a/
src/game_mm/export.h
+++ b/
src/game_mm/export.h
@@
-42,6
+42,9
@@
#define EL_MM_START_2_NATIVE 240
#define EL_MM_END_2_NATIVE 430
#define EL_MM_START_2_NATIVE 240
#define EL_MM_END_2_NATIVE 430
+#define EL_MM_START_3_NATIVE 431
+#define EL_MM_END_3_NATIVE 450
+
#define EL_MM_RUNTIME_START_NATIVE 500
#define EL_MM_RUNTIME_END_NATIVE 504
#define EL_MM_RUNTIME_START_NATIVE 500
#define EL_MM_RUNTIME_END_NATIVE 504
@@
-143,9
+146,11
@@
struct GameInfo_MM
int ball_choice_pos; // current content element choice position
boolean laser_red, laser_green, laser_blue;
int ball_choice_pos; // current content element choice position
boolean laser_red, laser_green, laser_blue;
+ boolean has_mcduffin;
boolean level_solved;
boolean game_over;
int game_over_cause;
boolean level_solved;
boolean game_over;
int game_over_cause;
+ char *game_over_message;
boolean cheat_no_overload;
boolean cheat_no_explosion;
boolean cheat_no_overload;
boolean cheat_no_explosion;
@@
-180,6
+185,7
@@
struct LevelInfo_MM
int ball_choice_mode;
int ball_content[MM_MAX_BALL_CONTENTS];
boolean rotate_ball_content;
int ball_choice_mode;
int ball_content[MM_MAX_BALL_CONTENTS];
boolean rotate_ball_content;
+ boolean explode_ball;
short field[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT];
};
short field[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT];
};
@@
-195,8
+201,10
@@
struct EngineSnapshotInfo_MM
short Box[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT];
short Angle[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT];
short Box[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT];
short Angle[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT];
- short LX,LY, XS,YS, ELX,ELY;
- short CT,Ct;
+ short LX, LY;
+ short XS, YS;
+ short ELX, ELY;
+ short CT, Ct;
int last_LX, last_LY, last_hit_mask;
int hold_x, hold_y;
int last_LX, last_LY, last_hit_mask;
int hold_x, hold_y;
@@
-230,7
+238,7
@@
void InitGameActions_MM(void);
void GameActions_MM(struct MouseActionInfo);
void DrawLaser_MM(void);
void GameActions_MM(struct MouseActionInfo);
void DrawLaser_MM(void);
-void DrawTileCursor_MM(int, boolean);
+void DrawTileCursor_MM(int,
int,
boolean);
boolean ClickElement(int, int, int);
boolean ClickElement(int, int, int);
@@
-244,6
+252,10
@@
void SaveNativeLevel_MM(char *);
int getFieldbufferOffsetX_MM(void);
int getFieldbufferOffsetY_MM(void);
int getFieldbufferOffsetX_MM(void);
int getFieldbufferOffsetY_MM(void);
+int getFlippedTileX_MM(int);
+int getFlippedTileY_MM(int);
+int getFlippedTileXY_MM(int);
+
void BlitScreenToBitmap_MM(Bitmap *);
void RedrawPlayfield_MM(void);
void BlitScreenToBitmap_MM(Bitmap *);
void RedrawPlayfield_MM(void);