mirror of https://github.com/OpenTTD/OpenTTD
Doc: Clarify in economy and calendar timer files the usecases for each
parent
5cb483a62b
commit
c88a2816eb
|
@ -10,6 +10,16 @@
|
||||||
* This file implements the timer logic for the game-calendar-timer.
|
* This file implements the timer logic for the game-calendar-timer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Calendar time is used for technology and time-of-year changes, including:
|
||||||
|
* - Vehicle, airport, station, object introduction and obsolescence
|
||||||
|
* - Vehicle and engine age
|
||||||
|
* - NewGRF variables for visual styles or behavior based on year or time of year (e.g. variable snow line)
|
||||||
|
* - Inflation, since it is tied to original game years. One interpretation of inflation is that it compensates for faster and higher capacity vehicles,
|
||||||
|
* another is that it compensates for more established companies. Each of these point to a different choice of calendar versus economy time, but we have to pick one
|
||||||
|
* so we follow a previous decision to tie inflation to original TTD game years.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "../stdafx.h"
|
#include "../stdafx.h"
|
||||||
#include "../openttd.h"
|
#include "../openttd.h"
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|
|
@ -10,6 +10,19 @@
|
||||||
* This file implements the timer logic for the game-economy-timer.
|
* This file implements the timer logic for the game-economy-timer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Economy time is used for the regular pace of the game, including:
|
||||||
|
* - Industry and house production/consumption
|
||||||
|
* - Industry production changes, closure, and spawning
|
||||||
|
* - Town growth
|
||||||
|
* - Company age and financial statistics
|
||||||
|
* - Vehicle financial statistics
|
||||||
|
* - Vehicle aging, depreciation, reliability, and renewal
|
||||||
|
* - Payment intervals for running and maintenance costs, loan interest, etc.
|
||||||
|
* - Cargo payment "time" calculation
|
||||||
|
* - Local authority and station ratings change intervals
|
||||||
|
*/
|
||||||
|
|
||||||
#include "../stdafx.h"
|
#include "../stdafx.h"
|
||||||
#include "../openttd.h"
|
#include "../openttd.h"
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|
Loading…
Reference in New Issue