1
0
Fork 0

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

pull/11354/head
Peter Nelson 2023-10-04 17:02:16 +01:00 committed by GitHub
parent 7145b7060a
commit d1a94d75e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 15 additions and 15 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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