Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/main.cpp
Show All 25 Lines | |||||
*/ | */ | ||||
// not for any PCH effort, but instead for the (common) definitions | // not for any PCH effort, but instead for the (common) definitions | ||||
// included there. | // included there. | ||||
#define MINIMAL_PCH 2 | #define MINIMAL_PCH 2 | ||||
#include "lib/precompiled.h" | #include "lib/precompiled.h" | ||||
#include <chrono> | |||||
#include "lib/debug.h" | #include "lib/debug.h" | ||||
#include "lib/status.h" | #include "lib/status.h" | ||||
#include "lib/secure_crt.h" | #include "lib/secure_crt.h" | ||||
#include "lib/frequency_filter.h" | #include "lib/frequency_filter.h" | ||||
#include "lib/input.h" | #include "lib/input.h" | ||||
#include "lib/ogl.h" | #include "lib/ogl.h" | ||||
#include "lib/timer.h" | #include "lib/timer.h" | ||||
#include "lib/external_libraries/libsdl.h" | #include "lib/external_libraries/libsdl.h" | ||||
▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
#include "lib/sysdep/os/osx/osx_atlas.h" | #include "lib/sysdep/os/osx/osx_atlas.h" | ||||
#endif | #endif | ||||
#if MSC_VERSION | #if MSC_VERSION | ||||
#include <process.h> | #include <process.h> | ||||
#define getpid _getpid // Use the non-deprecated function name | #define getpid _getpid // Use the non-deprecated function name | ||||
#endif | #endif | ||||
#include <chrono> | |||||
#include <iostream> | |||||
extern CmdLineArgs g_args; | extern CmdLineArgs g_args; | ||||
extern CStrW g_UniqueLogPostfix; | extern CStrW g_UniqueLogPostfix; | ||||
// Marks terrain as modified so the minimap can repaint (is there a cleaner way of handling this?) | // Marks terrain as modified so the minimap can repaint (is there a cleaner way of handling this?) | ||||
bool g_GameRestarted = false; | bool g_GameRestarted = false; | ||||
// Determines the lifetime of the mainloop | // Determines the lifetime of the mainloop | ||||
enum ShutdownType | enum ShutdownType | ||||
▲ Show 20 Lines • Show All 665 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator