Fix compilation errors

This commit is contained in:
dP
2024-02-06 20:35:28 +05:30
parent b2cf3c48fb
commit cdd69a496d
68 changed files with 1194 additions and 1211 deletions

View File

@@ -9,7 +9,7 @@
#include "../stdafx.h"
#include "../console_func.h"
#include "../date_func.h"
#include "../timer/timer_game_tick.h"
#include "../gfx_func.h"
#include "../blitter/factory.hpp"
#include "../saveload/saveload.h"
@@ -52,13 +52,13 @@ void VideoDriver_Null::MainLoop()
{
uint i;
uint16 old_tick;
TimerGameTick::TickCounter old_tick;
for (i = 0; i < this->ticks; ) {
old_tick = _tick_counter;
old_tick = TimerGameTick::counter;
::GameLoop();
::InputLoop();
::UpdateWindows();
if (old_tick != _tick_counter) i++;
if (old_tick != TimerGameTick::counter) i++;
else _pause_mode = PM_UNPAUSED;
}
IConsolePrint(CC_DEFAULT, "Null driver ran for {} tics, save: {}", this->ticks, this->savefile);