projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added setup option to use extended list for game speed selection
[rocksndiamonds.git]
/
src
/
editor.c
diff --git
a/src/editor.c
b/src/editor.c
index 3c03f1323c64adc975809aaab26e02790b77c9be..2a34d4c3bcb771e9a89cbaec654b0f2e598bca1d 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-5457,7
+5457,7
@@
static char *getElementDescriptionFilenameExt(char *basename)
return NULL;
}
return NULL;
}
-char *getElementDescriptionFilename(int element)
+
static
char *getElementDescriptionFilename(int element)
{
char basename[MAX_FILENAME_LEN];
char *filename;
{
char basename[MAX_FILENAME_LEN];
char *filename;
@@
-6035,8
+6035,8
@@
static void ScrollEditorLevel(int from_x, int from_y, int scroll)
BackToFront();
}
BackToFront();
}
-void getEditorGraphicSource(int element, int tile_size, Bitmap **bitmap,
- int *x, int *y)
+
static
void getEditorGraphicSource(int element, int tile_size, Bitmap **bitmap,
+
int *x, int *y)
{
getSizedGraphicSource(el2edimg(element), 0, tile_size, bitmap, x, y);
}
{
getSizedGraphicSource(el2edimg(element), 0, tile_size, bitmap, x, y);
}
@@
-8308,7
+8308,7
@@
static void CopyElementPropertiesToGame(int element)
CopyClassicElementPropertiesToGame(element);
}
CopyClassicElementPropertiesToGame(element);
}
-void CheckElementDescriptions(void)
+
static
void CheckElementDescriptions(void)
{
int i;
{
int i;
@@
-8338,7
+8338,7
@@
static int getMaxEdFieldY(boolean has_scrollbar)
return max_ed_fieldy;
}
return max_ed_fieldy;
}
-void InitZoomLevelSettings(int zoom_tilesize)
+
static
void InitZoomLevelSettings(int zoom_tilesize)
{
static int last_game_engine_type = GAME_ENGINE_TYPE_UNKNOWN;
{
static int last_game_engine_type = GAME_ENGINE_TYPE_UNKNOWN;
@@
-8448,7
+8448,7
@@
static boolean useEditorDoorAnimation(void)
return (door_1_viewport_unchanged && door_1_contains_toolbox);
}
return (door_1_viewport_unchanged && door_1_contains_toolbox);
}
-void DrawEditorDoorContent(void)
+
static
void DrawEditorDoorContent(void)
{
/* needed for gadgets drawn on background (like palette scrollbar) */
SetDoorBackgroundImage(IMG_UNDEFINED);
{
/* needed for gadgets drawn on background (like palette scrollbar) */
SetDoorBackgroundImage(IMG_UNDEFINED);
@@
-12284,7
+12284,7
@@
static void RandomPlacement(int new_element)
CopyLevelToUndoBuffer(UNDO_IMMEDIATE);
}
CopyLevelToUndoBuffer(UNDO_IMMEDIATE);
}
-void WrapLevel(int dx, int dy)
+
static
void WrapLevel(int dx, int dy)
{
int wrap_dx = lev_fieldx - dx;
int wrap_dy = lev_fieldy - dy;
{
int wrap_dx = lev_fieldx - dx;
int wrap_dy = lev_fieldy - dy;