summaryrefslogtreecommitdiff
path: root/src/saveload/town_sl.cpp
AgeCommit message (Collapse)Author
2019-03-09Codechange: Make a k-d tree index of townsNiels Martin Hansen
2019-02-02Codechange: Change from numeric to descriptive SLV enum labels for last entries.Peter Nelson
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.
2018-06-26Change: Increase cargo type limit to 64.PeterN
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2017-02-26(svn r27756) -Codechange: Add StringTab enumfrosch
2017-02-26(svn r27754) -Codechange: Add GetStringTab(), GetStringIndex() and ↵frosch
MakeStringID() to access the structure of StringIDs.
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
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-08-18(svn r24482) -Fix [FS#5232] (r24180): Do not call ↵frosch
RebuildSubsidisedSourceAndDestinationCache() before subsidy savegame conversion is finished.
2012-04-26(svn r24182) -Fix [FS#5169-ish]: The population of a town was computed ↵frosch
incorrectly for overridden houses when loading a game.
2012-04-25(svn r24180) -Codechange/feature-ish: add cache checker for the town's cacherubidium
2012-04-25(svn r24179) -Codechange: move some variables of Town to TownCacherubidium
2011-12-22(svn r23657) -Fix (r22958): loading of very old savegames with custom town ↵yexo
names failed
2011-12-19(svn r23636) -Add: introduce ScriptText in parameters where it can be usedtruebrain
2011-12-19(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUItruebrain
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-04(svn r23418) -Fix [FS#4866] (r22958): saves made with the Catalan town name ↵rubidium
generator would trigger a "savegame corrupt" exception
2011-12-03(svn r23407) -Codechange: Keep a bitmap of all cargos accepted by towns.terkhen
2011-12-03(svn r23405) -Codechange: Keep a matrix of cargos accepted by houses for ↵terkhen
each town (michi_cc).
2011-11-23(svn r23300) -Add: show on the GUI when a town grows and make a general ↵truebrain
framework to store goals of a town
2011-11-23(svn r23298) -Add: track statistics of all incoming and outgoing goods. ↵truebrain
Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
2011-11-15(svn r23233) -Codechange: Refactor maximum and actually transported cargo ↵michi_cc
amount of towns into a reusable struct.
2011-09-23(svn r22958) -Fix [FS#4778]: the savegame description and loading of ↵rubidium
savegames would crash with savegames from a patched stable (which didn't bump the savegame version)
2011-09-11(svn r22920) -Cleanup: replace two very old town variables taht were rarely ↵yexo
used by small functions that compute there value on-the-fly when necessary
2011-06-12(svn r22568) -Change: Add a list of persistent storages to the Town class.terkhen
2010-08-24(svn r20610) -Fix (r20609): X and Y got swapped.frosch
2010-08-24(svn r20609) -Fix [FS#3702]: crash when a NewGRF defined an invalid ↵yexo
substitute type for a house and the NewGRF was removed during the game
2010-08-11(svn r20449) -Codechange: unduplicate saving/loading of NewGRF ID + local id ↵rubidium
-> OpenTTD spec mappings
2010-06-13(svn r19973) -Codechange: Add another procedure to chunk handlers for ↵frosch
checking savegames (empty for now).
2010-03-16(svn r19435) -Fix: when loading a savegame created with a house newgrf ↵yexo
without that newgrf available all houses became tall office blocks
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-06-26(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide ↵smatz
_house_specs[]
2009-06-26(svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile()smatz
2009-06-26(svn r16664) -Codechange: move house-related stuff from town.h and ↵smatz
town_type.h to separate files
2009-06-23(svn r16632) -Codechange: rename Town::flags12 to Town::flagssmatz
2009-06-23(svn r16631) -Fix (r1826)(r1881)(r9613): loading of some town data from old ↵smatz
savegames was broken
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
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-05-17(svn r16329) -Fix: possible desync when removing lots of towns in-game (not ↵rubidium
that we allow removing towns now, but better not have desync prone code lingering around)
2009-02-04(svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly ↵smatz
road networks -Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore -Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
2009-02-01(svn r15303) -Fix (r12381): desync if a GRF used town's last month max. ↵smatz
pass/mail
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz