Commit Graph

69 Commits (2ba5bf8947f8c879ed1f41cdd218c6271f626151)

Author SHA1 Message Date
rubidium 98b4fa7c07 (svn r11792) -Codechange: move some (virtually) globally included AI related structs to a place where they are only included a few times. 17 years ago
peter1138 1cabc8eb63 (svn r11784) -Codechange: set up initial engine data in one place 17 years ago
peter1138 d2fb6614c6 (svn r11782) -Codechange: e->type was used before being properly initialized (it relied on previous runs) but there is no need to invalidate window data during game load as the windows in question cannot be open. 17 years ago
rubidium e2f7ec1d3e (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location. 17 years ago
rubidium 444e77d8bc (svn r11774) -Change: do not include variables.h in a header when it is not needed. 17 years ago
rubidium 722613f7f3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago
rubidium db73addb43 (svn r11702) -Codechange: move all date related stuff to date*. 17 years ago
rubidium f82aeb82c5 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 81bf9f8503 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
rubidium 507463e420 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
rubidium 1f6043458c (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 17 years ago
rubidium 766551b0bc (svn r11677) -Codechange: move price and command related types/functions to their respective places. 17 years ago
skidd13 815b8d8df1 (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style 17 years ago
skidd13 6801cceda1 (svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 c0a2c0c23e (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
skidd13 98f66552be (svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style 17 years ago
rubidium 04c09b9bf2 (svn r11280) -Fix [FS#1343]: wrong money related values when loading old games. Inspired on a patch by SmatZ. 17 years ago
rubidium 8c33d938cb (svn r11275) -Fix: oldloader crashing when referencing a vehicle that is not yet loaded. 17 years ago
rubidium 2cb0906c58 (svn r11271) -Fix [FS#1333]: some (very) old games (TTD original scenarios for example) would give a new vehicle spree, even though the vehicles were introduced decades ago. 17 years ago
glx 748d5141cd (svn r11255) -Fix [FS#1332]: industry counter was not updated on TTD savegame loading 17 years ago
truelight 87cac26fc0 (svn r11245) -Fix r11228: the moreanimation feature made loading TTD(p) games impossible (Csaboka) 17 years ago
rubidium 91ac131014 (svn r11228) -Codechange: implement the "moreanimation" feature of TTDP, so we can properly support newindustries. 17 years ago
rubidium 704844ed43 (svn r11057) -Fix [FS#1215]: loading TTD savegames went into an infinite loop due to not yet properly set next and previous pointers. 17 years ago
rubidium f830699971 (svn r11004) -Codechange: some reworks of the saveload mechanism to be able to save and load private and protected variables in the vehicle struct. 17 years ago
rubidium d5bc4d8b2a (svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted cargo too. 17 years ago
rubidium bf8ec55db5 (svn r10771) -Codechange: remove some code duplication from the old loader. 17 years ago
rubidium 2f89fef353 (svn r10759) -Codechange: make the industry struct use the pool item class as super class. 17 years ago
rubidium c60988a1d5 (svn r10758) -Codechange: make the depot struct use the pool item class as super class. 17 years ago
rubidium a67957866a (svn r10697) -Codechange: give a more sensible names to some of the unkX variables. 17 years ago
rubidium 45b0b7755d (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 17 years ago
rubidium c0ba3dba9d (svn r10439) -Codechange: initial steps for customized industry productions. 17 years ago
rubidium fc201d4ad8 (svn r10266) -Codechange: keep track of the origin, time of travel and 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. 17 years ago
rubidium f765b3d6aa (svn r10212) -Fix [FS#723]: money overflow bugs in many locations. 17 years ago
rubidium 7dda2d93da (svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money. 17 years ago
rubidium a84e6b015d (svn r10147) -Fix: the oldloader did clear some bits for road vehicles that shouldn't be cleared in some cases. 17 years ago
rubidium 8ed345d5fb (svn r10145) -Fix: make compiling with networking disabled (again) possible. 17 years ago
rubidium d255041365 (svn r10058) -Codechange: give some industry variable sensible names (like not telling "last_mo_production" when it is the production of the current month). 17 years ago
belugas c4b90f3137 (svn r9867) -Codechange: Remove data duplication. The exact same values can be found in the industry spec, so take it from there instead. 17 years ago
rubidium 533ddeb9e6 (svn r9857) -Fix: loading of TTDP savegames with features that OTTD has. 17 years ago
rubidium dfe7c5cd66 (svn r9763) -Codechange/Fix (r9760): don't read the variables that are calculated automatically either. 17 years ago
rubidium 0def47a3b0 (svn r9754) -Codechange: make classes for all vehicle types, so we can make nicer/better maintainable code, i.e. virtual methods instead of switches. 17 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 17 years ago
belugas 4d86aa2479 (svn r9390) -Documentation : correct Doxygen of comments and @file inclusion. This time, brought to you by the letter O 18 years ago
bjarni 0ad237611e (svn r9072) -Codechange: [Orders] added methods to orders to free them and check if they are in use 18 years ago
rubidium 36cea84b11 (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). 18 years ago
rubidium 979ccd45ba (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 18 years ago
rubidium 4169bfba06 (svn r9050) -Codechange: Foo(void) -> Foo() 18 years ago
truelight b3b14ac2ad (svn r9034) -Codechange: renamed _pause to _pause_game, as some targets already have
a symbol called _pause (and therefor our variable conflicts with 
 thatone. We shouldn't be using _ as global indicator.....)
18 years ago
Darkvater 9cf01ff432 (svn r8844) -Revert partly (r8820, r8806): Change AppendToGRFConfigList to add the allocated GRFConfig to its list and not copy it. 18 years ago
Darkvater 37f14d4444 (svn r8820) -Codechange (r8807, r8806): Remove the unneeded calloc/free allocation of GRFConfig and turn it into a simple variable (it's supposed to be data-only). Thanks Tron. 18 years ago