Commit Graph

88 Commits (f1cd7ef5ee9d0862622d53a4c348d6f9debd500e)

Author SHA1 Message Date
rubidium 8cd1795fe3 (svn r12587) -Codechange: unduplicate some code in the Unpack*Order functions and move the 'normal' case Pack/Unpack to Order. 17 years ago
rubidium 5b47f81b0f (svn r12584) -Codechange: do not access the order type directly. 17 years ago
rubidium 56e63a6044 (svn r12583) -Codechange: make AssignOrder a class function of order. 17 years ago
frosch 15a9fba867 (svn r12531) -Codechange: Rename some variables for consistency. 17 years ago
rubidium a0895d57fa (svn r12501) -Codechange: split signs.h. 17 years ago
rubidium ef2be7d0fc (svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h. 17 years ago
rubidium 2edd403656 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 17 years ago
glx 3f3598bd76 (svn r12401) -Fix (r9754): when loading TTD savegame some data were lost (profits, ...) due to a 'reallocation' for vehicle type conversion. The conversion is now done before loading the vehicle chunk. 17 years ago
rubidium 83fec1b297 (svn r12399) -Fix: some old DOS savegame didn't load properly due to 'garbage' that was sprinkled in some places. 17 years ago
skidd13 a887b79f90 (svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo) 17 years ago
peter1138 d1c741db4c (svn r12143) -Fix (r8038): Engine::preview_player does not contain a Player ID. Rename this to preview_player_rank and change back to a uint8 to avoid confusion. 17 years ago
rubidium 3b2145aafe (svn r12004) -Codechange: refactor the random functions to reduce code duplication. 17 years ago
frosch d11aeb118c (svn r11982) -Revert (r8738): Now we have shores in corners. No need to remove them from TTDP games. 17 years ago
peter1138 697b07c99c (svn r11971) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops 17 years ago
rubidium d4e6a6bf57 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
peter1138 c7debf7908 (svn r11824) -Fix (r11822): Converting signs from TTD games incomplete 17 years ago
peter1138 e677814a4b (svn r11823) -Fix (r11822): Custom names from old TTD games were not updated. 17 years ago
peter1138 ab8382c0db (svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
rubidium ac528411df (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
rubidium b4337eba83 (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 ce2104ed47 (svn r11784) -Codechange: set up initial engine data in one place 17 years ago
peter1138 352f13dad1 (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 a8a3a7e3f2 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location. 17 years ago
rubidium b0ac283aec (svn r11774) -Change: do not include variables.h in a header when it is not needed. 17 years ago
rubidium 384503e7d3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago
rubidium b9046c97fb (svn r11702) -Codechange: move all date related stuff to date*. 17 years ago
rubidium 2786d789a1 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 429521a7d1 (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 a773d45885 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
rubidium 8f0e68285b (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 9e9cfe6e59 (svn r11677) -Codechange: move price and command related types/functions to their respective places. 17 years ago
skidd13 bf959f926f (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style 17 years ago
skidd13 5c31a973a1 (svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 71c4325c50 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
skidd13 8be526e499 (svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style 17 years ago
rubidium feda05d67d (svn r11280) -Fix [FS#1343]: wrong money related values when loading old games. Inspired on a patch by SmatZ. 17 years ago
rubidium 4f512a70c3 (svn r11275) -Fix: oldloader crashing when referencing a vehicle that is not yet loaded. 17 years ago
rubidium 31bf6876d3 (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 d47e51c246 (svn r11255) -Fix [FS#1332]: industry counter was not updated on TTD savegame loading 17 years ago
truelight 8b7f864c2d (svn r11245) -Fix r11228: the moreanimation feature made loading TTD(p) games impossible (Csaboka) 17 years ago
rubidium cb6cdf7978 (svn r11228) -Codechange: implement the "moreanimation" feature of TTDP, so we can properly support newindustries. 17 years ago
rubidium 4eef590b15 (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 9b65bc430c (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 a0d37ea7b9 (svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted cargo too. 17 years ago
rubidium 48df8b374c (svn r10771) -Codechange: remove some code duplication from the old loader. 17 years ago
rubidium e4149482ec (svn r10759) -Codechange: make the industry struct use the pool item class as super class. 17 years ago
rubidium 549450d31a (svn r10758) -Codechange: make the depot struct use the pool item class as super class. 17 years ago
rubidium 5bd241eb5b (svn r10697) -Codechange: give a more sensible names to some of the unkX variables. 17 years ago
rubidium 3dd6362bb8 (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 17 years ago
rubidium 1bdb72ebd4 (svn r10439) -Codechange: initial steps for customized industry productions. 17 years ago