Commit Graph

9175 Commits (b47a151bcec9fe3f41ca8fad313aa2e155476cfe)
 

Author SHA1 Message Date
belugas da134d5a39 (svn r12837) -Codechange: Alignment of widget array 16 years ago
rubidium 845b827fbc (svn r12836) -Fix: SunOS non-dedicated server compilation. 16 years ago
peter1138 5dcd689f56 (svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication. 16 years ago
frosch 173ac52da5 (svn r12820) -Documentation: Mark callbacks as 8 or 15 bit in 'newgrf_callbacks.h'. 16 years ago
rubidium 5ef8c01ce7 (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 22140d82c6 (svn r12818) -Codechange: make callbacks 31 and 37 behave like they do in TTDP according to frosch's survey. 16 years ago
rubidium a40bba8bac (svn r12817) -Feature: the ability to play NewGRF sounds for industries and stations. 16 years ago
rubidium 2a779a5e10 (svn r12816) -Fix: the cargo count in the performance rating window could be wrong. 16 years ago
rubidium cea98ea0e6 (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 dea4738382 (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 c332c68170 (svn r12813) -Fix [FS#1943]: the 'last built railtype' got reset too often. 16 years ago
glx 4395bda7b5 (svn r12810) -Codechange: style and useless casts in CmdSetAutoReplace() 16 years ago
peter1138 b418ee5a4c (svn r12809) -Fix (r1704): Possible out of bounds array access. 16 years ago
glx f7d3d879c5 (svn r12808) -Fix: enforce autorenew values range in command
-Fix: typo in english.txt
16 years ago
rubidium fccfcd093b (svn r12805) -Codechange: remove some bit magic related to the news display states. Patch by cirdan. 16 years ago
rubidium b139756e2b (svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp 16 years ago
rubidium f55ffd14bd (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 12ae3a2194 (svn r12802) -Fix (r12800): do not commit from the src directory when you want to commit source.list too. 16 years ago
rubidium 181b36ca0b (svn r12801) -Codechange: remove the dependency of function.h in town_map.h 16 years ago
rubidium 15680e477a (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 4f8409daf6 (svn r12799) -Fix (r12798): Empty for-loop warnings from gcc 4.3+ 16 years ago
peter1138 210d757499 (svn r12798) -Feature: Add some support for NewGRF station animation. (Thanks to mart3p for samples and fixes) 16 years ago
bjarni de015fbf90 (svn r12797) -Codechange: [autoreplace] moved wagon removal to a function of it's own 16 years ago
rubidium c884d82e46 (svn r12796) -Fix: the dedicated blitter did segfault too, like the null blitter did. 16 years ago
rubidium 0e624275ee (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 c360e71e3c (svn r12794) -Doc: added missing doxygen comment in autoreplace_cmd.cpp 16 years ago
peter1138 4f2c2656e7 (svn r12793) -Codechange: Use enum values for station types instead of mysterious hex (ln) 16 years ago
bjarni 01549e1574 (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 ad3ef0fb26 (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 752c8d8f2e (svn r12790) -Codechange: code style fixes. Patch by Alberth. 16 years ago
rubidium 24b5c91039 (svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth. 16 years ago
rubidium 1dcf912f06 (svn r12788) -Codechange: unduplicate some vehicle GUI code. Patch by Alberth. 16 years ago
rubidium c84fe27ca9 (svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth. 16 years ago
rubidium 118a680fd3 (svn r12786) -Change: remove more function from functions.h. 16 years ago
rubidium 222988603f (svn r12785) -Codechange: put all news-type related constants in the same array. Patch by cirdan. 16 years ago
rubidium 161b588631 (svn r12784) -Codechange: handle the asynchronious save 'handlers' in saveload.cpp instead of openttd.cpp. 16 years ago
rubidium e0722751c6 (svn r12783) -Codechange: do not statically allocate the 'temporary map3 array' in the oldloader. 16 years ago
rubidium 49cfba55bb (svn r12782) -Codechange: remove some functions from functions.h and do not statically 'waste' memory when the old name array is not needed anymore. 16 years ago
rubidium 15242b1784 (svn r12780) -Fix: the null blitter did segfault. 16 years ago
rubidium dde68e922a (svn r12779) -Codechange: remove a few constants from openttd.h. 16 years ago
smatz 14dc60c8a1 (svn r12778) -Codechange: add the NORETURN attribute to *allocError() functions 16 years ago
smatz f32ecbcadb (svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute 16 years ago
egladil 8e49daf3e1 (svn r12776) -Fix: [OSX] In some rare cases when using an uncalibrated monitor the system colour space could not be retrieved. Show an error when this happens instead of just trying an assertion. 16 years ago
rubidium e5eac05c6e (svn r12773) -Codechange: replace some magic numbers with enums. 16 years ago
rubidium fb466f4db2 (svn r12772) -Codechange: some vehicle.cpp coding style. 16 years ago
rubidium 7edc9b65c6 (svn r12771) -Codechange: remove more from variables.h. 16 years ago
glx 3547e6d2ba (svn r12770) -Add: check for missing (forgotten) header files in the generate.vbs script. 16 years ago
rubidium 0cecc4af20 (svn r12769) -Codechange: some coding style cleanups. 16 years ago
rubidium 8c2c7c27ea (svn r12768) -Codechange: move the statusbar GUI to it's own file. 16 years ago
rubidium dc16b4f2b4 (svn r12767) -Codechange: merge all main toolbar related functions into a single file instead of scattering the functionality over several files. 16 years ago