Age | Commit message (Collapse) | Author |
|
You can easily mistake SlList / SL_LST to be a list of SL_VAR, but
it is a list of SL_REF. With this rename, it hopefully saves a few
people from "wtf?" moments.
|
|
Co-Authored-By: Patric Stout <truebrain@openttd.org>
|
|
Basically, this changes "SaveLoad *" to either:
1) "SaveLoadTable" if a list of SaveLoads was meant
2) "SaveLoad &" if a single entry was meant
As added bonus, this removes SL_END / SLE_END / SLEG_END. This
also adds core/span.hpp, a "std::span"-lite.
|
|
|
|
savegame version
|
|
|
|
In 11ab3c4e the number of cargo types was changed from 32 to 64.
The save/load of Town::cargo_accepted was not updated, such that
only half of the data structure is saved/loaded in savegame versions
199 to 218.
Discard and regenerate data from all savegame versions prior to 219.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(This was mostly achieved with a few in-place regexes)
|
|
was removed instead of version object last appeared.
|
|
|
|
|
|
|
|
MakeStringID() to access the structure of StringIDs.
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
Eagle_rainbow)
|
|
RebuildSubsidisedSourceAndDestinationCache() before subsidy savegame conversion is finished.
|
|
incorrectly for overridden houses when loading a game.
|
|
|
|
|
|
names failed
|
|
|
|
|
|
|
|
generator would trigger a "savegame corrupt" exception
|
|
|
|
each town (michi_cc).
|
|
framework to store goals of a town
|
|
Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
|
|
amount of towns into a reusable struct.
|
|
savegames would crash with savegames from a patched stable (which didn't bump the savegame version)
|
|
used by small functions that compute there value on-the-fly when necessary
|
|
|
|
|
|
substitute type for a house and the NewGRF was removed during the game
|
|
-> OpenTTD spec mappings
|
|
checking savegames (empty for now).
|
|
without that newgrf available all houses became tall office blocks
|
|
|
|
|
|
_house_specs[]
|
|
|
|
town_type.h to separate files
|
|
|