Commit Graph

9255 Commits

Author SHA1 Message Date
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
rubidium
1fe1b5da80 (svn r12694) -Fix: do not call the mouse over callback on already deleted windows. 2008-04-13 19:06:30 +00:00
rubidium
99b51aa235 (svn r12693) -Documentation: add some documentation to some window related stuff. Based on a patch by Albert. 2008-04-13 19:01:26 +00:00
rubidium
c36d613b9b (svn r12692) -Codechange: swap to functions to remove a function declaration. 2008-04-13 18:59:32 +00:00
glx
5a6014d7e3 (svn r12691) -Fix (r12459): all company related news displayed the 'company is in trouble' message 2008-04-13 17:59:43 +00:00
smatz
b18f330739 (svn r12690) -Cleanup: remove unused table from tgp.cpp 2008-04-13 17:27:36 +00:00
rubidium
a277d2df86 (svn r12689) -Feature: non-stop(or rather no non-stop) and via orders for road vehicles. 2008-04-13 16:54:19 +00:00
rubidium
79f4d763ed (svn r12688) -Change: make default non-stop for depot/waypoint orders the same as for stations. 2008-04-13 16:50:55 +00:00
rubidium
22353393cd (svn r12687) -Change: show when a vehicle is actually leaving the station instead of loading/unloading. 2008-04-13 16:48:28 +00:00
glx
0b3a78b927 (svn r12686) -Fix: MSVC signed/unsigned warning 2008-04-13 15:07:36 +00:00
smatz
821ef83af9 (svn r12685) -Codechange: DebugDumpCommands() couldn't be inlined, define it as a macro instead 2008-04-13 14:19:08 +00:00
rubidium
67bb680d26 (svn r12684) -Fix [FS#1891]: manually given service at depot order is not forgotten anymore when autoservice 'interferes'. 2008-04-13 11:35:57 +00:00
rubidium
48d95252d5 (svn r12683) -Fix [FS#1906]: in some cases a news messages would not be shown. 2008-04-13 11:15:48 +00:00
rubidium
1078bc7dd0 (svn r12682) -Fix [FS#1920]: removing road pieces from a town gave you twice the intended penalty. 2008-04-13 10:32:29 +00:00
rubidium
6d04b589d8 (svn r12681) -Fix [FS#1921]: aircraft stopping mid-air. 2008-04-13 10:26:39 +00:00
belugas
03f9718489 (svn r12679) -Codechange : a little bit of widget enumification 2008-04-13 01:51:12 +00:00
rubidium
ef1bf22d59 (svn r12678) -Fix [FS#1918]: when a road vehicle has a tram only stop multiple times in a row in it's orders, only the first one would be skipped. 2008-04-12 22:40:56 +00:00
peter1138
3f7327fcb2 (svn r12676) -Codechange: Reinstate colour selection buses, absent since r6455. 2008-04-12 22:19:34 +00:00
peter1138
66783add65 (svn r12675) -Codechange: Add support for custom drawing of drop down list items. 2008-04-12 22:12:27 +00:00
peter1138
5d755429b4 (svn r12674) -Fix [FS#1902]: Colour remaps on station sprites only worked for company colours. 2008-04-12 22:11:21 +00:00
peter1138
9e69877e70 (svn r12672) -Codechange: Add support for variably-sized drop down list items. 2008-04-12 20:32:18 +00:00