projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aeb435a
)
cleanup of some function names ('Ext' functions without 'base' functions)
author
Holger Schemel
<info@artsoft.org>
Sun, 28 Jan 2018 21:22:54 +0000
(22:22 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 28 Jan 2018 21:22:54 +0000
(22:22 +0100)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 327d8843b1cbbe6d336ab3a5cd2b80899f486f2f..8eff2cd2a2a47770347c3faa80f8b819b50cc5df 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-2981,7
+2981,7
@@
void DrawMiniLevel(int size_x, int size_y, int scroll_x, int scroll_y)
redraw_mask |= REDRAW_FIELD;
}
redraw_mask |= REDRAW_FIELD;
}
-static void DrawPreviewLevelPlayfield
Ext
(int from_x, int from_y)
+static void DrawPreviewLevelPlayfield(int from_x, int from_y)
{
boolean show_level_border = (BorderElement != EL_EMPTY);
int level_xsize = lev_fieldx + (show_level_border ? 2 : 0);
{
boolean show_level_border = (BorderElement != EL_EMPTY);
int level_xsize = lev_fieldx + (show_level_border ? 2 : 0);
@@
-3046,7
+3046,7
@@
static int getMaxTextLength(struct TextPosInfo *pos, int font_nr)
return max_text_width / font_width;
}
return max_text_width / font_width;
}
-static void DrawPreviewLevelLabel
Ext
(int mode)
+static void DrawPreviewLevelLabel(int mode)
{
struct TextPosInfo *pos = &menu.main.text.level_info_2;
char label_text[MAX_OUTPUT_LINESIZE + 1];
{
struct TextPosInfo *pos = &menu.main.text.level_info_2;
char label_text[MAX_OUTPUT_LINESIZE + 1];
@@
-3122,8
+3122,8
@@
static void DrawPreviewLevelExt(boolean restart)
label_state = 1;
label_counter = 0;
label_state = 1;
label_counter = 0;
- DrawPreviewLevelPlayfield
Ext
(from_x, from_y);
- DrawPreviewLevelLabel
Ext
(label_state);
+ DrawPreviewLevelPlayfield(from_x, from_y);
+ DrawPreviewLevelLabel(label_state);
/* initialize delay counters */
DelayReached(&scroll_delay, 0);
/* initialize delay counters */
DelayReached(&scroll_delay, 0);
@@
-3202,7
+3202,7
@@
static void DrawPreviewLevelExt(boolean restart)
break;
}
break;
}
- DrawPreviewLevelPlayfield
Ext
(from_x, from_y);
+ DrawPreviewLevelPlayfield(from_x, from_y);
}
/* !!! THIS ALL SUCKS -- SHOULD BE CLEANLY REWRITTEN !!! */
}
/* !!! THIS ALL SUCKS -- SHOULD BE CLEANLY REWRITTEN !!! */
@@
-3243,7
+3243,7
@@
static void DrawPreviewLevelExt(boolean restart)
label_state = (label_state == MICROLABEL_IMPORTED_FROM_HEAD ?
MICROLABEL_IMPORTED_BY_HEAD : MICROLABEL_IMPORTED_BY);
label_state = (label_state == MICROLABEL_IMPORTED_FROM_HEAD ?
MICROLABEL_IMPORTED_BY_HEAD : MICROLABEL_IMPORTED_BY);
- DrawPreviewLevelLabel
Ext
(label_state);
+ DrawPreviewLevelLabel(label_state);
}
}
}
}