Fix: Incorrect include path for timers. (#11351)

pull/615/head
Peter Nelson 8 months ago committed by GitHub
parent 7145b7060a
commit d1a94d75e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,14 +10,14 @@
* This file implements the timer logic for the game-calendar-timer.
*/
#include "stdafx.h"
#include "openttd.h"
#include "../stdafx.h"
#include "../openttd.h"
#include "timer.h"
#include "timer_game_calendar.h"
#include "vehicle_base.h"
#include "linkgraph/linkgraph.h"
#include "../vehicle_base.h"
#include "../linkgraph/linkgraph.h"
#include "safeguards.h"
#include "../safeguards.h"
TimerGameCalendar::Year TimerGameCalendar::year = {};
TimerGameCalendar::Month TimerGameCalendar::month = {};

@ -10,7 +10,7 @@
#ifndef TIMER_GAME_CALENDAR_H
#define TIMER_GAME_CALENDAR_H
#include "stdafx.h"
#include "../stdafx.h"
#include "../core/strong_typedef_type.hpp"
/**

@ -10,12 +10,12 @@
* This file implements the timer logic for the real time game-timer.
*/
#include "stdafx.h"
#include "openttd.h"
#include "../stdafx.h"
#include "../openttd.h"
#include "timer.h"
#include "timer_game_realtime.h"
#include "safeguards.h"
#include "../safeguards.h"
template<>
void IntervalTimer<TimerGameRealtime>::Elapsed(TimerGameRealtime::TElapsed delta)

@ -10,11 +10,11 @@
* This file implements the timer logic for the tick-based game-timer.
*/
#include "stdafx.h"
#include "../stdafx.h"
#include "timer.h"
#include "timer_game_tick.h"
#include "safeguards.h"
#include "../safeguards.h"
uint64_t TimerGameTick::counter = 0;

@ -10,7 +10,7 @@
#ifndef TIMER_GAME_TICK_H
#define TIMER_GAME_TICK_H
#include "gfx_type.h"
#include "../gfx_type.h"
#include <chrono>

@ -11,7 +11,7 @@
#ifndef TIMER_MANAGER_H
#define TIMER_MANAGER_H
#include "stdafx.h"
#include "../stdafx.h"
template <typename TTimerType>
class BaseTimer;

@ -10,11 +10,11 @@
* This file implements the timer logic for the Window system.
*/
#include "stdafx.h"
#include "../stdafx.h"
#include "timer.h"
#include "timer_window.h"
#include "safeguards.h"
#include "../safeguards.h"
template<>
void IntervalTimer<TimerWindow>::Elapsed(TimerWindow::TElapsed delta)

Loading…
Cancel
Save