Commit Graph

9042 Commits (6ac8ced9afbb3f7576a18b3ebb64d88a8653d990)
 

Author SHA1 Message Date
peter1138 6ac8ced9af (svn r12860) -Fix [FS#1947]: Train depart animation trigger was not called in some cases. 16 years ago
rubidium b2717d1426 (svn r12859) -Fix: make the town rating tests use less memory and much quicker; from 13% to unnoticable in the profile in games with lots of towns and lots of very active AIs. 16 years ago
rubidium 29ce273067 (svn r12858) -Add: small piece of code that can help hunting desyncs. Has to be enabled by --enable-desync-debug=1 though. 16 years ago
rubidium 2b85217bfe (svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code. 16 years ago
peter1138 7c8fe9791b (svn r12856) -Fix: Taking r12377 further, ensure that prop 25 is set for all vehicles in the consist before other properties. 16 years ago
rubidium d56827a9a9 (svn r12855) -Codechange: do not use autoptr's for testing whether certain objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though. 16 years ago
smatz a204a3b70e (svn r12854) -Codechange: make drawing of rail catenary a bit faster 16 years ago
smatz 112afdf7d8 (svn r12853) -Fix: catenary on tunnel entrances and middle bridge pieces was drawn twice in some cases 16 years ago
smatz ac0cfcde33 (svn r12852) -Fix: do not try to draw rail catenary above non-rail station tiles 16 years ago
glx 1461ba9d35 (svn r12850) -Fix (r12848): compilation was broken for some platforms 16 years ago
peter1138 b471c5d312 (svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering. 16 years ago
peter1138 616cd60651 (svn r12847) -Cleanup: Identing and variable scope 16 years ago
rubidium 420b1b53d3 (svn r12845) -Change: use YAPF for fairly old savegames from before YAPF was introduced. 16 years ago
rubidium 97f78133d2 (svn r12844) -Fix: the industry tick trigger should only be triggered once every 256 ticks, not every tick... Also bail out of the triggers a little earlier if you know they are not going to happen anyway. 16 years ago
bjarni 80a0435ba8 (svn r12843) -Feature [FS#1945]: The autoreplace window is now resizable in both directions
The code to open this window is also unified for all vehicle types
16 years ago
glx 2c057b318e (svn r12842) -Codechange [FS#1604]: scale message history by map size 16 years ago
peter1138 f767baba58 (svn r12839) -Codechange: Allocate temporary engine data when loading GRFs as needed instead of statically. 16 years ago
belugas 931aecda9f (svn r12837) -Codechange: Alignment of widget array 16 years ago
rubidium 8637e6afa1 (svn r12836) -Fix: SunOS non-dedicated server compilation. 16 years ago
peter1138 a05e9b4c6b (svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication. 16 years ago
frosch f43661e790 (svn r12820) -Documentation: Mark callbacks as 8 or 15 bit in 'newgrf_callbacks.h'. 16 years ago
rubidium e947fde701 (svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does it, i.e. testing the low bits for 0xFF or 0 instead of all bits. 16 years ago
rubidium bbe13a0623 (svn r12818) -Codechange: make callbacks 31 and 37 behave like they do in TTDP according to frosch's survey. 16 years ago
rubidium 5a17e6b395 (svn r12817) -Feature: the ability to play NewGRF sounds for industries and stations. 16 years ago
rubidium 23c0017272 (svn r12816) -Fix: the cargo count in the performance rating window could be wrong. 16 years ago
rubidium c5ac9ee678 (svn r12815) -Codechange: reshuffle some variables in the CargoPacket struct saving 4 of 36 bytes with a 32 bit compiler and 8 of 48 bytes on 64 bit compiler per cargo packets. There are generally more cargopackets in game than vehicles. 16 years ago
rubidium 4ce50a0d64 (svn r12814) -Codechange: reshuffle some variables in the Vehicle struct saving 20 bytes with a 32 bit compiler and 32 bytes on 64 bit compiler per vehicle. 16 years ago
rubidium 47ebab771f (svn r12813) -Fix [FS#1943]: the 'last built railtype' got reset too often. 16 years ago
glx 9a8d9c4ae5 (svn r12810) -Codechange: style and useless casts in CmdSetAutoReplace() 16 years ago
peter1138 dbb4dcaf5c (svn r12809) -Fix (r1704): Possible out of bounds array access. 16 years ago
glx 4a4da1eedf (svn r12808) -Fix: enforce autorenew values range in command
-Fix: typo in english.txt
16 years ago
rubidium 650651064b (svn r12805) -Codechange: remove some bit magic related to the news display states. Patch by cirdan. 16 years ago
rubidium 8186344628 (svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp 16 years ago
rubidium 40b19f3997 (svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing. 16 years ago
rubidium faa0ba46d0 (svn r12802) -Fix (r12800): do not commit from the src directory when you want to commit source.list too. 16 years ago
rubidium d010ae9408 (svn r12801) -Codechange: remove the dependency of function.h in town_map.h 16 years ago
rubidium ba0532b595 (svn r12800) -Codechange: move the animated tile related functions out of texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions. 16 years ago
peter1138 61ba65846a (svn r12799) -Fix (r12798): Empty for-loop warnings from gcc 4.3+ 16 years ago
peter1138 3b7558b89c (svn r12798) -Feature: Add some support for NewGRF station animation. (Thanks to mart3p for samples and fixes) 16 years ago
bjarni fa4967d845 (svn r12797) -Codechange: [autoreplace] moved wagon removal to a function of it's own 16 years ago
rubidium af5775a5ec (svn r12796) -Fix: the dedicated blitter did segfault too, like the null blitter did. 16 years ago
rubidium a63974547b (svn r12795) -Fix [FS#1938]: vehicles could break down during loading and keep loading. The intention of the break down code is not to break down when having zero speed, therefor break downs now do not happen when loading. 16 years ago
bjarni fa549be09e (svn r12794) -Doc: added missing doxygen comment in autoreplace_cmd.cpp 16 years ago
peter1138 2d659ac8bd (svn r12793) -Codechange: Use enum values for station types instead of mysterious hex (ln) 16 years ago
bjarni db403cbe92 (svn r12792) -Codechange: [autoreplace] added a function to figure out if a replacement is needed and if so, to which EngineID
It's designed to save a bit of CPU time, specially if the replacement isn't buildable (think autorenew of old vehicle)
16 years ago
bjarni 44145548ea (svn r12791) -Codechange: [autoreplace] Added a flag parameter (listens for DC_EXEC and DC_QUERY_COST) and included more info when returning CommandCost
This allowed cleaning up the code in MaybeReplaceVehicle()
16 years ago
rubidium a9775dfcc9 (svn r12790) -Codechange: code style fixes. Patch by Alberth. 16 years ago
rubidium 51c7ba39a4 (svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth. 16 years ago
rubidium 99733b2b3e (svn r12788) -Codechange: unduplicate some vehicle GUI code. Patch by Alberth. 16 years ago
rubidium 081f627018 (svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth. 16 years ago