X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Fexport.h;h=cd1804dd1523bc7b8a58cd100def884f91333158;hb=92ae204856b3b41863f4244dd75cc5c7268f034d;hp=1ac2d311d4b40cbd6ab90ea0b4b4d47e3f00ba61;hpb=64e7c54dce6ea8c063f04198c64c5057d751c928;p=rocksndiamonds.git diff --git a/src/game_sp/export.h b/src/game_sp/export.h index 1ac2d311..cd1804dd 100644 --- a/src/game_sp/export.h +++ b/src/game_sp/export.h @@ -85,14 +85,10 @@ typedef struct #define HAS_LevelInfoType #endif -struct GlobalInfo_SP -{ -}; - struct GameInfo_SP { - boolean LevelSolved; - boolean GameOver; + boolean level_solved; + boolean game_over; // needed for updating panel int time_played; @@ -127,9 +123,6 @@ struct LevelInfo_SP byte playfield[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT]; struct DemoInfo_SP demo; - - // used for runtime values - struct GameInfo_SP *game_sp; }; struct GraphicInfo_SP @@ -168,11 +161,8 @@ struct EngineSnapshotInfo_SP // exported functions // ---------------------------------------------------------------------------- -extern struct GlobalInfo_SP global_sp_info; extern struct GameInfo_SP game_sp; extern struct LevelInfo_SP native_sp_level; -extern struct GraphicInfo_SP graphic_info_sp_object[TILE_MAX][8]; -extern struct GraphicInfo_SP graphic_info_sp_player[MAX_PLAYERS][SPR_MAX][8]; extern struct EngineSnapshotInfo_SP engine_snapshot_sp; void sp_open_all(void); @@ -182,7 +172,7 @@ void InitPrecedingPlayfieldMemory(void); void InitGfxBuffers_SP(void); void InitGameEngine_SP(void); -void GameActions_SP(byte *, boolean); +void GameActions_SP(byte[MAX_PLAYERS]); unsigned int InitEngineRandom_SP(int);