X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Fexport.h;h=cd1804dd1523bc7b8a58cd100def884f91333158;hb=92ae204856b3b41863f4244dd75cc5c7268f034d;hp=787bb45b9d7a1bfda4e2b07b505812c257675ae7;hpb=c40a5c6109e586ce4049ca0900e5fb9c9ac60fb7;p=rocksndiamonds.git diff --git a/src/game_sp/export.h b/src/game_sp/export.h index 787bb45b..cd1804dd 100644 --- a/src/game_sp/export.h +++ b/src/game_sp/export.h @@ -85,10 +85,6 @@ typedef struct #define HAS_LevelInfoType #endif -struct GlobalInfo_SP -{ -}; - struct GameInfo_SP { boolean level_solved; @@ -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);