Commit Graph

91 Commits (1b9197d6dd5b12c0bafc70d8103cd3c7c9267a99)

Author SHA1 Message Date
rubidium ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 16 years ago
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. 16 years ago
smatz ec588da9e8 (svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used 16 years ago
smatz 966e476df8 (svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile() 16 years ago
maedhros b0629b31fa (svn r12699) -Codechange: Unify the order drawing code for orders and timetables. 16 years ago
rubidium a277d2df86 (svn r12689) -Feature: non-stop(or rather no non-stop) and via orders for road vehicles. 16 years ago
rubidium 79f4d763ed (svn r12688) -Change: make default non-stop for depot/waypoint orders the same as for stations. 16 years ago
smatz 6a661582d4 (svn r12671) -Fix (r12644): orders window of competitors' vehicles was missing a resizebox 16 years ago
rubidium 7ea682d6eb (svn r12670) -Add: unconditional/always order 'jump/skip' variable. 16 years ago
rubidium 0e40b1013c (svn r12667) -Feature: conditional 'skip/jump' orders. 16 years ago
rubidium 89ff74fa73 (svn r12663) -Codechange: move the definition from 'order_d' to a more appropriate place and do not misuse it for the time table GUI. 16 years ago
rubidium 6fa7001531 (svn r12661) -Add: ability to send a vehicle (using default orders) to the nearest depot. 16 years ago
rubidium 48703f69f4 (svn r12660) -Codechange: make the creation of depot order strings a little more modular (instead of causing a string explosion). 16 years ago
rubidium 23465fa7c4 (svn r12656) -Fix: tooltips for some order buttons are outdated/incorrect. 16 years ago
rubidium 1059f1e9f6 (svn r12655) -Change: show the current state in the drop down 'buttons'. 16 years ago
rubidium 39c5c448b9 (svn r12654) -Codechange: remove some unneeded right click handling due to the splitting of the load/refit button. 16 years ago
rubidium bdf606967f (svn r12653) -Codechange: disable load/unload dropdowns when there is a 'via' non-stop order to emphasize that loading/unloading will not be done. 16 years ago
rubidium 4ad8b95dcc (svn r12652) -Codechange: rework the order GUI a little more to make it a little more clear that 'transfer' is just an unload type. 16 years ago
rubidium 2964ba2d34 (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.
16 years ago
rubidium 00d5b516bf (svn r12649) -Fix: refit orders not being shown.
-Fix: unusable non-stop orders shown for waypoints and depots.
16 years ago
rubidium e61dcab79d (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.
16 years ago
rubidium 845c5d0a49 (svn r12644) -Codechange: rework the order gui a little to prepare it for some future changes. 16 years ago
rubidium 73392ba85e (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). 16 years ago
rubidium 2db9a59d8e (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. 16 years ago
rubidium 2e4044ac81 (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. 16 years ago
rubidium 3274ca604f (svn r12638) -Codechange: give order_gui.cpp a touch of coding style. 16 years ago
rubidium 16edbb8635 (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. 16 years ago
rubidium 4267797cc8 (svn r12628) -Fix: TTDP compatible non-stop wasn't handled properly. 16 years ago
rubidium cf250390c5 (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. 16 years ago
rubidium fcdd44b662 (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. 16 years ago
rubidium 949762fc65 (svn r12595) -Codechange: hide Order's flags in the last few cases. 16 years ago
rubidium 53d101cc99 (svn r12593) -Codechange: hide Order's flags in most of the code. 16 years ago
rubidium 935b562074 (svn r12588) -Codechange: do not access the destination of an order directly. 16 years ago
rubidium a3224512cc (svn r12587) -Codechange: unduplicate some code in the Unpack*Order functions and move the 'normal' case Pack/Unpack to Order. 16 years ago
rubidium 3edb967ecf (svn r12586) -Codechange: do not access an order's refit variables directly. 16 years ago
rubidium 3b0e3d8d30 (svn r12584) -Codechange: do not access the order type directly. 16 years ago
rubidium 877ca99198 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 16 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
rubidium b84b16cfcd (svn r12488) -Codechange: split order.h into order_base.h and order_func.h. 16 years ago
frosch 514df81e27 (svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them. 17 years ago
belugas 33e63a3adc (svn r12040) -Codechange: Change IsOrderListShared from a simple function to a class member(MagicBuzz). 17 years ago
maedhros f95fb570ad (svn r11994) -Codechange: Remove numbers from string names where the strings aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs. 17 years ago
rubidium 736640fd87 (svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*. 17 years ago
rubidium 90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium 2fc62eab05 (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
rubidium c004cc1fd9 (svn r11801) -Codechange: remove some unneeded includes from some header files. 17 years ago
rubidium 64d691bacc (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 17 years ago
rubidium 444e77d8bc (svn r11774) -Change: do not include variables.h in a header when it is not needed. 17 years ago
rubidium 722613f7f3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago
rubidium f82aeb82c5 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago