Skip to content

Commit

Permalink
fixup includes of game.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Jun 25, 2014
1 parent 22cc8f7 commit 9f30dc7
Showing 1 changed file with 71 additions and 33 deletions.
104 changes: 71 additions & 33 deletions src/game.cpp
Expand Up @@ -17,47 +17,85 @@
#include "about.hpp"
#include "addon/manager.hpp"
#include "addon/manager_ui.hpp"
#include "commandline_options.hpp"
#include "game_config_manager.hpp"
#include "game_controller.hpp"
#include "gui/dialogs/core_selection.hpp"
#include "gui/dialogs/title_screen.hpp"
#include "commandline_options.hpp" // for commandline_options, etc
#include "config.hpp" // for config, config::error, etc
#include "cursor.hpp" // for set, CURSOR_TYPE::NORMAL, etc
#include "editor/editor_main.hpp"
#include "filesystem.hpp" // for file_exists, io_exception, etc
#include "font.hpp" // for load_font_config, etc
#include "formula.hpp" // for formula_error
#include "game_config.hpp" // for path, debug, debug_lua, etc
#include "game_config_manager.hpp" // for game_config_manager, etc
#include "game_controller.hpp" // for game_controller, etc
#include "gui/auxiliary/event/handler.hpp" // for tmanager
#include "gui/dialogs/core_selection.hpp" // for tcore_selection
#include "gui/dialogs/title_screen.hpp" // for ttitle_screen, etc
#include "gui/widgets/helper.hpp" // for init
#include "help.hpp" // for help_manager
#include "hotkey/command_executor.hpp" // for basic_handler
#include "image.hpp" // for flush_cache, etc
#include "loadscreen.hpp" // for loadscreen, etc
#include "log.hpp" // for LOG_STREAM, general, logger, etc
#include "preferences.hpp" // for core_id, etc
#include "preferences_display.hpp" // for display_manager
#include "replay.hpp" // for recorder, replay
#include "resources.hpp" // for config_manager
#include "sdl/exception.hpp" // for texception
#include "serialization/binary_or_text.hpp" // for config_writer
#include "serialization/parser.hpp" // for read
#include "serialization/preprocessor.hpp" // for preproc_define, etc
#include "serialization/validator.hpp" // for strict_validation_enabled
#include "sound.hpp" // for commit_music_changes, etc
#include "statistics.hpp" // for fresh_stats
#include "tstring.hpp" // for operator==, t_string
#include "version.hpp" // for version_info
#include "video.hpp" // for CVideo
#include "wesconfig.h" // for PACKAGE
#include "widgets/button.hpp" // for button
#include "wml_exception.hpp" // for twml_exception

#include <SDL.h> // for SDL_Init, SDL_INIT_TIMER
#include <libintl.h> // for bind_textdomain_codeset, etc
#include <boost/foreach.hpp> // for auto_any_base, etc
#include <boost/iostreams/categories.hpp> // for input, output
#include <boost/iostreams/copy.hpp> // for copy
#include <boost/iostreams/filter/bzip2.hpp> // for bzip2_compressor, etc
#include <boost/iostreams/filter/gzip.hpp> // for gzip_compressor, etc
#include <boost/iostreams/filtering_stream.hpp> // for filtering_stream
#include <boost/optional.hpp> // for optional
#include <boost/program_options/errors.hpp> // for error
#include <boost/scoped_ptr.hpp> // for scoped_ptr
#include <boost/tuple/tuple.hpp> // for tuple
#include <cerrno> // for ENOMEM
#include <clocale> // for setlocale, NULL, LC_ALL, etc
#include <cstdio> // for remove, fprintf, stderr
#include <cstdlib> // for srand, exit
#include <ctime> // for time, ctime, time_t
#include <exception> // for exception
#include <fstream> // for operator<<, basic_ostream, etc
#include <iostream> // for cerr, cout
#include <map> // for _Rb_tree_iterator, etc
#include <new> // for bad_alloc
#include <string> // for string, basic_string, etc
#include <utility> // for make_pair, pair
#include <vector> // for vector, etc
#include "SDL_error.h" // for SDL_GetError
#include "SDL_events.h" // for SDL_EventState, etc
#include "SDL_stdinc.h" // for SDL_putenv, Uint32
#include "SDL_timer.h" // for SDL_GetTicks
#include "SDL_version.h" // for SDL_VERSION_ATLEAST

#ifdef DEBUG_WINDOW_LAYOUT_GRAPHS
#include "gui/widgets/debug.hpp"
#endif
#include "gui/widgets/window.hpp"
#include "help.hpp"
#include "loadscreen.hpp"
#include "log.hpp"
#include "playcampaign.hpp"
#include "preferences_display.hpp"
#include "replay.hpp"
#include "sdl/exception.hpp"
#include "serialization/binary_or_text.hpp"
#include "serialization/parser.hpp"
#include "serialization/validator.hpp"
#include "statistics.hpp"
#include "version.hpp"
#include "wesconfig.h"
#include "wml_exception.hpp"

#include <cerrno>
#include <clocale>
#include <fstream>
#include <libintl.h>

#include <boost/foreach.hpp>
#include <boost/iostreams/copy.hpp>
#include <boost/iostreams/filter/bzip2.hpp>
#include <boost/iostreams/filter/gzip.hpp>

#include <SDL.h>


#ifdef HAVE_VISUAL_LEAK_DETECTOR
#include "vld.h"
#endif

class end_level_exception;
namespace game { struct error; }

static lg::log_domain log_config("config");
#define LOG_CONFIG LOG_STREAM(info, log_config)

Expand Down

0 comments on commit 9f30dc7

Please sign in to comment.