projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added "last played level sets" sub-menu to level set selection screen
[rocksndiamonds.git]
/
src
/
tools.h
diff --git
a/src/tools.h
b/src/tools.h
index 5243401b18fd328792eefae88ebddd1e575a1e41..4dffbbd1ba1902a293345fc89c419bdcbdcaeb9e 100644
(file)
--- a/
src/tools.h
+++ b/
src/tools.h
@@
-4,7
+4,7
@@
// (c) 1995-2014 by Artsoft Entertainment
// Holger Schemel
// info@artsoft.org
// (c) 1995-2014 by Artsoft Entertainment
// Holger Schemel
// info@artsoft.org
-// http://www.artsoft.org/
+// http
s
://www.artsoft.org/
// ----------------------------------------------------------------------------
// tools.h
// ============================================================================
// ----------------------------------------------------------------------------
// tools.h
// ============================================================================
@@
-66,12
+66,15
@@
#define REQUEST_WAIT_FOR_INPUT (REQ_ASK | REQ_CONFIRM | REQ_PLAYER)
#define REQUEST_WAIT_FOR_INPUT (REQ_ASK | REQ_CONFIRM | REQ_PLAYER)
-int
correctLevelPosX_EM(
int);
-int
correctLevelPosY_EM(
int);
+int
getFieldbufferOffsetX_RND(int,
int);
+int
getFieldbufferOffsetY_RND(int,
int);
int getLevelFromScreenX(int);
int getLevelFromScreenY(int);
int getLevelFromScreenX(int);
int getLevelFromScreenY(int);
+int getScreenFieldSizeX(void);
+int getScreenFieldSizeY(void);
+
void DumpTile(int, int);
void DumpTileFromScreen(int, int);
void DumpTile(int, int);
void DumpTileFromScreen(int, int);
@@
-85,7
+88,9
@@
void DrawMaskedBorderToTarget(int);
void DrawTileCursor(int);
void SetDrawtoField(int);
void DrawTileCursor(int);
void SetDrawtoField(int);
+int GetDrawtoField(void);
void RedrawPlayfield(void);
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);
@@
-189,11
+194,13
@@
void DrawMiniElement(int, int, int);
void DrawMiniElementOrWall(int, int, int, int);
void ShowEnvelope(int);
void DrawMiniElementOrWall(int, int, int, int);
void ShowEnvelope(int);
-void ShowEnvelopeDoor(char *text, int);
+void ShowEnvelopeDoor(char *, int);
+void DrawEnvelopeRequestToScreen(int, 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
+223,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);
@@
-280,10
+288,12
@@
void ResetFontStatus(void);
void SetLevelSetInfo(char *, int);
void SetLevelSetInfo(char *, int);
-void ToggleFullscreenOrChangeWindowScalingIfNeeded(void);
+void ToggleFullscreenIfNeeded(void);
+void ChangeWindowScalingIfNeeded(void);
+void ChangeVsyncModeIfNeeded(void);
void ChangeViewportPropertiesIfNeeded(void);
void ChangeViewportPropertiesIfNeeded(void);
-boolean CheckIf
PlayfieldViewportHas
Changed(void);
-boolean Check
IfGlobalBorderOrPlayfieldViewportHasChanged
(void);
+boolean CheckIf
AllViewportsHave
Changed(void);
+boolean Check
FadeAll
(void);
#endif // TOOLS_H
#endif // TOOLS_H