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()
|
17 years ago |
rubidium
|
752c8d8f2e
|
(svn r12790) -Codechange: code style fixes. Patch by Alberth.
|
17 years ago |
rubidium
|
24b5c91039
|
(svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
|
17 years ago |
rubidium
|
1dcf912f06
|
(svn r12788) -Codechange: unduplicate some vehicle GUI code. Patch by Alberth.
|
17 years ago |
rubidium
|
c84fe27ca9
|
(svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth.
|
17 years ago |
rubidium
|
118a680fd3
|
(svn r12786) -Change: remove more function from functions.h.
|
17 years ago |
rubidium
|
222988603f
|
(svn r12785) -Codechange: put all news-type related constants in the same array. Patch by cirdan.
|
17 years ago |
rubidium
|
161b588631
|
(svn r12784) -Codechange: handle the asynchronious save 'handlers' in saveload.cpp instead of openttd.cpp.
|
17 years ago |
rubidium
|
e0722751c6
|
(svn r12783) -Codechange: do not statically allocate the 'temporary map3 array' in the oldloader.
|
17 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.
|
17 years ago |
rubidium
|
15242b1784
|
(svn r12780) -Fix: the null blitter did segfault.
|
17 years ago |
rubidium
|
dde68e922a
|
(svn r12779) -Codechange: remove a few constants from openttd.h.
|
17 years ago |
smatz
|
14dc60c8a1
|
(svn r12778) -Codechange: add the NORETURN attribute to *allocError() functions
|
17 years ago |
smatz
|
f32ecbcadb
|
(svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute
|
17 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.
|
17 years ago |
rubidium
|
e5eac05c6e
|
(svn r12773) -Codechange: replace some magic numbers with enums.
|
17 years ago |
rubidium
|
fb466f4db2
|
(svn r12772) -Codechange: some vehicle.cpp coding style.
|
17 years ago |
rubidium
|
7edc9b65c6
|
(svn r12771) -Codechange: remove more from variables.h.
|
17 years ago |
glx
|
3547e6d2ba
|
(svn r12770) -Add: check for missing (forgotten) header files in the generate.vbs script.
|
17 years ago |
rubidium
|
0cecc4af20
|
(svn r12769) -Codechange: some coding style cleanups.
|
17 years ago |
rubidium
|
8c2c7c27ea
|
(svn r12768) -Codechange: move the statusbar GUI to it's own file.
|
17 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.
|
17 years ago |
rubidium
|
31411d4755
|
(svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by Sir Bob.
|
17 years ago |
rubidium
|
1b2773445d
|
(svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h.
|
17 years ago |
rubidium
|
2070cee089
|
(svn r12764) -Add: check for missing (forgotten) header files in the generate script.
|
17 years ago |
rubidium
|
8fa715e43b
|
(svn r12763) -Fix: some headers were missing/still included in the MSVC project files.
|
17 years ago |
rubidium
|
acafc26426
|
(svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).
|
17 years ago |
rubidium
|
9d8fa486af
|
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
|
17 years ago |
belugas
|
6daaf0fc55
|
(svn r12760) -Fix(r12759): Remove a now useless comment
|
17 years ago |
belugas
|
8e4b259352
|
(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.
|
17 years ago |
belugas
|
184ffbb976
|
(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.
|
17 years ago |
rubidium
|
b1d1a4ac66
|
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
|
17 years ago |
smatz
|
5050ba84fb
|
(svn r12756) -Cleanup: variable scope and coding style in station*
|
17 years ago |
glx
|
a2884f0a3c
|
(svn r12755) -Fix (r12706): aborting map generation was not properly handled
|
17 years ago |
rubidium
|
02cdf01507
|
(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.
|
17 years ago |
smatz
|
059e94e355
|
(svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used
|
17 years ago |
rubidium
|
e098b50379
|
(svn r12752) -Codechange: replace some magic constants in player_gui.cpp. Patch by Yexo.
|
17 years ago |
rubidium
|
00f0bf98ee
|
(svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory.
|
17 years ago |
rubidium
|
5796fb3b34
|
(svn r12750) -Fix (r12749): viewport for industry new messages was not shown properly.
|
17 years ago |
rubidium
|
c31287206d
|
(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.
|
17 years ago |
peter1138
|
0cd14f9ebb
|
(svn r12747) -Codechange: Add varaction retrieval of station animation frame
|
17 years ago |
peter1138
|
b2095f37ac
|
(svn r12746) -Codechange: Add map storage for station animation frame
|
17 years ago |
smatz
|
9488db56d4
|
(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()
|
17 years ago |
rubidium
|
1367c90161
|
(svn r12741) -Codechange: do not allocate the viewport drawer each time on the stack, but only once and reuse this.
|
17 years ago |
rubidium
|
4703eb2036
|
(svn r12740) -Codechange: use a vector instead of allocating memory in a byte array for ChildScreenSpriteToDraw.
|
17 years ago |
rubidium
|
5254131d9c
|
(svn r12739) -Codechange: use a vector instead of allocating memory in a byte array for ParentSpriteToDraw.
|
17 years ago |
smatz
|
1f22f47b3b
|
(svn r12738) -Fix (r12736): some sprites could be left unsorted
|
17 years ago |
peter1138
|
7957bdde13
|
(svn r12737) -Codechange: Replace vector with a cut down class to allocate space as necessary. This avoids copying data around for vector's push_back() function.
|
17 years ago |
rubidium
|
208dd15c91
|
(svn r12736) -Codechange: a (small) touch of coding style in viewport.cpp.
|
17 years ago |
rubidium
|
6ab158f9d9
|
(svn r12735) -Codechange: use a vector instead of allocating memory in a byte array for TileSpriteToDraw.
|
17 years ago |