@@ -26,40 +26,43 @@ distribution.
2626
2727#include " Internal.h"
2828
29- #include " Error.h"
30- #include " MemAccess.h"
29+ #include " ColorText.h"
30+ #include " Commands.h"
31+ #include " Console.h"
32+ #include " CoreDefs.h"
3133#include " DataDefs.h"
3234#include " Debug.h"
33- #include " Console.h"
35+ #include " DFHackVersion.h"
36+ #include " Error.h"
37+ #include " Format.h"
38+ #include " LuaTools.h"
39+ #include " MemAccess.h"
3440#include " MemoryPatcher.h"
3541#include " MiscUtils.h"
42+ #include " MiscUtils.h"
3643#include " Module.h"
37- #include " VersionInfoFactory.h"
38- #include " VersionInfo.h"
39- #include " PluginManager.h"
4044#include " ModuleFactory.h"
45+ #include " PluginManager.h"
4146#include " RemoteServer.h"
4247#include " RemoteTools.h"
43- #include " LuaTools.h"
44- #include " DFHackVersion.h"
45- #include " md5wrapper.h"
46- #include " Format.h"
47-
48- #include " Commands.h"
48+ #include " VersionInfo.h"
49+ #include " VersionInfoFactory.h"
4950
5051#include " modules/DFSDL.h"
5152#include " modules/DFSteam.h"
5253#include " modules/EventManager.h"
5354#include " modules/Filesystem.h"
55+ #include " modules/Graphic.h"
5456#include " modules/Gui.h"
5557#include " modules/Hotkey.h"
58+ #include " modules/Persistence.h"
5659#include " modules/Textures.h"
5760#include " modules/World.h"
58- #include " modules/Persistence.h"
5961
60- #include " df/init.h"
6162#include " df/gamest.h"
63+ #include " df/global_objects.h"
6264#include " df/graphic.h"
65+ #include " df/init.h"
6366#include " df/interfacest.h"
6467#include " df/plotinfost.h"
6568#include " df/viewscreen_dwarfmodest.h"
@@ -68,35 +71,52 @@ distribution.
6871#include " df/viewscreen_loadgamest.h"
6972#include " df/viewscreen_new_regionst.h"
7073#include " df/viewscreen_savegamest.h"
71- #include " df/world.h"
7274#include " df/world_data.h"
75+ #include " df/world.h"
7376
74- #include < stdio.h>
75- #include < iomanip>
76- #include < stdlib.h>
77+ #include < algorithm>
78+ #include < cassert>
79+ #include < condition_variable>
80+ #include < cstdarg>
81+ #include < cstdint>
82+ #include < cstdio>
83+ #include < cstdlib>
84+ #include < cstring>
85+ #include < filesystem>
86+ #include < forward_list>
7787#include < fstream>
78- #include < thread>
88+ #include < iomanip>
89+ #include < iostream>
90+ #include < istream>
91+ #include < map>
92+ #include < memory>
7993#include < mutex>
80- #include < condition_variable>
81- #include < string>
82- #include < vector>
94+ #include < ostream>
8395#include < ranges>
84- #include < span>
85- #include < map>
8696#include < set>
87- #include < cstdio>
88- #include < cstring>
97+ #include < span>
8998#include < sstream>
90- #include < forward_list>
99+ #include < string_view>
100+ #include < string>
101+ #include < system_error>
102+ #include < thread>
91103#include < type_traits>
92- #include < cstdarg>
93- #include < filesystem>
104+ #include < utility>
105+ #include < vector>
106+
107+ #include " md5wrapper.h"
108+
94109#include < SDL_events.h>
110+ #include < SDL_keycode.h>
111+ #include < SDL_video.h>
95112
113+ #include < lua.h>
96114
97- #ifdef _WIN32
115+ #ifdef WIN32
98116#define NOMINMAX
117+ #define WIN32_LEAN_AND_MEAN
99118#include < Windows.h>
119+ #include < processthreadsapi.h>
100120#endif
101121
102122#ifdef LINUX_BUILD
@@ -105,6 +125,7 @@ distribution.
105125
106126using namespace DFHack ;
107127using namespace df ::enums;
128+
108129using df::global::init;
109130using df::global::world;
110131using std::string;
0 commit comments