X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fgame_em.h;h=84fcfee62b57260c10b0db8ffebaf5abcaa67da8;hb=d9b86b7b2ebe0b2be3926656c3bbdcd060ee5811;hp=215df8e62ec33cd7276d33340ee926e79c926c5a;hpb=4a8314a1bba69c0ca6ea33bd11d7e4cf9aa0f65d;p=rocksndiamonds.git diff --git a/src/game_em/game_em.h b/src/game_em/game_em.h index 215df8e6..84fcfee6 100644 --- a/src/game_em/game_em.h +++ b/src/game_em/game_em.h @@ -18,23 +18,33 @@ /* ========================================================================= */ -/* functions exported from main program to game_em */ +/* functions and definitions exported from game_em to main program */ /* ========================================================================= */ -#include "../libgame/libgame.h" +#include "main_em.h" -extern void DrawGameDoorValues_EM(int, int, int, int); - - -/* ========================================================================= */ -/* functions exported from game_em to main program */ -/* ========================================================================= */ +extern struct GlobalInfo_EM global_em_info; +extern struct LevelInfo_EM native_em_level; +extern struct GraphicInfo_EM graphic_info_em_object[TILE_MAX][8]; +extern struct GraphicInfo_EM graphic_info_em_player[MAX_PLAYERS][SPR_MAX][8]; extern void em_open_all(); extern void em_close_all(); -extern int em_main_init_game(int, char *); -extern int em_main_handle_game(byte); +extern void InitGameEngine_EM(); +#if 1 +extern void GameActions_EM(byte *); +#else +extern void GameActions_EM(byte); +#endif + +extern unsigned int InitEngineRND_EM(long); + +extern void setLevelInfoToDefaults_EM(); +extern boolean LoadNativeLevel_EM(char *); +extern void BlitScreenToBitmap_EM(Bitmap *); +extern void RedrawPlayfield_EM(boolean); +extern void DrawGameDoorValues_EM(); -#endif /* GAME_EM_H */ +#endif /* GAME_EM_H */