mirror of https://github.com/OpenTTD/OpenTTD
Fix: Incorrect include path for timers. (#11351)
parent
7145b7060a
commit
d1a94d75e1
|
@ -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 = {};
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue