mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
cool update
add option for auto restart, fix some bugs with auto restart, fix a crash with having no playlist set, fix double pleasant and hlod buildings on 7.30, fix 6.21 hlod buildings, performance
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
|
||||
static inline int SecondsUntilTravel = 5;
|
||||
static inline bool bSwitchedInitialLevel = false;
|
||||
static inline bool bIsInAutoRestart = false;
|
||||
extern inline bool bIsInAutoRestart = false;
|
||||
|
||||
// THE BASE CODE IS FROM IMGUI GITHUB
|
||||
|
||||
@@ -72,7 +72,7 @@ static inline void CleanupDeviceD3D();
|
||||
static inline void ResetDevice();
|
||||
static inline LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
static inline bool bStartedBus = false;
|
||||
extern inline bool bStartedBus = false;
|
||||
|
||||
static inline void Restart() // todo move?
|
||||
{
|
||||
@@ -263,7 +263,7 @@ static inline void StaticUI()
|
||||
{
|
||||
if (IsRestartingSupported())
|
||||
{
|
||||
// ImGui::Checkbox("Auto Restart", &Globals::bAutoRestart);
|
||||
ImGui::Checkbox("Auto Restart", &Globals::bAutoRestart);
|
||||
}
|
||||
|
||||
#ifndef PROD
|
||||
|
||||
Reference in New Issue
Block a user