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.
|
|
|
|
|
|
instead of at the end.
Otherwise temporary data may be passed from an aborted load action to the next load action.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::vector::[push|emplace]_back()
|
|
shrink_to_fit()
|
|
|
|
|
|
(This was mostly achieved with a few in-place regexes)
|
|
was removed instead of version object last appeared.
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
into non-static members GetSpec(uint) and GetSpecCount().
|
|
the pool and crash
|
|
IsSavegameVersionBefore().
|
|
before) savegame where the waypoint refered to an already removed town
|
|
|
|
|
|
checking savegames (empty for now).
|
|
|
|
waypoint from around 0.4.0
|
|
if a header require a header make it include that header
|
|
|
|
|
|
|
|
correctly set when loading 'old' games.
|
|
it's written.
|
|
waypoint_func.h
|
|
all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
|
|
|
|
allocation for waypoints too
|
|
station spec lists.
|
|
struct and make it more similar to Station.
|
|
town id as their 'index' (#<num). For stations with custom names that custom name would be dropped and the lowest 6 bits of the StringID would be used for the 'index'. In other words, it resulted in a mess.
|
|
|
|
and stations.
|
|
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
|
|
|