Commit Graph

111 Commits

Author SHA1 Message Date
smatz 89edec7bfb (svn r14360) -Cleanup (r12652): remove unused handler for the 'Tranfser' button 2008-09-19 16:34:24 +00:00
smatz 606f4defdc (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 2008-09-15 16:29:40 +00:00
smatz f503c7c99e (svn r14280) -Codechange: use IsRailWaypointTile() instead of IsTileType() and IsRailWaypoint() checks at several places 2008-09-09 12:26:25 +00:00
rubidium 99efe9aaae (svn r14097) -Fix [FS#2085]: one couldn't get a list of vehicles sharing an order when the number of orders was 0; you could see that the vehicles had a shared order though. 2008-08-17 21:07:09 +00:00
frosch acf224683d (svn r14007) -Fix [FS#2098]: Notify vehicle windows when their internal state is botched up from outside. 2008-08-06 19:00:31 +00:00
belugas 5bbb5721df (svn r13896) -Codechange: Replace numbers with Colours enum on newgrf, order and osk guis 2008-07-31 16:42:11 +00:00
rubidium 0f4d9a8e49 (svn r13704) -Fix: make timetables work more sensible when used in conjunction with conditional orders, i.e. make it possibly to tell how long to travel to the next destination if you jump. 2008-07-14 21:01:49 +00:00
rubidium be722412fa (svn r13702) -Fix: do not overflow the order/timetable window when 'long' orders are displayed. 2008-07-14 20:18:06 +00:00
rubidium 0900f3388a (svn r13444) -Codechange: make the order GUI somewhat more efficient. The most used options can be done with a single click now. 2008-06-10 16:46:11 +00:00
rubidium b1dc705492 (svn r13409) -Fix: division by zero when one would press 'd' (skip order) when there's no order. 2008-06-08 09:14:30 +00:00
rubidium 923e21129c (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 2008-05-29 15:13:28 +00:00
rubidium 4625695653 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25 19:17:03 +00:00
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 2008-05-19 09:48:47 +00:00
rubidium f5681547ef (svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean. 2008-05-17 23:11:06 +00:00
rubidium 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 2008-05-17 12:48:06 +00:00
glx ced7ee3043 (svn r13124) -Codechange: make a class of the OrdersWindow. 2008-05-16 20:08:20 +00:00
rubidium 23fc96c3e8 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 2008-05-08 11:50:34 +00:00
rubidium 3d5567ccf7 (svn r12987) -Codechange: split viewport and tile selection. 2008-05-07 13:10:15 +00:00
rubidium 9bf519f26b (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 2008-05-06 22:08:18 +00:00
rubidium d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 2008-05-06 15:11:33 +00:00
rubidium 9d8fa486af (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 2008-04-18 04:37:06 +00:00
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. 2008-04-17 19:10:30 +00:00
smatz 059e94e355 (svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used 2008-04-17 18:24:45 +00:00
smatz 9488db56d4 (svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile() 2008-04-17 00:44:20 +00:00
maedhros 1f59821020 (svn r12699) -Codechange: Unify the order drawing code for orders and timetables. 2008-04-14 12:40:09 +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
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 ac94b6384b (svn r12667) -Feature: conditional 'skip/jump' orders. 2008-04-12 11:58:19 +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
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 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
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
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
rubidium 70f3413a36 (svn r12641) -Codechange: do not use the same button for two completely distinct tasks, just make an extra button for it and hide them when not needed. 2008-04-09 19:52:33 +00:00
rubidium 82155367f6 (svn r12640) -Codechange: let GetLoadType make a difference between full load and full load any based on the patch setting instead of using the patch setting directly. 2008-04-09 18:26:19 +00:00
rubidium 55f0d01235 (svn r12638) -Codechange: give order_gui.cpp a touch of coding style. 2008-04-09 16:16:04 +00:00
rubidium c41624bb94 (svn r12636) -Codechange: make CmdModifyOrder a little more flexible and remove 'hack' that used the full load flag to set the service if needed flag. 2008-04-09 12:46:43 +00:00
rubidium 71a2dd21fd (svn r12628) -Fix: TTDP compatible non-stop wasn't handled properly. 2008-04-08 13:32:44 +00:00
rubidium f1cd7ef5ee (svn r12615) -Codechange: rename some enums related to depot orders to make it more clear that they are no loading/unloading flags. Also add more type strictness. 2008-04-07 19:18:56 +00:00
rubidium c57a1d74c3 (svn r12600) -Codechange: make GetNonStopType return a more augmented type; not is there a non-stop order but the kind of non-stop order, so one doesn't need to check _patches.new_nonstop type everywhere. 2008-04-07 08:59:04 +00:00