Age | Commit message (Collapse) | Author |
|
|
|
calculated automatically either.
|
|
nicer/better maintainable code, i.e. virtual methods instead of switches.
|
|
|
|
inclusion. This time, brought to you by the letter O
|
|
check if they are in use
|
|
coding style (and rest of the code).
|
|
|
|
|
|
already have
a symbol called _pause (and therefor our variable conflicts with
thatone. We shouldn't be using _ as global indicator.....)
|
|
add the allocated GRFConfig to its list and not copy it.
|
|
allocation of GRFConfig and turn it into a simple variable (it's supposed to be data-only). Thanks Tron.
|
|
chunks mainly list of GRFIDs and TTDP version the game was saved with.
GRFID list is read and active GRFs are loaded with the game if present in the data/ directory.
TTDP versioning information only works for newer versions, old versions will only give rough information but it's not worth the effort to precisely figure out what bit means what where and when.
|
|
switch case (glx)
|
|
spec with the guidelines in debug.h.
|
|
MP_WATER, we do not (tiles with one corner, or steep tiles), so check and fix these tiles.
|
|
TTD(P) games, failing to load them
|
|
|
|
-Codechange: Remove _avail_aircraft
Its name is misleading. It is rather _avail_airports, but then only some of them, which leads to inconsistencies when using it.
Further it is unnecessary to store it in savegams.
|
|
-Codechange: Remove the unnecessary attributes Station::{bus,lorry}_tile_obsolete by replacing them with a scan of the map for existing road stops when loading old savegames
|
|
Remove the unused remnants of blocked_months_obsolete
|
|
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
|
|
Change the signature of Swap() to be less error prone, i.e. pass the variables to be swapped by reference instead of passing pointers to the variables.
Just do Swap(x, y) instead of Swap(&x, &y). This prevents accidents when the variables are pointers.
|
|
Remove the write-only attribute RoadStop::station
|
|
gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson)
|
|
member ‘<class>::<member>’ of NULL object'. It is weird, but renaming the 'offsetof' macro helped.
|
|
inauguration date of companies in
oldloader: "The year the company was inaugurated (full value, not base-1920)"
(Marcin Grzegorczyk's TTD internals site)
|
|
were not used anyway) and replace them by our SwapT implementation
|
|
been widden.
Only doc landscape_grid.html has been updated, landscape.html will be done latter.
-CodeChange: Replace a direct access to m6 with SetTropicZone in InitializeLandscape, as it is the only part of m6 still untouched without the brute-forced m6=0
|
|
stillunknown and pv2b.
|
|
renamed to .cpp)
|