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
rubidium
d90a041230
(svn r12595) -Codechange: hide Order's flags in the last few cases.
2008-04-06 21:54:22 +00:00
rubidium
fb1c4eccd8
(svn r12593) -Codechange: hide Order's flags in most of the code.
2008-04-06 15:09:45 +00:00
rubidium
d6623cf654
(svn r12588) -Codechange: do not access the destination of an order directly.
2008-04-06 07:48:51 +00:00
rubidium
8cd1795fe3
(svn r12587) -Codechange: unduplicate some code in the Unpack*Order functions and move the 'normal' case Pack/Unpack to Order.
2008-04-06 07:22:26 +00:00
rubidium
e68b2088ce
(svn r12586) -Codechange: do not access an order's refit variables directly.
2008-04-06 07:07:21 +00:00
rubidium
5b47f81b0f
(svn r12584) -Codechange: do not access the order type directly.
2008-04-05 23:36:54 +00:00
rubidium
6f15d34fe5
(svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff).
2008-03-31 06:42:26 +00:00
rubidium
2edd403656
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
2008-03-31 00:06:17 +00:00