summaryrefslogtreecommitdiff
path: root/src/oldloader.cpp
AgeCommit message (Collapse)Author
2007-02-22(svn r8844) -Revert partly (r8820, r8806): Change AppendToGRFConfigList to ↵Darkvater
add the allocated GRFConfig to its list and not copy it.
2007-02-20(svn r8820) -Codechange (r8807, r8806): Remove the unneeded calloc/free ↵Darkvater
allocation of GRFConfig and turn it into a simple variable (it's supposed to be data-only). Thanks Tron.
2007-02-18(svn r8807) -Feature: Add support for loading (some of) the TTDP extra ↵Darkvater
chunks mainly list of GRFIDs and TTDP version the game was saved with. GRFID list is read and active GRFs are loaded with the game if present in the data/ directory. TTDP versioning information only works for newer versions, old versions will only give rough information but it's not worth the effort to precisely figure out what bit means what where and when.
2007-02-14(svn r8740) -Fix (r8783): GCC warnings about not-handled MP_ values in ↵Darkvater
switch case (glx)
2007-02-14(svn r8739) -Codechange: Update the oldloader debug levels to be more in ↵Darkvater
spec with the guidelines in debug.h.
2007-02-14(svn r8738) -Fix: TTDP games have all tiles touching the water marked as ↵Darkvater
MP_WATER, we do not (tiles with one corner, or steep tiles), so check and fix these tiles.
2007-02-14(svn r8737) -Regression (r8621): VEH_Type renumbering wasn't performed for ↵Darkvater
TTD(P) games, failing to load them
2007-02-13(svn r8707) -Codechange: Turn IsValidStation into a method of Stationcelestar
2007-02-10(svn r8660) -Fixtron
-Codechange: Remove _avail_aircraft Its name is misleading. It is rather _avail_airports, but then only some of them, which leads to inconsistencies when using it. Further it is unnecessary to store it in savegams.
2007-01-31(svn r8477) -Fixtron
-Codechange: Remove the unnecessary attributes Station::{bus,lorry}_tile_obsolete by replacing them with a scan of the map for existing road stops when loading old savegames
2007-01-31(svn r8475) -Fixtron
Remove the unused remnants of blocked_months_obsolete
2007-01-24(svn r8385) -Fixtron
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
2007-01-19(svn r8276) -Fixtron
Change the signature of Swap() to be less error prone, i.e. pass the variables to be swapped by reference instead of passing pointers to the variables. Just do Swap(x, y) instead of Swap(&x, &y). This prevents accidents when the variables are pointers.
2007-01-17(svn r8207) -Fixtron
Remove the write-only attribute RoadStop::station
2007-01-17(svn r8185) -Codechange: Equipped Roadstops with new/delete operators and ↵celestar
gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson)
2007-01-14(svn r8131) -Fix (r8125): g++ warning: 'invalid access to non-static data ↵KUDr
member ‘<class>::<member>’ of NULL object'. It is weird, but renaming the 'offsetof' macro helped.
2007-01-12(svn r8071) -Fix (r5999): [FS#536] Merging 32bit dates broke the ↵Darkvater
inauguration date of companies in oldloader: "The year the company was inaugurated (full value, not base-1920)" (Marcin Grzegorczyk's TTD internals site)
2007-01-11(svn r8056) -Codechange: Remove swap_byte, swap_byte, and siblings (some ↵celestar
were not used anyway) and replace them by our SwapT implementation
2007-01-11(svn r8050) -Codechange: Rename map member extra to m6, since its usage has ↵belugas
been widden. Only doc landscape_grid.html has been updated, landscape.html will be done latter. -CodeChange: Replace a direct access to m6 with SetTropicZone in InitializeLandscape, as it is the only part of m6 still untouched without the brute-forced m6=0
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)