projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed element mapping for native EM levels (final cave elements)
[rocksndiamonds.git]
/
src
/
tools.h
diff --git
a/src/tools.h
b/src/tools.h
index a9aedb2369defc58adbee8a7b97a5e4ad27c5899..937e27d38bd08e96a829d29a35fef17e7a38f83e 100644
(file)
--- a/
src/tools.h
+++ b/
src/tools.h
@@
-66,6
+66,9
@@
#define REQUEST_WAIT_FOR_INPUT (REQ_ASK | REQ_CONFIRM | REQ_PLAYER)
#define REQUEST_WAIT_FOR_INPUT (REQ_ASK | REQ_CONFIRM | REQ_PLAYER)
+int getFieldbufferOffsetX_RND(int, int);
+int getFieldbufferOffsetY_RND(int, int);
+
int correctLevelPosX_EM(int);
int correctLevelPosY_EM(int);
int correctLevelPosX_EM(int);
int correctLevelPosY_EM(int);
@@
-86,6
+89,7
@@
void DrawTileCursor(int);
void SetDrawtoField(int);
void RedrawPlayfield(void);
void SetDrawtoField(int);
void RedrawPlayfield(void);
+void BlitScreenToBitmapExt_RND(Bitmap *, int, int);
void BlitScreenToBitmap_RND(Bitmap *);
void BlitScreenToBitmap(Bitmap *);
void BackToFront(void);
void BlitScreenToBitmap_RND(Bitmap *);
void BlitScreenToBitmap(Bitmap *);
void BackToFront(void);
@@
-194,6
+198,7
@@
void ShowEnvelopeDoor(char *text, int);
void DrawLevel(int);
void DrawSizedLevel(int, int, int, int, int);
void DrawMiniLevel(int, int, int, int);
void DrawLevel(int);
void DrawSizedLevel(int, int, int, int, int);
void DrawMiniLevel(int, int, int, int);
+void DrawPreviewPlayers(void);
void DrawPreviewLevelInitial(void);
void DrawPreviewLevelAnimation(void);
void DrawPreviewLevelInitial(void);
void DrawPreviewLevelAnimation(void);
@@
-216,8
+221,9
@@
void UndrawSpecialEditorDoor(void);
void CreateToolButtons(void);
void FreeToolButtons(void);
void CreateToolButtons(void);
void FreeToolButtons(void);
-int map_element_RND_to_EM(int);
-int map_element_EM_to_RND(int);
+int map_element_RND_to_EM_cave(int);
+int map_element_EM_to_RND_cave(int);
+int map_element_EM_to_RND_game(int);
int map_direction_RND_to_EM(int);
int map_direction_EM_to_RND(int);
int map_direction_RND_to_EM(int);
int map_direction_EM_to_RND(int);
@@
-283,7
+289,7
@@
void SetLevelSetInfo(char *, int);
void ToggleFullscreenOrChangeWindowScalingIfNeeded(void);
void ChangeViewportPropertiesIfNeeded(void);
void ToggleFullscreenOrChangeWindowScalingIfNeeded(void);
void ChangeViewportPropertiesIfNeeded(void);
-boolean CheckIf
PlayfieldViewportHas
Changed(void);
+boolean CheckIf
AllViewportsHave
Changed(void);
boolean CheckFadeAll(void);
#endif // TOOLS_H
boolean CheckFadeAll(void);
#endif // TOOLS_H