peter1138
3badd38914
(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
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.
2008-04-10 10:18:03 +00:00
rubidium
00d5b516bf
(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
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.
2008-04-10 08:30:15 +00:00
belugas
79cb5ec1c7
(svn r12647) -Codechange: Ooops... Too fast on the job... forgot to indent 3 lines
2008-04-10 02:23:38 +00:00
belugas
3491a3346e
(svn r12646) -Codechange: another run of code-style cleanup
2008-04-10 02:14:14 +00:00
belugas
032924dbd6
(svn r12645) -Codechange: a bit of code-style cleanup
2008-04-10 02:10:26 +00:00
rubidium
845c5d0a49
(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
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).
2008-04-09 22:01:23 +00:00
smatz
183145c0dc
(svn r12642) -Fix: remove buggy buoys at tile 0 from old TTDP savegames
2008-04-09 21:33:36 +00:00
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.
2008-04-09 19:52:33 +00:00
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.
2008-04-09 18:26:19 +00:00
rubidium
c93e1293cb
(svn r12639) -Fix: order window was not marked dirty on changed orders.
2008-04-09 17:48:22 +00:00
rubidium
3274ca604f
(svn r12638) -Codechange: give order_gui.cpp a touch of coding style.
2008-04-09 16:16:04 +00:00
rubidium
cd23dd64bf
(svn r12637) -Fix [FS#1913]: possible NULL pointer dereference when reading some NewGRF data.
2008-04-09 14:05:50 +00:00
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.
2008-04-09 12:46:43 +00:00
belugas
70dc7edd92
(svn r12635) -Codechange: a bit of a code-style cleanup
2008-04-09 02:16:04 +00:00
belugas
5e11fec66b
(svn r12634) -Feature: Financial and Player Selection Face windows are now remembering their position when toggling sizes
2008-04-09 02:02:39 +00:00
rubidium
d7afec34ac
(svn r12633) -Fix: could not make a (go-to) depot order.
2008-04-08 22:41:14 +00:00
smatz
adc84cd786
(svn r12632) -Fix (r12547): with invisible catenary, trams were be drawn over a bridge
2008-04-08 21:28:47 +00:00
rubidium
c1e6cdbef7
(svn r12631) -Fix [FS#1911]: sometimes aircraft couldn't find their way to their depot.
2008-04-08 18:53:25 +00:00
maedhros
49a515f210
(svn r12630) -Fix (r12600): Missing 'break' made it impossible to add waypoints to vehicle orders.
2008-04-08 16:15:31 +00:00
frosch
b91781b715
(svn r12629) -Codechange: Split VehicleNeedsService() into Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing().
...
-Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
2008-04-08 15:48:32 +00:00
rubidium
4267797cc8
(svn r12628) -Fix: TTDP compatible non-stop wasn't handled properly.
2008-04-08 13:32:44 +00:00
peter1138
d577b0504a
(svn r12624) -Codechange: Make drawing of catenary an attribute of rail types, instead of deciding by the rail type directly.
2008-04-08 07:19:29 +00:00
rubidium
5967f5b379
(svn r12622) -Fix: infinite loop in case your compiler decides that enums are unsigned by default. Patch by Dominik.
2008-04-07 22:15:31 +00:00
rubidium
337c92090b
(svn r12620) -Fix: automatic servicing of vehicles made them stop in the depot.
2008-04-07 21:02:27 +00:00
rubidium
1dc0af3248
(svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth.
2008-04-07 20:28:58 +00:00
rubidium
16cb871398
(svn r12618) -Codechange: as load and unload type are now split, some case statements got ugly.
2008-04-07 20:18:51 +00:00
rubidium
973997e896
(svn r12617) -Codechange: add type safety to the Order's load and unload types.
2008-04-07 20:03:46 +00:00
smatz
f35612bd21
(svn r12616) -Codechange: r12591 didn't work as expected for NDS, move one function back to cpp
2008-04-07 20:02:36 +00:00
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.
2008-04-07 19:18:56 +00:00
belugas
0017149c33
(svn r12609) -Codechange: Remove wrong comments and give more comments on the drawing part of subsidies
2008-04-07 17:02:39 +00:00
rubidium
c6e8bf41a1
(svn r12608) -Fix [FS#1909]: pressing 'Load' did not cancel the full load order.
2008-04-07 15:04:00 +00:00
smatz
7dc63836ea
(svn r12605) -Cleanup: variable scope and coding style in train*
2008-04-07 12:36:50 +00:00
rubidium
4b7ca97056
(svn r12601) -Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively.
2008-04-07 11:45:53 +00:00
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.
2008-04-07 08:59:04 +00:00
smatz
76eaed68a0
(svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining
2008-04-06 23:49:45 +00:00
rubidium
bd432258cb
(svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin.
2008-04-06 22:32:20 +00:00
rubidium
949762fc65
(svn r12595) -Codechange: hide Order's flags in the last few cases.
2008-04-06 21:54:22 +00:00
smatz
aaabd59369
(svn r12594) -Codechange: move large functions from driver.h to driver.cpp to reduce binary size and compile time
2008-04-06 16:49:02 +00:00
rubidium
53d101cc99
(svn r12593) -Codechange: hide Order's flags in most of the code.
2008-04-06 15:09:45 +00:00
rubidium
e150643d31
(svn r12592) -Fix (r12580): aircraft's go-to-depot handling is a mess, which assumes destination to be a station even when it did not set a destination yet.
2008-04-06 14:50:47 +00:00
smatz
54630d0735
(svn r12591) -Codechange: move CommandCost accessors to header file, 8kB of binary size saved
2008-04-06 14:50:37 +00:00
rubidium
935b562074
(svn r12588) -Codechange: do not access the destination of an order directly.
2008-04-06 07:48:51 +00:00
rubidium
a3224512cc
(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
3edb967ecf
(svn r12586) -Codechange: do not access an order's refit variables directly.
2008-04-06 07:07:21 +00:00
rubidium
84e3fa75e1
(svn r12585) -Fix (r12584): assumption that assertions were enabled during compilation/testing was flawed.
2008-04-05 23:46:01 +00:00
rubidium
3b0e3d8d30
(svn r12584) -Codechange: do not access the order type directly.
2008-04-05 23:36:54 +00:00
rubidium
4ff5d2057c
(svn r12583) -Codechange: make AssignOrder a class function of order.
2008-04-05 21:45:05 +00:00