Commit Graph

9225 Commits

Author SHA1 Message Date
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
glx
90bd1e45eb (svn r12711) -Codechange: remove unneeded loops 2008-04-14 20:48:17 +00:00
rubidium
52d83de8d8 (svn r12709) -Feature: show the last joined server. Heavily based on a patch by Yexo. 2008-04-14 20:31:21 +00:00
glx
f63bd286e0 (svn r12708) -Fix (FS#1914): increase default sound buffer size only for vista 2008-04-14 20:14:32 +00:00
rubidium
253a95777c (svn r12707) -Fix: do not crash very hard on unrecognised savegames, just go back to the intro menu instead. 2008-04-14 20:00:28 +00:00
rubidium
d022d4af3d (svn r12706) -Merge: the thread rewrite from NoAI. The rewrite makes the threading we have better extendable. 2008-04-14 19:54:33 +00:00
belugas
bf1d42c23d (svn r12705) -Codechange: enumification of some more widgets 2008-04-14 17:50:15 +00:00
belugas
7e601e6bd2 (svn r12704) -Codechange: code style cleanup, mostly switch case alignment 2008-04-14 17:06:36 +00:00
rubidium
cf00e8e1d9 (svn r12701) -Codechange: do not explicitly number a widget enum because that causes a big diff when adding something. 2008-04-14 13:23:16 +00:00
maedhros
c4496d78e5 (svn r12700) -Cleanup (r12699): Remove an unused string. 2008-04-14 12:42:01 +00:00
maedhros
b0629b31fa (svn r12699) -Codechange: Unify the order drawing code for orders and timetables. 2008-04-14 12:40:09 +00:00
rubidium
760a57867f (svn r12698) -Codechange: skip orders to stations that do not have a train part anymore, just like is done for road vehicles and ships. 2008-04-14 07:08:43 +00:00
rubidium
60102c9d73 (svn r12697) -Codechange: give signs_gui.cpp a touch of coding style. 2008-04-13 22:25:18 +00:00
rubidium
b6ce235700 (svn r12696) -Fix: loading ancient savegames could result in invalid orders in order lists with all related problems. 2008-04-13 19:46:26 +00:00
rubidium
8ab49198b9 (svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth. 2008-04-13 19:25:14 +00:00