Changeset - r28306:801b68f73a02
[Not reviewed]
master
0 3 0
Tyler Trahan - 9 months ago 2023-12-19 14:09:46
tyler@tylertrahan.com
Fix: Add missing includes to timers from script implementation files (#11604)
3 files changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/script/api/script_basestation.cpp
Show inline comments
 
@@ -12,12 +12,13 @@
 
#include "script_error.hpp"
 
#include "../../station_base.h"
 
#include "../../string_func.h"
 
#include "../../strings_func.h"
 
#include "../../station_cmd.h"
 
#include "../../waypoint_cmd.h"
 
#include "../../timer/timer_game_calendar.h"
 
#include "table/strings.h"
 

	
 
#include "../../safeguards.h"
 

	
 
/* static */ bool ScriptBaseStation::IsValidBaseStation(StationID station_id)
 
{
src/script/api/script_date.hpp
Show inline comments
 
@@ -8,13 +8,13 @@
 
/** @file script_date.hpp Everything to query and manipulate date related information. */
 

	
 
#ifndef SCRIPT_DATE_HPP
 
#define SCRIPT_DATE_HPP
 

	
 
#include "script_object.hpp"
 
#include "timer/timer_game_calendar.h"
 
#include "../../timer/timer_game_calendar.h"
 

	
 
/**
 
 * Class that handles all date related (calculation) functions.
 
 * @api ai game
 
 *
 
 * @note Months and days of month are 1-based; the first month of the
src/script/api/script_engine.cpp
Show inline comments
 
@@ -15,12 +15,13 @@
 
#include "../../rail.h"
 
#include "../../road.h"
 
#include "../../engine_base.h"
 
#include "../../engine_func.h"
 
#include "../../articulated_vehicles.h"
 
#include "../../engine_cmd.h"
 
#include "../../timer/timer_game_calendar.h"
 
#include "table/strings.h"
 

	
 
#include "../../safeguards.h"
 

	
 
/* static */ bool ScriptEngine::IsValidEngine(EngineID engine_id)
 
{
0 comments (0 inline, 0 general)