Age | Commit message (Collapse) | Author |
|
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.
|
|
In 63ccb36e BaseConsist::name was changed from a malloced char*
to a std::string.
OrderBackup inherits from BaseConsist.
The saveload of OrderBackup::name was not updated.
|
|
|
|
|
|
|
|
|
|
(This was mostly achieved with a few in-place regexes)
|
|
was removed instead of version object last appeared.
|
|
that had not yet resolved their references caused a crash upon savegame load (only when loading a game from a server, e.g. joining MP)
|
|
and left unreachable items in the pool.
|
|
|
|
timetables
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
cases where it worked were corner cases rather than the general case.
|
|
appropriately on creation (peter1138)
|
|
(peter1138)
|
|
|
|
game in single player.
|
|
|
|
|
|
orders upon savegame loading, even when those orders did not exist back then. This 'conversion' feature is something for TTDPatch and old OpenTTD savegames
|
|
more likely to be updated [o-s].
|
|
IsSavegameVersionBefore().
|
|
IsSavegameVersionBefore().
|
|
order doesn't require up to 765 commands.
|
|
|
|
checking savegames (empty for now).
|
|
|
|
|
|
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
|
|
|
|
0.3.5 and 0.3.6 caused crash
|
|
end, middle or far end of a platform from the point of view of the driver of the train that enters the station.
|
|
full_load_any in a different way, savegame conversion wasn't working for them
|
|
|