X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame_em%2Fexport.h;h=45cbd2503908eefb81ed4369089b67bd95f7950a;hp=ae5f9a1b468cd2a922f7ffa42bcf3b4421e776f6;hb=99261bc36a147246e39cdc6d5ce9b098257c4d1b;hpb=855700d73bbef8bb1248fe0ac735738478d6044b diff --git a/src/game_em/export.h b/src/game_em/export.h index ae5f9a1b..45cbd250 100644 --- a/src/game_em/export.h +++ b/src/game_em/export.h @@ -1,13 +1,13 @@ #ifndef EXPORT_H #define EXPORT_H -/* ========================================================================= */ -/* functions and definitions exported from game_em to main program */ -/* ========================================================================= */ +// ============================================================================ +// functions and definitions exported from game_em to main program +// ============================================================================ -/* ------------------------------------------------------------------------- */ -/* constant definitions */ -/* ------------------------------------------------------------------------- */ +// ---------------------------------------------------------------------------- +// constant definitions +// ---------------------------------------------------------------------------- /* define these for backwards compatibility */ #define EM_ENGINE_BAD_ROLL @@ -542,9 +542,9 @@ enum }; -/* ------------------------------------------------------------------------- */ -/* data structure definitions */ -/* ------------------------------------------------------------------------- */ +// ---------------------------------------------------------------------------- +// data structure definitions +// ---------------------------------------------------------------------------- struct LEVEL { @@ -664,6 +664,9 @@ struct GlobalInfo_EM struct GameInfo_EM { + boolean level_solved; + boolean game_over; + boolean any_player_moving; boolean any_player_snapping; @@ -723,9 +726,9 @@ struct EngineSnapshotInfo_EM }; -/* ------------------------------------------------------------------------- */ -/* exported functions */ -/* ------------------------------------------------------------------------- */ +// ---------------------------------------------------------------------------- +// exported functions +// ---------------------------------------------------------------------------- extern struct GlobalInfo_EM global_em_info; extern struct GameInfo_EM game_em; @@ -762,4 +765,4 @@ boolean checkIfAllPlayersFitToScreen(void); void tab_generate(void); void tab_generate_graphics_info_em(void); -#endif /* EXPORT_H */ +#endif // EXPORT_H