rubidium
b6ce235700
(svn r12696) -Fix: loading ancient savegames could result in invalid orders in order lists with all related problems.
17 years ago
rubidium
a277d2df86
(svn r12689) -Feature: non-stop(or rather no non-stop) and via orders for road vehicles.
17 years ago
rubidium
6d04b589d8
(svn r12681) -Fix [FS#1921]: aircraft stopping mid-air.
17 years ago
rubidium
ef1bf22d59
(svn r12678) -Fix [FS#1918]: when a road vehicle has a tram only stop multiple times in a row in it's orders, only the first one would be skipped.
17 years ago
rubidium
7ea682d6eb
(svn r12670) -Add: unconditional/always order 'jump/skip' variable.
17 years ago
rubidium
85354456b9
(svn r12668) -Fix (12667): swapping of variables went wrong.
17 years ago
rubidium
0e40b1013c
(svn r12667) -Feature: conditional 'skip/jump' orders.
17 years ago
rubidium
6fa7001531
(svn r12661) -Add: ability to send a vehicle (using default orders) to the nearest depot.
17 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.
17 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.
17 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.
17 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.
17 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.
17 years ago
rubidium
c93e1293cb
(svn r12639) -Fix: order window was not marked dirty on changed orders.
17 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.
17 years ago
rubidium
d7afec34ac
(svn r12633) -Fix: could not make a (go-to) depot order.
17 years ago
maedhros
49a515f210
(svn r12630) -Fix (r12600): Missing 'break' made it impossible to add waypoints to vehicle orders.
17 years ago
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.
17 years ago
rubidium
4267797cc8
(svn r12628) -Fix: TTDP compatible non-stop wasn't handled properly.
17 years ago
rubidium
16cb871398
(svn r12618) -Codechange: as load and unload type are now split, some case statements got ugly.
17 years ago
rubidium
973997e896
(svn r12617) -Codechange: add type safety to the Order's load and unload types.
17 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.
17 years ago
rubidium
c6e8bf41a1
(svn r12608) -Fix [FS#1909]: pressing 'Load' did not cancel the full load order.
17 years ago
rubidium
4b7ca97056
(svn r12601) -Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively.
17 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.
17 years ago
smatz
76eaed68a0
(svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining
17 years ago
rubidium
949762fc65
(svn r12595) -Codechange: hide Order's flags in the last few cases.
17 years ago
rubidium
53d101cc99
(svn r12593) -Codechange: hide Order's flags in most of the code.
17 years ago
rubidium
935b562074
(svn r12588) -Codechange: do not access the destination of an order directly.
17 years ago
rubidium
a3224512cc
(svn r12587) -Codechange: unduplicate some code in the Unpack*Order functions and move the 'normal' case Pack/Unpack to Order.
17 years ago
rubidium
3edb967ecf
(svn r12586) -Codechange: do not access an order's refit variables directly.
17 years ago
rubidium
3b0e3d8d30
(svn r12584) -Codechange: do not access the order type directly.
17 years ago
rubidium
4ff5d2057c
(svn r12583) -Codechange: make AssignOrder a class function of order.
17 years ago
rubidium
21ae6fa444
(svn r12582) -Codechange: move some (needlessly) static inlined functions from order_base.h to order_cmd.cpp.
17 years ago
rubidium
b5a73c77de
(svn r12581) -Fix (r12580): trains would not stop correctly on intermediate stations when non-stop was not enabled.
17 years ago
rubidium
ed2acd6f3d
(svn r12580) -Codechange: merge some logical related to non-stop orders.
17 years ago
rubidium
ba0a9538cf
(svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder.
17 years ago
rubidium
3fdddeac40
(svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and road vehicles.
17 years ago
rubidium
877ca99198
(svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff).
17 years ago
rubidium
c51b81c247
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
17 years ago
rubidium
b84b16cfcd
(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.
17 years ago
rubidium
b563a2e52c
(svn r12466) -Codechange: move DestinationID to a more logical location.
17 years ago
rubidium
2426f5342f
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
17 years ago
glx
fe4a6985b2
(svn r12345) -Fix [FS#1828](r12296): don't try to restore backupped timetable when timetabling is disabled
17 years ago
glx
19b0f75226
(svn r12296) -Fix [FS#1549]: restore timetable from backupped orders and add group ID to the backup
17 years ago
smatz
a3e3cd7d46
(svn r12129) -Change [FS#1759]: simplified patch settings for pathfinders (Yorick)
17 years ago
belugas
33e63a3adc
(svn r12040) -Codechange: Change IsOrderListShared from a simple function to a class member(MagicBuzz).
17 years ago
rubidium
a83b91dbc5
(svn r11939) -Codechange: some type fixes and very initial steps into supporting NDS by default. Based on work by Dominik.
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
fafab82a31
(svn r11832) -Codechange: get rid of (quite) some VARDEFs.
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
peter1138
0f7392bd61
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
...
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
rubidium
2fc62eab05
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
rubidium
b09d957f31
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
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
81bf9f8503
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
00c9d3ef20
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
766551b0bc
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
17 years ago
rubidium
8427b8bad2
(svn r11675) -Codechange: split the string types from the string functions.
17 years ago
smatz
3b59b68a15
(svn r11625) -Codechange: add CO_* enum at some places, add includes of order.h too
17 years ago
glx
946fa3b9ee
(svn r11618) -Fix: buoys are just waypoints, so don't allow load/unload/transfert for them
17 years ago
skidd13
f92f3aec06
(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style
17 years ago
skidd13
6801cceda1
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
17 years ago
skidd13
c0a2c0c23e
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
17 years ago
rubidium
5a9e2f8d82
(svn r11370) -Fix [FS1384]: manually replacing a vehicle with shared orders makes it lose it's order index and service interval. Patch by jthill.
17 years ago
glx
342025d0e1
(svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these orders
17 years ago
rubidium
86dac1533b
(svn r11184) -Codechange: cleanup the code related to backup orders.
17 years ago
rubidium
655b2048e5
(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*.
17 years ago
rubidium
fcc1ccb99b
(svn r10760) -Codechange: make the order struct use the pool item class as super class.
17 years ago
peter1138
3878c55f34
(svn r10314) -Codechange: Refer to vehicle names by index
18 years ago
maedhros
7fb6e8f11d
(svn r10236) -Feature: Introduce a form of timetabling for vehicles.
18 years ago
rubidium
773a7c9cb6
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
18 years ago
rubidium
3ccc83e640
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
18 years ago
rubidium
abb4ab74cf
(svn r10071) -Feature [FS#828]: moving of orders (skidd13).
18 years ago
rubidium
ad747e3026
(svn r10033) -Feature [FS#760]: skip to the selected order in the order list when clicking on the "skip" button while pressing CTRL.
18 years ago
rubidium
c8d05162c2
(svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness.
18 years ago
rubidium
29ebda5b15
(svn r9832) -Fix: leave the station when manually skipping to the next order and we are currently (un)loading.
18 years ago
rubidium
bc1901a6e4
(svn r9784) -Codechange: remove unused variable.
18 years ago
belugas
097b3b3c7b
(svn r9662) -Documentation: Doxygen corrections and @file omissions
18 years ago
truelight
0ecd7f7718
(svn r9429) -Fix r9338: when deleting a vehicle which has shared orders with one more vehicle and no orders, segfaulted
18 years ago
belugas
4d86aa2479
(svn r9390) -Documentation : correct Doxygen of comments and @file inclusion. This time, brought to you by the letter O
18 years ago
truelight
a33d240af8
(svn r9338) -Fix: close the Shared Order Vehicle List if you remove the shared link with only 2 vehicles
18 years ago
truelight
c24f6f3b24
(svn r9337) -Fix [FS#542]: assert() when you removed the orders of a shared list while having the shared order vehicle list open.
18 years ago
peter1138
497e5fe565
(svn r9301) -Codechange: Use cargo class to determine if a road vehicle can stop in bus or truck stops.
18 years ago
bjarni
0ad237611e
(svn r9072) -Codechange: [Orders] added methods to orders to free them and check if they are in use
18 years ago
rubidium
36cea84b11
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
18 years ago
rubidium
4169bfba06
(svn r9050) -Codechange: Foo(void) -> Foo()
18 years ago
tron
0100e94cee
(svn r8802) -Fix
...
-Fix: When inserting an order for a ship while checking the distance between the new order and the order it is inserted after adhere the order types to determine the correct type of destination (i.e. station or depot)
Also do a better job in determining the preceding order
NOTE: 0.5 candidate
18 years ago
tron
186fb6617d
(svn r8795) -Fix
...
Remove the explicit check for buoys when inserting goto station orders.
This is already covered by the preceding OWNER_NONE test.
18 years ago
tron
fbd83baff6
(svn r8778) -Fix
...
-Codechange: Allow goto station orders to public stations in general, not just oilrigs (though this is the same till now)
18 years ago
tron
128caa5050
(svn r8755) -Fix
...
Abbreviate GetAirport(st->airport_type) to st->Airport()
18 years ago
tron
2bd7e64850
(svn r8754) -Fix
...
Do not handle a special case for goto hangar orders to oilrigs - they do not have a hangar anyway
18 years ago
bjarni
d40886903d
(svn r8621) -Codechange: assigned new numbers to the VEH_(type) enum so that VEH_Train is 0, VEH_Road is 1 and so on
...
This means that "v->type" can be used as array indexes instead of VehTypeToIndex() (or "v->type - VEH_Train/0x10 as the code still used in some places)
Surprisingly this can be done without changing the savegame format
18 years ago
tron
cf5514ce8d
(svn r8550) -Fix
...
Building a vehicle does not involve allocating orders, so do not check whether orders could be allocated
18 years ago
celestar
4d0d6864ee
(svn r8514) -Codechange: Turn IsBuoy into a method of stations
18 years ago
rubidium
2a9851a3ad
(svn r8511) -Codechange: make WindowClass an enumerated value.
18 years ago
rubidium
a7d0cdf95f
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
18 years ago
KUDr
07c30785ab
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
18 years ago