X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=7af465eb5461c1b861ab443b68d416614d3c632a;hb=a601eb5bd800d544e8a5154a7b4d2457d020cd3f;hp=7ed5f1b16f168bbacb93a54e70ee5239b30292b1;hpb=286af1c35b6ae49f090b35e8314284438cad46a0;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index 7ed5f1b1..7af465eb 100644 --- a/src/tools.h +++ b/src/tools.h @@ -65,7 +65,14 @@ #define REQUEST_WAIT_FOR_INPUT (REQ_ASK | REQ_CONFIRM | REQ_PLAYER) +int correctLevelPosX_EM(int); +int correctLevelPosY_EM(int); + +int getLevelFromScreenX(int); +int getLevelFromScreenY(int); + void DumpTile(int, int); +void DumpTileFromScreen(int, int); void DrawMaskedBorder_FIELD(); void DrawMaskedBorder_DOOR_1(); @@ -133,7 +140,6 @@ void DrawPlayer(struct PlayerInfo *); void getGraphicSourceBitmap(int, int, Bitmap **); void getGraphicSourceXY(int, int, int *, int *, boolean); void getSizedGraphicSourceExt(int, int, int, Bitmap **, int *, int *, boolean); -void getFixedGraphicSourceExt(int, int, Bitmap **, int *, int *, boolean); void getSizedGraphicSource(int, int, int, Bitmap **, int *, int *); void getFixedGraphicSource(int, int, Bitmap **, int *, int *); void getMiniGraphicSource(int, Bitmap **, int *, int *); @@ -213,6 +219,10 @@ int map_element_RND_to_SP(int); int map_element_SP_to_RND(int); int map_action_SP_to_RND(int); +int map_element_RND_to_MM(int); +int map_element_MM_to_RND(int); +int map_mm_wall_element(int); + int get_next_element(int); int el_act_dir2img(int, int, int); int el_act2img(int, int); @@ -246,6 +256,8 @@ void PlayMenuSoundIfLoopExt(int); void PlayMenuSoundIfLoop(); void PlayMenuMusicExt(int); void PlayMenuMusic(); +void PlayMenuSoundsAndMusic(); +void FadeMenuSoundsAndMusic(); void PlaySoundActivating(); void PlaySoundSelecting();