Commit Graph

9003 Commits (fa4967d8459b1626348ff62342e77c8bd14720c0)
 

Author SHA1 Message Date
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
rubidium af34ce0b5d (svn r12786) -Change: remove more function from functions.h. 16 years ago
rubidium bfd2cac6e2 (svn r12785) -Codechange: put all news-type related constants in the same array. Patch by cirdan. 16 years ago
rubidium 0670ec6ee1 (svn r12784) -Codechange: handle the asynchronious save 'handlers' in saveload.cpp instead of openttd.cpp. 16 years ago
rubidium 1b867382d6 (svn r12783) -Codechange: do not statically allocate the 'temporary map3 array' in the oldloader. 16 years ago
rubidium 136e26925e (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 312d54bc3b (svn r12780) -Fix: the null blitter did segfault. 16 years ago
rubidium 7e5639ccea (svn r12779) -Codechange: remove a few constants from openttd.h. 16 years ago
smatz 6813a17d15 (svn r12778) -Codechange: add the NORETURN attribute to *allocError() functions 16 years ago
smatz 3fe8c58257 (svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute 16 years ago
egladil cd7536123b (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 36d3553b9b (svn r12773) -Codechange: replace some magic numbers with enums. 16 years ago
rubidium c7e2ca8cfd (svn r12772) -Codechange: some vehicle.cpp coding style. 16 years ago
rubidium 6d25cd50dd (svn r12771) -Codechange: remove more from variables.h. 16 years ago
glx c37935f53e (svn r12770) -Add: check for missing (forgotten) header files in the generate.vbs script. 16 years ago
rubidium 5c5bd70284 (svn r12769) -Codechange: some coding style cleanups. 16 years ago
rubidium 44128682cf (svn r12768) -Codechange: move the statusbar GUI to it's own file. 16 years ago
rubidium bc37ae3f2a (svn r12767) -Codechange: merge all main toolbar related functions into a single file instead of scattering the functionality over several files. 16 years ago
rubidium 8857f5057f (svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by Sir Bob. 16 years ago
rubidium d46d8d9c9d (svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h. 16 years ago
rubidium 7d234fa069 (svn r12764) -Add: check for missing (forgotten) header files in the generate script. 16 years ago
rubidium 6de7106d0f (svn r12763) -Fix: some headers were missing/still included in the MSVC project files. 16 years ago
rubidium f4b07a78c4 (svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs). 16 years ago
rubidium ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 16 years ago
belugas d2b55e7afd (svn r12760) -Fix(r12759): Remove a now useless comment 16 years ago
belugas 13dcf2ed7e (svn r12759) -Fix(r12358): There is no need to mask callback result for pre-version7 since CBID_INDTILE_SHAPE_CHECK (cb2F) is really 15 bits. 16 years ago
belugas ed497b4fa7 (svn r12758) -Fix(r4712, r12745): Use a bool when it's about boolean evaluation. a TileIndex is hardly a bool, of course of course. Thanks for good old MSVC warnings. 16 years ago
rubidium 18e64b28e2 (svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location. 16 years ago
smatz fa4b5b1c18 (svn r12756) -Cleanup: variable scope and coding style in station* 16 years ago
glx 72c16c4de7 (svn r12755) -Fix (r12706): aborting map generation was not properly handled 16 years ago
rubidium 6d063c3ad6 (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. 16 years ago
smatz ec588da9e8 (svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used 16 years ago
rubidium b0e687f60c (svn r12752) -Codechange: replace some magic constants in player_gui.cpp. Patch by Yexo. 16 years ago
rubidium 6dc210b171 (svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory. 16 years ago
rubidium c7357bee94 (svn r12750) -Fix (r12749): viewport for industry new messages was not shown properly. 16 years ago
rubidium 2752568d61 (svn r12749) -Codechange: store the viewport information in the windows that have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport. 16 years ago
peter1138 9c3725827a (svn r12747) -Codechange: Add varaction retrieval of station animation frame 16 years ago
peter1138 757d61b22f (svn r12746) -Codechange: Add map storage for station animation frame 16 years ago
smatz 966e476df8 (svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile() 16 years ago
rubidium 61074c4bf8 (svn r12741) -Codechange: do not allocate the viewport drawer each time on the stack, but only once and reuse this. 16 years ago