mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 08:45:00 +01:00
* Reset gCurrentRealTimeTicks when the map is initialized * Use 32 bit for gWindowUpdateTicks * Update changelog.txt
This commit is contained in:
@@ -542,6 +542,7 @@ void GameLoadInit()
|
||||
ContextBroadcastIntent(&intent);
|
||||
|
||||
gWindowUpdateTicks = 0;
|
||||
gCurrentRealTimeTicks = 0;
|
||||
|
||||
LoadPalette();
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ int32_t gTextBoxFrameNo = 0;
|
||||
bool gUsingWidgetTextBox = false;
|
||||
TextInputSession* gTextInput;
|
||||
|
||||
uint16_t gWindowUpdateTicks;
|
||||
uint32_t gWindowUpdateTicks;
|
||||
uint16_t gWindowMapFlashingFlags;
|
||||
colour_t gCurrentWindowColours[4];
|
||||
|
||||
|
||||
@@ -480,7 +480,7 @@ using close_callback = void (*)();
|
||||
|
||||
extern WindowBase* gWindowAudioExclusive;
|
||||
|
||||
extern uint16_t gWindowUpdateTicks;
|
||||
extern uint32_t gWindowUpdateTicks;
|
||||
namespace MapFlashingFlags
|
||||
{
|
||||
constexpr uint16_t GuestListOpen = (1 << 0);
|
||||
|
||||
Reference in New Issue
Block a user