X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fgame_em.h;h=820d7aa6a7e3ec3ace41fb3a8a7aa87f20b686dc;hb=2d235297197dd0c325184f7fc401d9c5c41c2616;hp=f28005234177a03d32523d132b7be34bd3e48481;hpb=c42862bb754d7a8b1ff476887669650845f7570e;p=rocksndiamonds.git diff --git a/src/game_em/game_em.h b/src/game_em/game_em.h index f2800523..820d7aa6 100644 --- a/src/game_em/game_em.h +++ b/src/game_em/game_em.h @@ -17,28 +17,16 @@ #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 InitGraphicInfo_EM(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[2][SPR_MAX][8]; extern void em_open_all(); extern void em_close_all(); @@ -51,5 +39,8 @@ 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 */