Commit Graph

9639 Commits

Author SHA1 Message Date
rubidium
1b867382d6 (svn r12783) -Codechange: do not statically allocate the 'temporary map3 array' in the oldloader. 2008-04-19 08:34:03 +00:00
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. 2008-04-19 08:21:55 +00:00
rubidium
312d54bc3b (svn r12780) -Fix: the null blitter did segfault. 2008-04-18 23:32:10 +00:00
rubidium
7e5639ccea (svn r12779) -Codechange: remove a few constants from openttd.h. 2008-04-18 21:49:38 +00:00
smatz
6813a17d15 (svn r12778) -Codechange: add the NORETURN attribute to *allocError() functions 2008-04-18 21:38:36 +00:00
smatz
3fe8c58257 (svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute 2008-04-18 21:33:21 +00:00
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. 2008-04-18 21:21:25 +00:00
rubidium
36d3553b9b (svn r12773) -Codechange: replace some magic numbers with enums. 2008-04-18 19:26:52 +00:00
rubidium
c7e2ca8cfd (svn r12772) -Codechange: some vehicle.cpp coding style. 2008-04-18 17:53:06 +00:00
rubidium
6d25cd50dd (svn r12771) -Codechange: remove more from variables.h. 2008-04-18 16:51:54 +00:00
glx
c37935f53e (svn r12770) -Add: check for missing (forgotten) header files in the generate.vbs script. 2008-04-18 16:20:04 +00:00
rubidium
5c5bd70284 (svn r12769) -Codechange: some coding style cleanups. 2008-04-18 15:18:16 +00:00
rubidium
44128682cf (svn r12768) -Codechange: move the statusbar GUI to it's own file. 2008-04-18 15:13:45 +00:00
rubidium
bc37ae3f2a (svn r12767) -Codechange: merge all main toolbar related functions into a single file instead of scattering the functionality over several files. 2008-04-18 15:11:39 +00:00
rubidium
8857f5057f (svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by Sir Bob. 2008-04-18 10:58:11 +00:00
rubidium
d46d8d9c9d (svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h. 2008-04-18 10:16:51 +00:00
rubidium
7d234fa069 (svn r12764) -Add: check for missing (forgotten) header files in the generate script. 2008-04-18 09:49:23 +00:00
rubidium
6de7106d0f (svn r12763) -Fix: some headers were missing/still included in the MSVC project files. 2008-04-18 09:40:00 +00:00
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). 2008-04-18 04:54:09 +00:00
rubidium
ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 2008-04-18 04:37:06 +00:00
belugas
d2b55e7afd (svn r12760) -Fix(r12759): Remove a now useless comment 2008-04-18 03:20:59 +00:00
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. 2008-04-18 03:17:22 +00:00
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. 2008-04-18 01:35:17 +00:00
rubidium
18e64b28e2 (svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location. 2008-04-17 21:21:01 +00:00
smatz
fa4b5b1c18 (svn r12756) -Cleanup: variable scope and coding style in station* 2008-04-17 20:03:28 +00:00
glx
72c16c4de7 (svn r12755) -Fix (r12706): aborting map generation was not properly handled 2008-04-17 19:53:13 +00:00
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. 2008-04-17 19:10:30 +00:00
smatz
ec588da9e8 (svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used 2008-04-17 18:24:45 +00:00
rubidium
b0e687f60c (svn r12752) -Codechange: replace some magic constants in player_gui.cpp. Patch by Yexo. 2008-04-17 18:12:53 +00:00
rubidium
6dc210b171 (svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory. 2008-04-17 11:47:22 +00:00
rubidium
c7357bee94 (svn r12750) -Fix (r12749): viewport for industry new messages was not shown properly. 2008-04-17 11:25:12 +00:00
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. 2008-04-17 09:42:44 +00:00
peter1138
9c3725827a (svn r12747) -Codechange: Add varaction retrieval of station animation frame 2008-04-17 06:53:52 +00:00
peter1138
757d61b22f (svn r12746) -Codechange: Add map storage for station animation frame 2008-04-17 06:52:56 +00:00
smatz
966e476df8 (svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile() 2008-04-17 00:44:20 +00:00
rubidium
61074c4bf8 (svn r12741) -Codechange: do not allocate the viewport drawer each time on the stack, but only once and reuse this. 2008-04-16 21:06:21 +00:00
rubidium
34f4150b15 (svn r12740) -Codechange: use a vector instead of allocating memory in a byte array for ChildScreenSpriteToDraw. 2008-04-16 20:39:35 +00:00
rubidium
1eac80f840 (svn r12739) -Codechange: use a vector instead of allocating memory in a byte array for ParentSpriteToDraw. 2008-04-16 20:01:04 +00:00
smatz
71ebefbbd7 (svn r12738) -Fix (r12736): some sprites could be left unsorted 2008-04-16 19:36:30 +00:00
peter1138
efdf8b8c8a (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. 2008-04-16 19:01:09 +00:00
rubidium
47365fee11 (svn r12736) -Codechange: a (small) touch of coding style in viewport.cpp. 2008-04-16 18:28:05 +00:00
rubidium
878a7c9ab1 (svn r12735) -Codechange: use a vector instead of allocating memory in a byte array for TileSpriteToDraw. 2008-04-16 14:18:15 +00:00
rubidium
26dcf25238 (svn r12734) -Codechange: use a vector instead of allocating memory in a big byte array for StringSpriteToDraw. 2008-04-16 14:15:00 +00:00
belugas
aedde3ab4a (svn r12733) -Codechange: Merge two more Widgets arrays (town views ) into one. 2008-04-16 03:05:56 +00:00
smatz
867566f7f0 (svn r12731) -Fix (r12726): copying a 16bit array into 32bit wouldn't work 2008-04-15 23:07:06 +00:00
rubidium
08894026da (svn r12726) -Fix [FS#1877]: overflow causing strange building behaviour in towns. 2008-04-15 22:27:28 +00:00
frosch
91e53e23ca (svn r12717) -Fix (r11107): Check the TILE_NOT_SLOPED flag of the _north_ tile of multi-tile houses to decide if autoslope is allowed. 2008-04-15 13:10:01 +00:00
frosch
93afe81001 (svn r12716) -Fix: Do not compare StationIDs with DepotIDs or WaypointIDs. 2008-04-15 12:25:35 +00:00
rubidium
bd3e5d9c43 (svn r12714) -Fix [FS#1904]: do not move windows below the toolbar on resizes unless they would go behind the toolbar. 2008-04-14 23:26:31 +00:00
rubidium
5766d4a5c0 (svn r12713) -Fix: misleading comment. Patch by Yexo. 2008-04-14 21:49:13 +00:00