Age | Commit message (Collapse) | Author |
|
|
|
-Codechange: Rename TileIndexDiffCByDir to TileIndexDiffCByDiagDir because it accepts DiagDirections
|
|
of DoCommandP
with a boolean type.
|
|
it accepts
DiagDirections, and add TileOffsByDir that handles Directions.
-Codechange: Make the treeloop use TileOffsByDir().
|
|
tooltip, considering
cursor size and cursor offset (hotspot). The maximum and minimum y-values
for the tooltip are just below the mainbar and statusbar. Also, if the tooltip
would be too low, flip it above the cursor.
|
|
the string
contained newlines.
|
|
of trains that are in it
|
|
accidentally readded in r6393
|
|
costs (could spend more than allowed when estimate and actual cost were not the same)
-Fix: [autoreplace] fixed a very rare failure when building an engine could cost more than the player could pay before selling the old one
this happened when the replacing the front cost so much that the the rear end didn't have enough money to build as expected
now the estimate keeps track of the price for the wagons/engines in front of the unit it's currently looking at
-Codechange: [autoreplace] added function to learn if and what cargo type to refit to. Needed to allow the estimation to tell refit costs
|
|
slovak - 12 fixed, 5 changed by lengyel (17)
|
|
|
|
|
|
conversion to HandleExitGameRequest.
|
|
more uniform.
-Cleanup: whitespace alignment of a few tables.
|
|
This means that in the intro menu the 'Quit' button immediatelly quits
and the 'Quit' in the menu of the normal game and scenario editor
immediatelly quits when the 'autosave_on_exit' patch is turned on.
This is the same way as the OS/window manager initiated quits, like
alt-F4 and the 'x' in the (OS/window manager drawn) title bar of OTTD.
|
|
to 'data'.
|
|
|
|
every WE_PAINT
-Codechange: Initialize sorting-type on WE_CREATE instead of checking every time.
-Codechange: Update custom vehiclelist_d with standard list_d struct, more static
|
|
into GetRefitCost()
Now it's possible to tell refit costs for an EngineID without actually having build a vehicle
|
|
german - 1 changed by Neonox (1)
spanish - 87 fixed by eusebio (87)
turkish - 4 fixed by jnmbk (4)
|
|
superfluous header includes
-Codechange: Unify the Sorting struct both for vehicle-lists and network-lists.
|
|
PlayerVehWndProc() into WE_CREATE
|
|
was given
the maximum amount of money so everything can be removed for sure. However
if first rails are removed (or property in general that *gives* money
when demolished, the player's money would overflow. Thanks for noticing Rubidium.
|
|
tools. The
correct fix was to reset the highlight box if any size changes (grimrc)
|
|
once in a while
at least.
|
|
years into the future.
|
|
called or have no effect.
|
|
in r6358. Doh
|
|
do not skip vehicles without an order list, because they still can have a current order and/or last visited station, which must be inspected
|
|
|
|
depot/hangar (noticed by Neonox)
|
|
(0.5.0.0) as file
version, and added revision number. Also remove SWEDISH resources.
|
|
in finder)
|
|
Now all vehicles are serviced when it's time for service and they are in a depot
This will avoid the goto depot order from ever showing up when in a depot
|
|
removed when a road or rail depot got deleted (Darkvater and me)
This bug is probably ages old
|
|
large as any type of destinataion (StationID, DepotID, WaypointID) it can hold
DestinationID being a union of these types is just hassle without benefit and cannot be handled correctly everywhere because of local lack of information
|
|
now vehicles can't be sent to a depot when they are already inside a depot
before they would remember the order and try to turn around when leaving the depot
|
|
clipping rectangle could become 0, which isn't sensible. This should fix a very rare and hard to trigger assertion in GfxFillRect()
|
|
PlayerVehWndProc()
This is possible now that the window number is known when running WE_CREATE and it's a nicer solution
|
|
|
|
|
|
|
|
window_number is set before calling the WE_CREATE event
this allows using the window_number in WE_CREATE window event handlers
|
|
vehicles to depots
|
|
|
|
Sprite::info is never unset
|
|
|
|
turned out to be a failure to run the wagon remoral code if the player didn't have enough money to do the replace after the replace took place
the cost animation failed to show in this condition as well
Now the test is not run anymore after the replace took place
|
|
american - 4 fixed by WhiteRabbit (4)
french - 9 changed by glx (9)
hungarian - 4 fixed by miham (4)
portuguese - 4 fixed, 3 changed by izhirahider (7)
|
|
|