X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fengines.h;h=34838d5a215b00dcd83fdb8c2a1b40c16bfa31f6;hb=767b12942c5c43449b74e647cd113535d74cfd24;hp=1120dd884fd2ab28713e7ff7a8cd09354b19a54f;hpb=855700d73bbef8bb1248fe0ac735738478d6044b;p=rocksndiamonds.git diff --git a/src/engines.h b/src/engines.h index 1120dd88..34838d5a 100644 --- a/src/engines.h +++ b/src/engines.h @@ -4,7 +4,7 @@ // (c) 1995-2014 by Artsoft Entertainment // Holger Schemel // info@artsoft.org -// http://www.artsoft.org/ +// https://www.artsoft.org/ // ---------------------------------------------------------------------------- // engines.h // ============================================================================ @@ -21,28 +21,28 @@ #include "game.h" -/* ========================================================================= */ -/* functions and definitions exported from main program to game_em */ -/* ========================================================================= */ +// ============================================================================ +// functions and definitions exported from main program to game_em +// ============================================================================ -void SetBitmaps_EM(Bitmap **); void UpdateEngineValues(int, int, int, int); +boolean swapTiles_EM(boolean); boolean getTeamMode_EM(void); -int getGameFrameDelay_EM(int); +boolean isActivePlayer_EM(int); void PlayLevelSound_EM(int, int, int, int); void InitGraphicInfo_EM(void); -void CheckSingleStepMode_EM(byte action[], int, boolean, boolean, boolean); +boolean CheckSingleStepMode_EM(byte action[], int, boolean, boolean, boolean); void SetGfxAnimation_EM(struct GraphicInfo_EM *, int, int, int, int); void getGraphicSourceObjectExt_EM(struct GraphicInfo_EM *, int, int, int, int); void getGraphicSourcePlayerExt_EM(struct GraphicInfo_EM *, int, int, int); -/* ========================================================================= */ -/* functions and definitions exported from main program to game_sp */ -/* ========================================================================= */ +// ============================================================================ +// functions and definitions exported from main program to game_sp +// ============================================================================ void CheckSingleStepMode_SP(boolean, boolean); @@ -51,9 +51,9 @@ int getGraphicInfo_Delay(int); boolean isNextAnimationFrame_SP(int, int); -/* ========================================================================= */ -/* functions and definitions exported from main program to game_mm */ -/* ========================================================================= */ +// ============================================================================ +// functions and definitions exported from main program to game_mm +// ============================================================================ void SetDrawtoField(int); @@ -61,9 +61,10 @@ int el2img_mm(int); void CheckSingleStepMode_MM(boolean, boolean); +int getGraphicAnimationFrame(int, int); void getGraphicSource(int, int, Bitmap **, int *, int *); void getMiniGraphicSource(int, Bitmap **, int *, int *); void getSizedGraphicSource(int, int, int, Bitmap **, int *, int *); -#endif /* ENGINES_H */ +#endif // ENGINES_H