X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_mm%2Fexport.h;h=f69946245731da069b9024720821c2a837b4c9e2;hb=c2575609f053eab9617b11f2150e308904cab339;hp=21e20cdc8462f0f441ff853b3eef39622fc8f221;hpb=a30a27ce6c313e56cc92dc7183d599f63f8ca1f2;p=rocksndiamonds.git diff --git a/src/game_mm/export.h b/src/game_mm/export.h index 21e20cdc..f6994624 100644 --- a/src/game_mm/export.h +++ b/src/game_mm/export.h @@ -43,9 +43,6 @@ #define EL_MM_RUNTIME_START_NATIVE 500 #define EL_MM_RUNTIME_END_NATIVE 504 -#define EL_MM_DUMMY_START_NATIVE 700 -#define EL_MM_DUMMY_END_NATIVE 709 - // elements to be specially mapped #define EL_MM_EMPTY_NATIVE 0 #define EL_DF_EMPTY_NATIVE 304 @@ -115,6 +112,9 @@ struct LaserInfo int fuse_x, fuse_y; int dest_element; + int dest_element_last; + int dest_element_last_x; + int dest_element_last_y; boolean stops_inside_element; boolean redraw; @@ -184,7 +184,6 @@ struct EngineSnapshotInfo_MM short Hit[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT]; short Box[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT]; short Angle[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT]; - short Frame[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT]; short LX,LY, XS,YS, ELX,ELY; short CT,Ct; @@ -218,7 +217,7 @@ void InitGfxBuffers_MM(void); void InitGameEngine_MM(void); void InitGameActions_MM(void); -void GameActions_MM(struct MouseActionInfo, boolean); +void GameActions_MM(struct MouseActionInfo); void DrawLaser_MM(void); void DrawTileCursor_MM(int, boolean); @@ -239,7 +238,7 @@ void BlitScreenToBitmap_MM(Bitmap *); void RedrawPlayfield_MM(void); void LoadEngineSnapshotValues_MM(void); -void SaveEngineSnapshotValues_MM(ListNode **); +void SaveEngineSnapshotValues_MM(void); int getButtonFromTouchPosition(int, int, int, int);