include cleanup: replay, show_dialog
This commit is contained in:
parent
8996506d10
commit
a84fa65770
17 changed files with 25 additions and 9 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "display.hpp"
|
||||
#include "show_dialog.hpp"
|
||||
#include "sdl_utils.hpp"
|
||||
#include "video.hpp"
|
||||
#include "widgets/button.hpp"
|
||||
|
||||
#include <sstream>
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "statistics.hpp"
|
||||
#include "unit_display.hpp"
|
||||
#include "util.hpp"
|
||||
#include "video.hpp"
|
||||
#include "wassert.hpp"
|
||||
#include "wml_separators.hpp"
|
||||
#include "serialization/string_utils.hpp"
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "replay.hpp"
|
||||
#include "show_dialog.hpp"
|
||||
#include "util.hpp"
|
||||
#include "video.hpp"
|
||||
#include "wassert.hpp"
|
||||
#include "wml_separators.hpp"
|
||||
#include "serialization/string_utils.hpp"
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include "tooltips.hpp"
|
||||
#include "unit_display.hpp"
|
||||
#include "util.hpp"
|
||||
#include "video.hpp"
|
||||
#include "wassert.hpp"
|
||||
|
||||
#include "SDL_image.h"
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "../language.hpp"
|
||||
#include "../map.hpp"
|
||||
#include "../preferences.hpp"
|
||||
#include "../video.hpp"
|
||||
|
||||
#include "editor_dialogs.hpp"
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "../reports.hpp"
|
||||
#include "../gettext.hpp"
|
||||
#include "../util.hpp"
|
||||
#include "../video.hpp"
|
||||
#include "../wassert.hpp"
|
||||
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "global.hpp"
|
||||
|
||||
#include "show_dialog.hpp"
|
||||
#include "widgets/file_chooser.hpp"
|
||||
#include "gettext.hpp"
|
||||
#include <vector>
|
||||
#include "show_dialog.hpp"
|
||||
#include "video.hpp"
|
||||
#include "widgets/file_chooser.hpp"
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
namespace dialogs
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "show_dialog.hpp"
|
||||
#include "unit.hpp"
|
||||
#include "util.hpp"
|
||||
#include "video.hpp"
|
||||
#include "wassert.hpp"
|
||||
#include "wml_separators.hpp"
|
||||
#include "serialization/parser.hpp"
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include "mapgen.hpp"
|
||||
#include "show_dialog.hpp"
|
||||
#include "util.hpp"
|
||||
#include "video.hpp"
|
||||
|
||||
#include "widgets/button.hpp"
|
||||
#include "widgets/slider.hpp"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "playlevel.hpp"
|
||||
#include "preferences.hpp"
|
||||
#include "replay.hpp"
|
||||
#include "video.hpp"
|
||||
|
||||
#define LOG_NW lg::info(lg::network)
|
||||
|
||||
|
|
|
@ -11,13 +11,14 @@
|
|||
See the COPYING file for more details.
|
||||
*/
|
||||
|
||||
#include "gettext.hpp"
|
||||
#include "global.hpp"
|
||||
#include "show_dialog.hpp"
|
||||
#include "map_create.hpp"
|
||||
#include "multiplayer_create.hpp"
|
||||
#include "filesystem.hpp"
|
||||
#include "preferences.hpp"
|
||||
#include "gettext.hpp"
|
||||
#include "video.hpp"
|
||||
|
||||
namespace {
|
||||
const SDL_Rect null_rect = {0, 0, 0, 0};
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "preferences.hpp"
|
||||
#include "replay.hpp"
|
||||
#include "util.hpp"
|
||||
#include "video.hpp"
|
||||
#include "wassert.hpp"
|
||||
#include "wml_separators.hpp"
|
||||
#include "serialization/string_utils.hpp"
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include "unit_display.hpp"
|
||||
#include "util.hpp"
|
||||
#include "variable.hpp"
|
||||
#include "video.hpp"
|
||||
|
||||
#include <iostream>
|
||||
#include <iterator>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "show_dialog.hpp"
|
||||
#include "sound.hpp"
|
||||
#include "util.hpp"
|
||||
#include "video.hpp"
|
||||
#include "wesconfig.h"
|
||||
#include "wml_separators.hpp"
|
||||
#include "serialization/parser.hpp"
|
||||
|
|
|
@ -13,8 +13,10 @@
|
|||
#ifndef REPLAY_H_INCLUDED
|
||||
#define REPLAY_H_INCLUDED
|
||||
|
||||
class display;
|
||||
|
||||
#include "config.hpp"
|
||||
#include "display.hpp"
|
||||
#include "gamestatus.hpp"
|
||||
#include "map.hpp"
|
||||
#include "unit.hpp"
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include "sdl_utils.hpp"
|
||||
#include "tooltips.hpp"
|
||||
#include "util.hpp"
|
||||
#include "video.hpp"
|
||||
#include "widgets/button.hpp"
|
||||
#include "widgets/menu.hpp"
|
||||
#include "widgets/textbox.hpp"
|
||||
|
|
|
@ -14,15 +14,14 @@
|
|||
#ifndef SHOW_DIALOG_HPP_INCLUDED
|
||||
#define SHOW_DIALOG_HPP_INCLUDED
|
||||
|
||||
#include "config.hpp"
|
||||
class config;
|
||||
class display;
|
||||
|
||||
#include "cursor.hpp"
|
||||
#include "display.hpp"
|
||||
#include "font.hpp"
|
||||
#include "halo.hpp"
|
||||
#include "network.hpp"
|
||||
#include "tooltips.hpp"
|
||||
#include "unit.hpp"
|
||||
#include "video.hpp"
|
||||
|
||||
#include "widgets/button.hpp"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue