X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fgame_em.h;h=84fcfee62b57260c10b0db8ffebaf5abcaa67da8;hb=49c6dea89a293093a952b991594980b469dd835a;hp=725d808c6ded0891a710af261ca191322afc2434;hpb=f2b486caeabc0548dfa744c1569496c087b7420f;p=rocksndiamonds.git diff --git a/src/game_em/game_em.h b/src/game_em/game_em.h index 725d808c..84fcfee6 100644 --- a/src/game_em/game_em.h +++ b/src/game_em/game_em.h @@ -17,39 +17,34 @@ #define GAME_EM_VERSION_1_0_0 -/* ========================================================================= */ -/* functions and definitions imported from main program to game_em */ -/* ========================================================================= */ - -#include "../libgame/libgame.h" - -extern void SetBitmaps_EM(Bitmap **); -extern void UpdateEngineValues(int, int); -extern void DrawGameDoorValues_EM(int, int, int, int); -extern int getGameFrameDelay_EM(int); -extern void PlayLevelSound_EM(int, int, int, int); -extern void InitGraphicsInfoEM(void); - - /* ========================================================================= */ /* functions and definitions exported from game_em to main program */ /* ========================================================================= */ #include "main_em.h" +extern struct GlobalInfo_EM global_em_info; extern struct LevelInfo_EM native_em_level; -extern struct GraphicInfo_EM graphic_info_em[][8]; +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 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 */