summaryrefslogtreecommitdiff
path: root/src/saveload/waypoint_sl.cpp
AgeCommit message (Collapse)Author
2020-12-15Codechange: Make use of the improved C++17 emplace_back function.Michael Lutz
2020-05-21Codechange: Use std::string for most of the user-settable custom names.Michael Lutz
2020-01-12Fix #7925: Reset temporary saveload data at the start of loading a savegame ↵frosch
instead of at the end. Otherwise temporary data may be passed from an aborted load action to the next load action.
2020-01-05Fix #7587: Crash when loading saves with waypoints with invalid locationsCharles Pigott
2019-12-21Codechange: Replace vehicle related FOR_ALL with range-based for loopsglx
2019-12-21Codechange: Replace order related FOR_ALL with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-29Codechange: Remove Company/OwnerByte typesCharles Pigott
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replaced SmallVector::Reset() with std::vector::clear() + ↵Henry Wilson
shrink_to_fit()
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-26Codechange: Replace SmallVector::Clear() with std::vector::clear()Henry Wilson
2019-02-02Codechange: Convert saveload numbers to enum values.Peter Nelson
(This was mostly achieved with a few in-place regexes)
2019-02-02Codechange: Make saveload version upper bound exclusive, i.e. version object ↵Peter Nelson
was removed instead of version object last appeared.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2012-04-22(svn r24166) -Codechange: Turn NewGRFClass::Get(Tid, uint) and GetCount(Tid) ↵frosch
into non-static members GetSpec(uint) and GetSpecCount().
2011-02-11(svn r22057) -Fix: waypoint conversion could (previously) silently overfill ↵rubidium
the pool and crash
2010-11-21(svn r21284) -Codechange: Rename CheckSavegameVersion() to ↵alberth
IsSavegameVersionBefore().
2010-11-01(svn r21074) -Fix [FS#4194]: Crash when loading a corrupted 0.7.x (or ↵rubidium
before) savegame where the waypoint refered to an already removed town
2010-08-07(svn r20406) -Codechange: make StationClass use the new generic classrubidium
2010-08-07(svn r20400) -Codechange: let StationSpec use GRFFilePropsBaserubidium
2010-06-13(svn r19973) -Codechange: Add another procedure to chunk handlers for ↵frosch
checking savegames (empty for now).
2010-04-29(svn r19738) -Fix: MSVC 64 bits compile warningsrubidium
2010-04-11(svn r19612) -Fix [FS#3756] (r3212): crash when opening a savegame with a ↵rubidium
waypoint from around 0.4.0
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-09(svn r17138) -Fix: some MSVC 64 bits compiler warningsrubidium
2009-07-31(svn r17004) -Fix (r16909): StationRect of loading buoys/waypoints wasn't ↵rubidium
correctly set when loading 'old' games.
2009-07-24(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way ↵rubidium
it's written.
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
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.
2009-07-21(svn r16900) -Codechange: prepare the waypoint window for buoysrubidium
2009-07-21(svn r16897) -Codechange: use the 'generic' station spec to station ↵rubidium
allocation for waypoints too
2009-07-17(svn r16862) -Codechange: make waypoints use the same system of station ↵rubidium
station spec lists.
2009-07-16(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint ↵rubidium
struct and make it more similar to Station.
2009-07-16(svn r16854) -Fix (r2046): savegames from before this version would get the ↵rubidium
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.
2009-07-16(svn r16851) -Codechange: use StationSpecList in waypoint toorubidium
2009-07-16(svn r16850) -Codechange: unify some naming of variables between waypoints ↵rubidium
and stations.
2009-05-17(svn r16338) -Codechange: split loading of references to two phasessmatz
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz