Commit Graph

9000 Commits

Author SHA1 Message Date
rubidium
d02f46b959 (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
5c8444638e (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
02f8281ce2 (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
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. 2008-04-11 21:19:03 +00:00
belugas
b21b003f90 (svn r12662) -Codechange: Comment-code style application 2008-04-11 18:00:51 +00:00
rubidium
6fa7001531 (svn r12661) -Add: ability to send a vehicle (using default orders) to the nearest depot. 2008-04-11 15:58:46 +00:00
rubidium
48703f69f4 (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
3c7e23fa8c (svn r12659) -Cleanup: some style cleanups in vehicle.cpp. 2008-04-11 13:19:44 +00:00
rubidium
daf5a2f1bc (svn r12658) -Codechange: unify a vast portion of the CmdSend<VehicleType>ToDepot commands. 2008-04-11 08:40:10 +00:00
rubidium
aa8a5b2c39 (svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class. 2008-04-11 08:14:43 +00:00
rubidium
23465fa7c4 (svn r12656) -Fix: tooltips for some order buttons are outdated/incorrect. 2008-04-10 22:18:33 +00:00
rubidium
1059f1e9f6 (svn r12655) -Change: show the current state in the drop down 'buttons'. 2008-04-10 22:17:06 +00:00
rubidium
39c5c448b9 (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
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. 2008-04-10 17:52:48 +00:00
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. 2008-04-10 17:23:51 +00:00
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