X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fgame_em.h;h=820d7aa6a7e3ec3ace41fb3a8a7aa87f20b686dc;hb=e5a0a3097d6a6c3afea01b3deeee9b206982ec1d;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..820d7aa6 100644 --- a/src/game_em/game_em.h +++ b/src/game_em/game_em.h @@ -18,23 +18,29 @@ /* ========================================================================= */ -/* 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[2][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(); +extern void GameActions_EM(byte); + +extern unsigned int InitEngineRND_EM(long); + +extern void setLevelInfoToDefaults_EM(); +extern boolean LoadNativeLevel_EM(char *); +extern void BlitScreenToBitmap_EM(Bitmap *); +extern void RedrawPlayfield_EM(); +extern void DrawGameDoorValues_EM(); -#endif /* GAME_EM_H */ +#endif /* GAME_EM_H */