X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Fexport.h;h=d8b964fd102f5ebcc3211162921db581906dc56f;hb=d8edd05c7bc6f88a893fc52e3dd7008cf6e866c5;hp=1ac2d311d4b40cbd6ab90ea0b4b4d47e3f00ba61;hpb=64e7c54dce6ea8c063f04198c64c5057d751c928;p=rocksndiamonds.git diff --git a/src/game_sp/export.h b/src/game_sp/export.h index 1ac2d311..d8b964fd 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);