Commit Graph

3232 Commits

Author SHA1 Message Date
rubidium 9a73b698d4 (svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth. 2008-04-13 19:25:14 +00:00
rubidium 04138ddffc (svn r12694) -Fix: do not call the mouse over callback on already deleted windows. 2008-04-13 19:06:30 +00:00
rubidium 2310557716 (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 87ddcb0d5a (svn r12692) -Codechange: swap to functions to remove a function declaration. 2008-04-13 18:59:32 +00:00
glx 668e218600 (svn r12691) -Fix (r12459): all company related news displayed the 'company is in trouble' message 2008-04-13 17:59:43 +00:00
smatz a5c456e75e (svn r12690) -Cleanup: remove unused table from tgp.cpp 2008-04-13 17:27:36 +00:00
rubidium e8ee93b593 (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 145ea54474 (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 af3723e217 (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 5e2a5953a4 (svn r12686) -Fix: MSVC signed/unsigned warning 2008-04-13 15:07:36 +00:00
smatz 305dc1001b (svn r12685) -Codechange: DebugDumpCommands() couldn't be inlined, define it as a macro instead 2008-04-13 14:19:08 +00:00
rubidium e1ab9c2eea (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 d7bae069e1 (svn r12683) -Fix [FS#1906]: in some cases a news messages would not be shown. 2008-04-13 11:15:48 +00:00
rubidium 372830b731 (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 9349767e1d (svn r12681) -Fix [FS#1921]: aircraft stopping mid-air. 2008-04-13 10:26:39 +00:00
belugas 604c5bbfb7 (svn r12679) -Codechange : a little bit of widget enumification 2008-04-13 01:51:12 +00:00
rubidium ed43ffe435 (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 a3e2d8f577 (svn r12676) -Codechange: Reinstate colour selection buses, absent since r6455. 2008-04-12 22:19:34 +00:00
peter1138 447a31b702 (svn r12675) -Codechange: Add support for custom drawing of drop down list items. 2008-04-12 22:12:27 +00:00
peter1138 a45c1d45e5 (svn r12674) -Fix [FS#1902]: Colour remaps on station sprites only worked for company colours. 2008-04-12 22:11:21 +00:00
peter1138 711909fa0c (svn r12672) -Codechange: Add support for variably-sized drop down list items. 2008-04-12 20:32:18 +00:00
smatz f44aa5e088 (svn r12671) -Fix (r12644): orders window of competitors' vehicles was missing a resizebox 2008-04-12 20:15:57 +00:00
rubidium ed250cc7b5 (svn r12670) -Add: unconditional/always order 'jump/skip' variable. 2008-04-12 13:07:25 +00:00
rubidium 8c89250f58 (svn r12669) -Fix (r12667): crash when a vehicle has never been to a station and the load percentage conditional variable is evaluated. 2008-04-12 12:51:16 +00:00
rubidium 8410bff078 (svn r12668) -Fix (12667): swapping of variables went wrong. 2008-04-12 12:19:53 +00:00
rubidium ac94b6384b (svn r12667) -Feature: conditional 'skip/jump' orders. 2008-04-12 11:58:19 +00:00
rubidium 04b9600920 (svn r12666) -Fix: the time table GUI did not show some data in the correct manner. 2008-04-12 11:15:25 +00:00
rubidium e9014c99b3 (svn r12665) -Codechange: make the internal speed <-> display speed conversions available to a bigger part of the code. 2008-04-12 10:00:52 +00:00
rubidium 8226c92c8a (svn r12664) -Codechange: do not force the 'color' pointer to be non-NULL when trying to get the load percentage. 2008-04-12 09:59:58 +00:00
rubidium 00d23c57b3 (svn r12663) -Codechange: move the definition from 'order_d' to a more appropriate place and do not misuse it for the time table GUI. 2008-04-11 21:19:03 +00:00
belugas 02a907f306 (svn r12662) -Codechange: Comment-code style application 2008-04-11 18:00:51 +00:00
rubidium cebe2001ba (svn r12661) -Add: ability to send a vehicle (using default orders) to the nearest depot. 2008-04-11 15:58:46 +00:00
rubidium 3919c30c2d (svn r12660) -Codechange: make the creation of depot order strings a little more modular (instead of causing a string explosion). 2008-04-11 14:27:18 +00:00
rubidium 00051b2721 (svn r12659) -Cleanup: some style cleanups in vehicle.cpp. 2008-04-11 13:19:44 +00:00
rubidium 570519d79b (svn r12658) -Codechange: unify a vast portion of the CmdSend<VehicleType>ToDepot commands. 2008-04-11 08:40:10 +00:00
rubidium 62bdc381e7 (svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class. 2008-04-11 08:14:43 +00:00
rubidium 3a0cb23548 (svn r12656) -Fix: tooltips for some order buttons are outdated/incorrect. 2008-04-10 22:18:33 +00:00
rubidium d781fc7cc9 (svn r12655) -Change: show the current state in the drop down 'buttons'. 2008-04-10 22:17:06 +00:00
rubidium 5d6ef7bc6e (svn r12654) -Codechange: remove some unneeded right click handling due to the splitting of the load/refit button. 2008-04-10 22:07:24 +00:00
rubidium 31f982f1f9 (svn r12653) -Codechange: disable load/unload dropdowns when there is a 'via' non-stop order to emphasize that loading/unloading will not be done. 2008-04-10 17:52:48 +00:00
rubidium ba0a5814c2 (svn r12652) -Codechange: rework the order GUI a little more to make it a little more clear that 'transfer' is just an unload type. 2008-04-10 17:23:51 +00:00
peter1138 63116691a9 (svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more. 2008-04-10 11:59:18 +00:00
rubidium 6379c30d26 (svn r12650) -Feature: ability to force a vehicle to not load at a station.
-Feature: ability to force a vehicle to not unload at a station.
2008-04-10 10:18:03 +00:00
rubidium 3974bf2199 (svn r12649) -Fix: refit orders not being shown.
-Fix: unusable non-stop orders shown for waypoints and depots.
2008-04-10 10:02:15 +00:00
rubidium 5992dad01f (svn r12648) -Feature: allow four different non-stop types in a single game instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains.
-Feature: allow three different load type in a single game instead of two. One can choose full load all and full load any instead of full load being governed by the "full load any" patch setting.
2008-04-10 08:30:15 +00:00
belugas fa1359ebc6 (svn r12647) -Codechange: Ooops... Too fast on the job... forgot to indent 3 lines 2008-04-10 02:23:38 +00:00
belugas ccd49d81a8 (svn r12646) -Codechange: another run of code-style cleanup 2008-04-10 02:14:14 +00:00
belugas f484b2e1c7 (svn r12645) -Codechange: a bit of code-style cleanup 2008-04-10 02:10:26 +00:00
rubidium 2ac6af4e48 (svn r12644) -Codechange: rework the order gui a little to prepare it for some future changes. 2008-04-09 23:00:12 +00:00
rubidium c9e9e6005b (svn r12643) -Codechange: be more explicit about the orders a vehicle has (non stop and full load are ambiguous and depend on some patch settings). 2008-04-09 22:01:23 +00:00