Age | Commit message (Collapse) | Author |
|
|
|
the code at some places
|
|
autoreplace/renew is now triggered by the correct conditions
Now it triggers by the following conditions:
- aircraft is old enough for renew or needs to be autoreplaced
- player has 2*cost of new aircraft+autorenew money (we don't want to send many aircraft to hangars when there is only money for replacing one)
- aircraft has no hangars in it's order list
- new aircraft is buildable (imagine autorenewing a retired design)
This triggers right after a helicopter takes off or when a plane touches the ground while landing
Another effect of this change is that this functionality no longer generates network traffic
|
|
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
|
|
|
|
unneeded include from openttd.h.
|
|
now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
|
|
|
of a global variable. Patch by Noldo (FS#1114).
|
|
|
|
|
|
single location.
|
|
needed.
|
|
functions.
|
|
|
|
useless includes.
|
|
|
|
map.h).
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
their respective places.
|
|
|
|
|
|
when the airport got destroyed.
|
|
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
|
|
cause they depend on Random()
-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
|
|
the remaining to fit with the naming style
|
|
remaining to fit with the naming style
|
|
remaining to fit with the naming style
|
|
style
|
|
unneeded define
|
|
with the coding style
|
|
stop at the begin of the landing runway, turn a few times and then drive slowly to the end of the runway.
|
|
speed to 0 so they won't continue at the speed where they were stopped at.
|
|
-Fix: assertion when selling vehicles.
|
|
the south.
|
|
depot, which would still yield money.
|
|
|
|
|
|
goto-depot button did not make it possible to stop the vehicle at that depot.
|
|
service a little more.
|
|
to save and load private and protected variables in the vehicle struct.
|
|
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
|
a depot.
|
|
didn't always update correctly) (Matthias)
|
|
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.
|
|
variables.h to strings.h
|
|
Tick method in the Vehicle class.
|
|
Get(Aircraft|RoadVeh|Ship|Train)Image.
|
|
account of vehicle group (Matthias Wolf)
|
|
it in UpdateVehicleTimetable.
|