X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fgame_em.h;h=725d808c6ded0891a710af261ca191322afc2434;hb=f2b486caeabc0548dfa744c1569496c087b7420f;hp=08854a1298a84c257908d8752dd2bed4b2304176;hpb=cee436b68cda95e13abc810235a11ce94bc79c95;p=rocksndiamonds.git diff --git a/src/game_em/game_em.h b/src/game_em/game_em.h index 08854a12..725d808c 100644 --- a/src/game_em/game_em.h +++ b/src/game_em/game_em.h @@ -16,10 +16,40 @@ #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 LevelInfo_EM native_em_level; +extern struct GraphicInfo_EM graphic_info_em[][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 *); + -#endif /* GAME_EM_H */ +#endif /* GAME_EM_H */