Peter Nelson
cf96d49ced
Codechange: Use vector for airport tile layouts. ( #12607 )
...
Simplify AirportSpec data by storing layout information together in a vector, instead of separate arrays.
This removes manual memory management and separate count members.
The default layouts will be copied instead of always referring to the originals.
2024-05-02 11:37:54 +00:00
Tyler Trahan
77173a6a10
Codechange: Move date consts and functions to CalendarTime and TimerGameCalendar classes
2023-09-10 08:40:25 -04:00
Tyler Trahan
930f0a16d8
Codechange: Define Date/Year/Month/Day within TimerGameCalendar class
2023-04-26 07:14:03 -04:00
Charles Pigott
860c270c73
Codechange: Replace assert_compile macro with static_assert
2020-12-27 10:55:42 +00:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
2019-04-10 23:22:20 +02:00
adf88
6dec889306
(svn r27908) -Codechange: Mark airport tile tables and FTAs "const" to be sure that they are really constant
2017-08-31 06:55:38 +00:00
michi_cc
d3b7b89493
(svn r23415) -Feature: Infrastructure maintenance costs.
2011-12-03 23:40:46 +00:00
rubidium
58e3652bd0
(svn r22537) -Change [FS#3494]: replace the half small airport structure on the intercontinental airport with some grass
2011-06-04 14:24:34 +00:00
rubidium
af9d8824bd
(svn r20398) -Codechange: move some variables of GRFFileProps into (the new) GRFFilePropsBase
2010-08-07 20:51:07 +00:00
yexo
a48dbd7c51
(svn r20370) -Add: [NewGRF] new action 5 block to add airport preview sprites
2010-08-05 12:03:58 +00:00
yexo
3e6f8165d4
(svn r20369) -Feature: preview sprites for airports
2010-08-05 12:03:34 +00:00
yexo
d2f9b87ccd
(svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles
2010-08-05 12:00:09 +00:00
yexo
d65a967027
(svn r20329) -Codechange: align the data of the original airports so it's better readable
2010-08-02 22:27:42 +00:00
yexo
81ca0e28c4
(svn r19462) -Codechange: use the AS_GENERIC macro also for the dummy airport
2010-03-19 00:34:38 +00:00
yexo
38f4cb6469
(svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found
2010-03-18 23:12:38 +00:00
yexo
a99a7e7a37
(svn r19456) -Codechange; increase the maximum number of airports
2010-03-18 23:10:35 +00:00
yexo
e037512a6f
(svn r19451) -Cleanup: remove some unused code
2010-03-18 15:20:49 +00:00
yexo
f7691a95d7
(svn r19354) -Codechange: store the number of layouts in AirportSpec
2010-03-06 16:02:07 +00:00
yexo
20e05f878c
(svn r19353) -Codechange: use static objects for the airport statemachines instead of new/delete at the start/end of the game
...
-Codechange: store the fta in AirportSpec
2010-03-06 15:38:13 +00:00
yexo
585b036c90
(svn r19327) -Codechange: make the oilrig a part of the original airports array so some special cases can be removed
2010-03-05 23:21:51 +00:00
yexo
c42e2a9bfc
(svn r19326) -Codechange: store the airport name as property in AirportSpec
2010-03-05 23:21:41 +00:00
yexo
a71462bb94
(svn r19325) -Codechange: introduce airport classes and split the default airports in 4 classes
2010-03-05 23:21:35 +00:00
yexo
3cda09170c
(svn r19299) -Codechange: store the most compatible ttd airport type in AirportSpec
...
-Fix: [NewGRF] return the ttd airport type in station var 0xF1
2010-03-01 20:17:21 +00:00
yexo
dd7c2b2f9d
(svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp
2010-02-22 16:09:26 +00:00
rubidium
67234a6a6f
(svn r19023) -Fix (r18807): city airport introduction date had become 5 years later
2010-02-05 21:49:56 +00:00
yexo
830af8ee77
(svn r18845) -Codechange: introduce AirportTileSpec and use it for animation
2010-01-17 14:22:07 +00:00
yexo
f920415752
(svn r18844) -Codechange: add GPL notice to src/table/airport_defaults.h
2010-01-17 12:48:09 +00:00
yexo
d669801f1d
(svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there
2010-01-15 12:08:08 +00:00