Age | Commit message (Collapse) | Author |
|
by enums.
|
|
|
|
ReplaceVehicleWndProc()
|
|
when starting a new player
|
|
deselect the engine instead of selecting the first in the list (consistent with all other windows)
-Fix: [autoreplace GUI] engine info is now drawn in the right side even if the left list is empty
|
|
info text in the autoreplace window
|
|
hungarian - 8 fixed by miham (8)
|
|
server ran out of disc space (nightlies took up too much space).
First step: restore hungarian languagefile
|
|
hungarian - 8 fixed by miham (8)
turkish - 7 fixed by edokan (7)
|
|
from each time the window is redrawn
To do this, the player struct contains an array, that contains the count of each engine type that the player owns
Those arrays are updated each time a vehicle is build or deleted and is calculated on load (it's not saved)
It's possible to access the arrays outside of the autoreplace GUI, so feel free to read from them in other patches as well
|
|
enum/define value
|
|
work. It misses half the input at the moment. Sorry, too hasty commit.
|
|
from one.
Unfortunately this only works for WindowsXP or higher, all older MS-OS's
are stuck with the old behaviour.
|
|
american - 8 fixed by WhiteRabbit (8)
french - 7 changed by glx (7)
spanish - 11 fixed by eusebio (11)
turkish - 2 fixed by edokan (2)
|
|
locomotives consisting of more than one unit will only be counted once
This also cleaned up the counting loop alot and it will also (hopefully) be faster (didn't benchmark it)
|
|
french - 8 fixed by glx (8)
|
|
in the translations in lang/unfinished
|
|
commit, so they now fit what we agreed upon (oops)
stopping is now orange and service is now light blue
|
|
at depot" (service) in orange or "Heading for depot" (stopping) in light blue
|
|
michi_cc)
|
|
michi_cc :) )
-Cleanup: Removed UNITTEST preprocessor checks
|
|
|
|
-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
|