summaryrefslogtreecommitdiff
path: root/src/oldloader.cpp
AgeCommit message (Collapse)Author
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-19(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-10-16(svn r11280) -Fix [FS#1343]: wrong money related values when loading old ↵rubidium
games. Inspired on a patch by SmatZ.
2007-10-16(svn r11275) -Fix: oldloader crashing when referencing a vehicle that is not ↵rubidium
yet loaded.
2007-10-15(svn r11271) -Fix [FS#1333]: some (very) old games (TTD original scenarios ↵rubidium
for example) would give a new vehicle spree, even though the vehicles were introduced decades ago.
2007-10-13(svn r11255) -Fix [FS#1332]: industry counter was not updated on TTD ↵glx
savegame loading
2007-10-11(svn r11245) -Fix r11228: the moreanimation feature made loading TTD(p) ↵truelight
games impossible (Csaboka)
2007-10-08(svn r11228) -Codechange: implement the "moreanimation" feature of TTDP, so ↵rubidium
we can properly support newindustries.
2007-09-07(svn r11057) -Fix [FS#1215]: loading TTD savegames went into an infinite ↵rubidium
loop due to not yet properly set next and previous pointers.
2007-08-30(svn r11004) -Codechange: some reworks of the saveload mechanism to be able ↵rubidium
to save and load private and protected variables in the vehicle struct.
2007-08-26(svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted ↵rubidium
cargo too.
2007-08-03(svn r10771) -Codechange: remove some code duplication from the old loader.rubidium
2007-08-02(svn r10759) -Codechange: make the industry struct use the pool item class ↵rubidium
as super class.
2007-08-02(svn r10758) -Codechange: make the depot struct use the pool item class as ↵rubidium
super class.
2007-07-26(svn r10697) -Codechange: give a more sensible names to some of the unkX ↵rubidium
variables.
2007-07-16(svn r10601) -Codechange: store (and use) the type of stations instead of ↵rubidium
hardcoding station types by graphics IDs.
2007-07-04(svn r10439) -Codechange: initial steps for customized industry productions.rubidium
2007-06-22(svn r10266) -Codechange: keep track of the origin, time of travel and ↵rubidium
accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
2007-06-19(svn r10212) -Fix [FS#723]: money overflow bugs in many locations.rubidium
2007-06-18(svn r10207) -Codechange: remove the redundant player_money in favour of the ↵rubidium
money64, which is now renamed to player_money.
2007-06-13(svn r10147) -Fix: the oldloader did clear some bits for road vehicles that ↵rubidium
shouldn't be cleared in some cases.
2007-06-13(svn r10145) -Fix: make compiling with networking disabled (again) possible.rubidium
2007-06-07(svn r10058) -Codechange: give some industry variable sensible names (like ↵rubidium
not telling "last_mo_production" when it is the production of the current month).
2007-05-18(svn r9867) -Codechange: Remove data duplication. The exact same values can ↵belugas
be found in the industry spec, so take it from there instead.
2007-05-16(svn r9857) -Fix: loading of TTDP savegames with features that OTTD has.rubidium
2007-05-01(svn r9763) -Codechange/Fix (r9760): don't read the variables that are ↵rubidium
calculated automatically either.
2007-04-29(svn r9754) -Codechange: make classes for all vehicle types, so we can make ↵rubidium
nicer/better maintainable code, i.e. virtual methods instead of switches.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-03-21(svn r9390) -Documentation : correct Doxygen of comments and @file ↵belugas
inclusion. This time, brought to you by the letter O
2007-03-08(svn r9072) -Codechange: [Orders] added methods to orders to free them and ↵bjarni
check if they are in use
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-06(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets ↵truelight
already have a symbol called _pause (and therefor our variable conflicts with thatone. We shouldn't be using _ as global indicator.....)
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