X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=cdee263588f9b3db43f1ce0bf01ab235c08eac49;hb=1db2f63d60082eadc1ef59bb872060edb1c7efb6;hp=4c7a65266ba7cef1ea89fed9e269726b4170113e;hpb=0b35d42d7e09d2f9ac90b57f20ac77df07841e19;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index 4c7a6526..cdee2635 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(); @@ -130,8 +137,9 @@ void DrawAllPlayers(void); void DrawPlayerField(int, int); 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 *); @@ -211,6 +219,9 @@ 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 get_next_element(int); int el_act_dir2img(int, int, int); int el_act2img(int, int); @@ -244,6 +255,8 @@ void PlayMenuSoundIfLoopExt(int); void PlayMenuSoundIfLoop(); void PlayMenuMusicExt(int); void PlayMenuMusic(); +void PlayMenuSoundsAndMusic(); +void FadeMenuSoundsAndMusic(); void PlaySoundActivating(); void PlaySoundSelecting();