From: Holger Schemel Date: Fri, 24 Jan 2025 21:05:50 +0000 (+0100) Subject: removed unused messages for "colors" and "engine" tabs in level editor X-Git-Tag: 4.4.0.3~2 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=a555944a552095b915e68859c99c9d500dd9e3cd;p=rocksndiamonds.git removed unused messages for "colors" and "engine" tabs in level editor --- diff --git a/src/editor.c b/src/editor.c index abf9bc68..e465b3f9 100644 --- a/src/editor.c +++ b/src/editor.c @@ -12239,20 +12239,6 @@ static void DrawLevelConfigEngine(void) { int i; - if (level.game_engine_type != GAME_ENGINE_TYPE_BD) - { - int font_nr = FONT_TEXT_1; - int font_height = getFontHeight(font_nr); - int yoffset_above = font_height + ED_GADGET_LINE_DISTANCE; - int xpos = ED_LEVEL_SETTINGS_X(0); - int ypos = ED_LEVEL_SETTINGS_Y(0); - - PrintInfoText("No engine specific config available.", font_nr, xpos, ypos - yoffset_above); - PrintInfoText("(Only available for Boulder Dash.)", font_nr, xpos, ypos); - - return; - } - // draw counter gadgets if (level.bd_scheduling_type == GD_SCHEDULING_MILLISECONDS) { @@ -12365,20 +12351,6 @@ static void DrawLevelConfigColors(void) { int i; - if (!anyImagehasColorTemplate()) - { - int font_nr = FONT_TEXT_1; - int font_height = getFontHeight(font_nr); - int yoffset_above = font_height + ED_GADGET_LINE_DISTANCE; - int xpos = ED_LEVEL_SETTINGS_X(0); - int ypos = ED_LEVEL_SETTINGS_Y(0); - - PrintInfoText("No level specific colors available.", font_nr, xpos, ypos - yoffset_above); - PrintInfoText("(Not supported by graphics set.)", font_nr, xpos, ypos); - - return; - } - // when using native BD engine with "classic" template colors, skip the two extra colors int skip = (level.game_engine_type == GAME_ENGINE_TYPE_BD && level.bd_coloring_type == GD_COLORING_TYPE_SINGLE &&