summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-19(svn r12792) -Codechange: [autoreplace] added a function to figure out if a ↵bjarni
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)
2008-04-19(svn r12791) -Codechange: [autoreplace] Added a flag parameter (listens for ↵bjarni
DC_EXEC and DC_QUERY_COST) and included more info when returning CommandCost This allowed cleaning up the code in MaybeReplaceVehicle()
2008-04-19(svn r12790) -Codechange: code style fixes. Patch by Alberth.rubidium
2008-04-19(svn r12789) -Codechange: rename AssignWindowViewport to ↵rubidium
InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
2008-04-19(svn r12788) -Codechange: unduplicate some vehicle GUI code. Patch by Alberth.rubidium
2008-04-19(svn r12787) -Documentation: add/fix documentation of some functions. Patch ↵rubidium
by Alberth.
2008-04-19(svn r12786) -Change: remove more function from functions.h.rubidium
2008-04-19(svn r12785) -Codechange: put all news-type related constants in the same ↵rubidium
array. Patch by cirdan.
2008-04-19(svn r12784) -Codechange: handle the asynchronious save 'handlers' in ↵rubidium
saveload.cpp instead of openttd.cpp.
2008-04-19(svn r12783) -Codechange: do not statically allocate the 'temporary map3 ↵rubidium
array' in the oldloader.
2008-04-19(svn r12782) -Codechange: remove some functions from functions.h and do not ↵rubidium
statically 'waste' memory when the old name array is not needed anymore.
2008-04-18(svn r12780) -Fix: the null blitter did segfault.rubidium
2008-04-18(svn r12779) -Codechange: remove a few constants from openttd.h.rubidium
2008-04-18(svn r12778) -Codechange: add the NORETURN attribute to *allocError() functionssmatz
2008-04-18(svn r12777) -Codechange: rename fatal() and error() in strgen, so it can ↵smatz
always have the NORETURN attribute
2008-04-18(svn r12776) -Fix: [OSX] In some rare cases when using an uncalibrated ↵egladil
monitor the system colour space could not be retrieved. Show an error when this happens instead of just trying an assertion.
2008-04-18(svn r12773) -Codechange: replace some magic numbers with enums.rubidium
2008-04-18(svn r12772) -Codechange: some vehicle.cpp coding style.rubidium
2008-04-18(svn r12771) -Codechange: remove more from variables.h.rubidium
2008-04-18(svn r12770) -Add: check for missing (forgotten) header files in the ↵glx
generate.vbs script.
2008-04-18(svn r12769) -Codechange: some coding style cleanups.rubidium
2008-04-18(svn r12768) -Codechange: move the statusbar GUI to it's own file.rubidium
2008-04-18(svn r12767) -Codechange: merge all main toolbar related functions into a ↵rubidium
single file instead of scattering the functionality over several files.
2008-04-18(svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by ↵rubidium
Sir Bob.
2008-04-18(svn r12765) -Codechange: move some stuff out of variables.h that required ↵rubidium
including other headers in variables.h.
2008-04-18(svn r12764) -Add: check for missing (forgotten) header files in the ↵rubidium
generate script.
2008-04-18(svn r12763) -Fix: some headers were missing/still included in the MSVC ↵rubidium
project files.
2008-04-18(svn r12762) -Fix: tabs after the first non-tab character are generally not ↵rubidium
okay (or lines starting with a space and then tabs).
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-18(svn r12760) -Fix(r12759): Remove a now useless commentbelugas
2008-04-18(svn r12759) -Fix(r12358): There is no need to mask callback result for ↵belugas
pre-version7 since CBID_INDTILE_SHAPE_CHECK (cb2F) is really 15 bits.
2008-04-18(svn r12758) -Fix(r4712, r12745): Use a bool when it's about boolean ↵belugas
evaluation. a TileIndex is hardly a bool, of course of course. Thanks for good old MSVC warnings.
2008-04-17(svn r12757) -Codechange: move all cheat related stuff from all over the ↵rubidium
place to a single location.
2008-04-17(svn r12756) -Cleanup: variable scope and coding style in station*smatz
2008-04-17(svn r12755) -Fix (r12706): aborting map generation was not properly handledglx
2008-04-17(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵rubidium
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-17(svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler ↵smatz
function can be used
2008-04-17(svn r12752) -Codechange: replace some magic constants in player_gui.cpp. ↵rubidium
Patch by Yexo.
2008-04-17(svn r12751) -Codechange: do what has been done in r11862 in a different way ↵rubidium
so it uses less memory.
2008-04-17(svn r12750) -Fix (r12749): viewport for industry new messages was not shown ↵rubidium
properly.
2008-04-17(svn r12749) -Codechange: store the viewport information in the windows that ↵rubidium
have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport.
2008-04-17(svn r12747) -Codechange: Add varaction retrieval of station animation framepeter1138
2008-04-17(svn r12746) -Codechange: Add map storage for station animation framepeter1138
2008-04-17(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()smatz
2008-04-16(svn r12741) -Codechange: do not allocate the viewport drawer each time on ↵rubidium
the stack, but only once and reuse this.
2008-04-16(svn r12740) -Codechange: use a vector instead of allocating memory in a ↵rubidium
byte array for ChildScreenSpriteToDraw.
2008-04-16(svn r12739) -Codechange: use a vector instead of allocating memory in a ↵rubidium
byte array for ParentSpriteToDraw.
2008-04-16(svn r12738) -Fix (r12736): some sprites could be left unsortedsmatz
2008-04-16(svn r12737) -Codechange: Replace vector with a cut down class to allocate ↵peter1138
space as necessary. This avoids copying data around for vector's push_back() function.
2008-04-16(svn r12736) -Codechange: a (small) touch of coding style in viewport.cpp.rubidium