summaryrefslogtreecommitdiff
path: root/src/aircraft_cmd.cpp
AgeCommit message (Collapse)Author
2007-12-02(svn r11562) -Fix [FS#1503] (r11546): aircraft sometimes stopped mid-air ↵rubidium
when the airport got destroyed.
2007-12-01(svn r11546) -Fix[FS#1496]: If ever the air/heli port is suddenly not ↵belugas
available while the "chopper" is descending, just go back into flying. The code should have been better written, but in respect of newgrf_port branch, i prefer minimalist intervention
2007-11-25(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp ↵skidd13
cause they depend on Random() -Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
2007-11-20(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename ↵skidd13
the remaining to fit with the naming style
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11476) -Codechange: rename the function myabs to abs to get rid of an ↵skidd13
unneeded define
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-11-17(svn r11451) -Fix [FS#1287]: very fast aircraft would sometimes abruptly ↵rubidium
stop at the begin of the landing runway, turn a few times and then drive slowly to the end of the runway.
2007-10-31(svn r11365) -Fix [FS#1288]: when stopping a ship or aircraft, set their ↵rubidium
speed to 0 so they won't continue at the speed where they were stopped at.
2007-10-21(svn r11332) -Fix: vehicles getting a value of 0 on construction.rubidium
-Fix: assertion when selling vehicles.
2007-10-09(svn r11234) -Fix [FS#1312]: the explosion vehicles were placed too far to ↵rubidium
the south.
2007-10-08(svn r11229) -Fix [FS#1307]: one could sell vehicles that were crashed in a ↵rubidium
depot, which would still yield money.
2007-10-05(svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these ordersglx
2007-09-26(svn r11173) -Codechange: rename some callback enums so they are more uniform.rubidium
2007-09-09(svn r11072) -Fix [FS#1045]: when a vehicle had a service order, the ↵rubidium
goto-depot button did not make it possible to stop the vehicle at that depot.
2007-08-31(svn r11017) -Codechange: unify determining whether a vehicle needs/can be ↵rubidium
service a little more.
2007-08-30(svn r11004) -Codechange: some reworks of the saveload mechanism to be able ↵rubidium
to save and load private and protected variables in the vehicle struct.
2007-08-30(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and ↵rubidium
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
2007-08-29(svn r11001) -Codechange: unify the way to determine whether a vehicle is in ↵rubidium
a depot.
2007-08-07(svn r10823) -Fix r8610 [FS#1097]: the autoreplace window vehicle count ↵bjarni
didn't always update correctly) (Matthias)
2007-08-03(svn r10770) -Codechange: use the pool item class as super class for the ↵rubidium
vehicle struct. -Codechange: do not force "special" vehicles to be allocated in the low 1024 vehicle slots and non "special" vehicles in the rest of the slots.
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-07-01(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a ↵rubidium
Tick method in the Vehicle class.
2007-07-01(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of ↵rubidium
Get(Aircraft|RoadVeh|Ship|Train)Image.
2007-06-27(svn r10363) -Fix [FS#911]: invalidating autoreplace windows didn't take ↵peter1138
account of vehicle group (Matthias Wolf)
2007-06-25(svn r10335) -Fix (r10331): Increment the current order index *after* using ↵maedhros
it in UpdateVehicleTimetable.
2007-06-22(svn r10266) -Codechange: keep track of the origin, time of travel and ↵rubidium
accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
2007-06-21(svn r10246) -Fix (r10297): some forgotten money conversions and truncation ↵rubidium
issues. Thanks to benc for providing the patch.
2007-06-20(svn r10236) -Feature: Introduce a form of timetabling for vehicles.maedhros
2007-06-18(svn r10208) -Codechange: replace int32 with Money where appropriate.rubidium
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
2007-05-19(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you ↵rubidium
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
2007-05-14(svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing.rubidium
2007-05-07(svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions.rubidium
2007-05-07(svn r9806) -Codechange: [NewGRF] Add callback 36 support for purchase cost, ↵peter1138
for all vehicle types.
2007-05-06(svn r9804) -Fix (r9761): Update aircraft cached information when its 'pos' ↵peter1138
changes, as well as 'state'. (Thanks to bulb)
2007-05-06(svn r9794) -Codechange: refactor the question whether a vehicle can be ↵rubidium
loaded into LoadUnloadVehicle instead of duplicating it for each vehicle.
2007-05-02(svn r9770) -Codechange: perform the payment of cargo when ↵rubidium
loading/unloading, but when arriving at the station.
2007-05-01(svn r9760) -Codechange: remove the need for saving some vehicle variables.rubidium
2007-04-29(svn r9755) -Codechange: refactor some more of the begin loading stuff.rubidium
2007-04-29(svn r9754) -Codechange: make classes for all vehicle types, so we can make ↵rubidium
nicer/better maintainable code, i.e. virtual methods instead of switches.
2007-04-29(svn r9752) -Codechange: remove some duplication related to BeginLoading.rubidium
2007-04-29(svn r9742) -Fix (r9689) [FS#739]: Fix cloning with refit costs again, ↵maedhros
hopefully for good this time.
2007-04-20(svn r9685) -Fix (r9683): Call v->LeaveStation() when a vehicle in a station ↵maedhros
is sent to a depot.
2007-04-20(svn r9684) -Fix (r9683): Remove vehicles from the station loading list ↵maedhros
instead of adding them again when they leave, and add a v->LeaveStation() call for aircraft.
2007-04-19(svn r9678) -Codechange: Support changing of aircraft running cost via ↵peter1138
callback 36.
2007-04-18(svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing ↵peter1138
of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.