Skip to content

Commit

Permalink
rename builder.cpp -> terrain_builder.cpp
Browse files Browse the repository at this point in the history
Since that's the class that it defines.
  • Loading branch information
cbeck88 committed May 17, 2014
1 parent b7f9f37 commit dfdd43b
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Expand Up @@ -908,7 +908,6 @@ set(wesnoth-main_SRC

set(libwesnoth-game_STAT_SRC
arrow.cpp
builder.cpp
clipboard.cpp
construct_dialog.cpp
cursor.cpp
Expand Down Expand Up @@ -953,6 +952,7 @@ set(libwesnoth-game_STAT_SRC
soundsource.cpp
sound_music_track.cpp
terrain.cpp
terrain_builder.cpp
terrain_translation.cpp
text.cpp
time_of_day.cpp
Expand Down
4 changes: 2 additions & 2 deletions src/SConscript
Expand Up @@ -70,8 +70,6 @@ libwesnoth_core = [env.Library("wesnoth_core", libwesnoth_core_sources)]

libwesnoth_sources = Split("""
arrow.cpp
pathfind/astarsearch.cpp
builder.cpp
clipboard.cpp
config_assign.cpp
construct_dialog.cpp
Expand Down Expand Up @@ -102,6 +100,7 @@ libwesnoth_sources = Split("""
map_label.cpp
marked-up_text.cpp
minimap.cpp
pathfind/astarsearch.cpp
pathutils.cpp
preferences.cpp
preferences_display.cpp
Expand All @@ -114,6 +113,7 @@ libwesnoth_sources = Split("""
soundsource.cpp
sound_music_track.cpp
terrain.cpp
terrain_builder.cpp
terrain_translation.cpp
text.cpp
time_of_day.cpp
Expand Down
2 changes: 1 addition & 1 deletion src/display.cpp
Expand Up @@ -17,7 +17,6 @@
* Routines to set up the display, scroll and zoom the map.
*/

#include "builder.hpp"
#include "cursor.hpp"
#include "display.hpp"
#include "game_preferences.hpp"
Expand All @@ -30,6 +29,7 @@
#include "map_label.hpp"
#include "minimap.hpp"
#include "reports.hpp"
#include "terrain_builder.hpp"
#include "text.hpp"
#include "time_of_day.hpp"
#include "tooltips.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/editor/editor_display.cpp
Expand Up @@ -14,8 +14,8 @@
#define GETTEXT_DOMAIN "wesnoth-editor"

#include "editor_display.hpp"
#include "builder.hpp"
#include "reports.hpp"
#include "terrain_builder.hpp"

namespace editor {

Expand Down
6 changes: 3 additions & 3 deletions src/game_config_manager.cpp
Expand Up @@ -16,19 +16,19 @@
#include "about.hpp"
#include "addon/manager.hpp"
#include "ai/configuration.hpp"
#include "builder.hpp"
#include "cursor.hpp"
#include "game_config.hpp"
#include "gettext.hpp"
#include "gui/dialogs/wml_error.hpp"
#include "hotkey/hotkey_item.hpp"
#include "hotkey/hotkey_command.hpp"
#include "language.hpp"
#include "loadscreen.hpp"
#include "log.hpp"
#include "preferences.hpp"
#include "resources.hpp"
#include "scripting/lua.hpp"
#include "hotkey/hotkey_item.hpp"
#include "hotkey/hotkey_command.hpp"
#include "terrain_builder.hpp"

#include <boost/foreach.hpp>

Expand Down
2 changes: 1 addition & 1 deletion src/menu_events.cpp
Expand Up @@ -26,7 +26,6 @@
#include "actions/move.hpp"
#include "actions/undo.hpp"
#include "actions/vision.hpp"
#include "builder.hpp"
#include "ai/manager.hpp"
#include "dialogs.hpp"
#include "formatter.hpp"
Expand Down Expand Up @@ -64,6 +63,7 @@
#include "sound.hpp"
#include "statistics_dialog.hpp"
#include "synced_context.hpp"
#include "terrain_builder.hpp"
#include "unit_display.hpp"
#include "wml_separators.hpp"
#include "formula_string_utils.hpp"
Expand Down
4 changes: 2 additions & 2 deletions src/builder.cpp → src/terrain_builder.cpp
Expand Up @@ -17,13 +17,13 @@
* Terrain builder.
*/

#include "builder.hpp"
#include "terrain_builder.hpp"

#include "image.hpp"
#include "loadscreen.hpp"
#include "log.hpp"
#include "map.hpp"
#include "serialization/string_utils.hpp"
#include "image.hpp"

#include <boost/foreach.hpp>

Expand Down
4 changes: 2 additions & 2 deletions src/builder.hpp → src/terrain_builder.hpp
Expand Up @@ -17,8 +17,8 @@
* Definitions for the terrain builder.
*/

#ifndef BUILDER_H_INCLUDED
#define BUILDER_H_INCLUDED
#ifndef TERRAIN_BUILDER_H_INCLUDED
#define TERRAIN_BUILDER_H_INCLUDED

#include "animated.hpp"
#include "map_location.hpp"
Expand Down

0 comments on commit dfdd43b

Please sign in to comment.