From 7c759731dcb1a763fce75872c76052ab722c0bba Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 31 Mar 2008 07:03:35 +0000 Subject: (svn r12498) -Codechange: bring a little 'order' to openttd.cpp's includes and do not 'define' VARDEF for files that do not have them anymore. --- src/openttd.cpp | 47 +++++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 22 deletions(-) (limited to 'src') diff --git a/src/openttd.cpp b/src/openttd.cpp index 2ffecf803..81cfef80d 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -3,21 +3,34 @@ /** @file openttd.cpp */ #include "stdafx.h" + #define VARDEF -#include "debug.h" -#include "driver.h" -#include "saveload.h" +#include "variables.h" +#include "network/network_internal.h" +#undef VARDEF #include "openttd.h" -#include "mixer.h" -#include "spritecache.h" + +#include "driver.h" +#include "blitter/factory.hpp" +#include "sound/sound_driver.hpp" +#include "music/music_driver.hpp" +#include "video/video_driver.hpp" + +#include "fontcache.h" #include "gfxinit.h" +#include "gfx_func.h" #include "gui.h" -#include "landscape.h" +#include "mixer.h" +#include "sound_func.h" #include "viewport_func.h" -#include "gfx_func.h" #include "window_func.h" #include "window_gui.h" +#include "zoom_func.h" + +#include "debug.h" +#include "saveload.h" +#include "landscape.h" #include "player_func.h" #include "player_base.h" #include "command_func.h" @@ -31,7 +44,6 @@ #include "console.h" #include "screenshot.h" #include "network/network.h" -#include "network/network_internal.h" #include "signs.h" #include "depot.h" #include "waypoint.h" @@ -40,25 +52,16 @@ #include "yapf/yapf.h" #include "settings_func.h" #include "genworld.h" -#include "fontcache.h" -#include "newgrf.h" -#include "newgrf_config.h" -#include "newgrf_house.h" -#include "newgrf_commons.h" -#include "newgrf_storage.h" #include "player_face.h" #include "group.h" -#include "blitter/factory.hpp" -#include "sound/sound_driver.hpp" -#include "music/music_driver.hpp" -#include "video/video_driver.hpp" #include "strings_func.h" -#include "zoom_func.h" #include "date_func.h" #include "vehicle_func.h" -#include "sound_func.h" -#include "variables.h" -#include "road_func.h" + +#include "newgrf.h" +#include "newgrf_config.h" +#include "newgrf_house.h" +#include "newgrf_commons.h" #include "newgrf_station.h" #include "clear_map.h" -- cgit v1.2.3-70-g09d2