Age | Commit message (Collapse) | Author |
|
macros.h as it is no longer needed.
|
|
same location as the unload button
instead assert if the widget array place them at different locations
|
|
estonian - 1 fixed by vermon (1)
finnish - 1 fixed by kerba (1)
greek - 13 fixed by Kesnar (13)
norwegian_bokmal - 1 fixed by oletk (1)
romanian - 1 fixed by kneekoo (1)
spanish - 1 fixed by eusebio (1)
ukrainian - 31 fixed, 24 changed by znikoz (4), mad (51)
|
|
so the order of the widget array fits the placement on the screen
|
|
|
|
-Codechange: CheckCompatibleRail() is only called for tiles which are known to contain a piece of rail. Simplify the function accordingly by eliminating unnecessary checks.
-Fix (?): Also fix an inconsistency in deciding what a compatible rail type is between level crossings and other rail tiles. It is unknown if this caused any problems.
|
|
Use HASBIT() instead of implementing it manually
|
|
stations work
|
|
Now it only works on first and last widget to resize
It now works with offsets correctly (no longer assumes the left is 0)
It's no longer needed to have a widget right of the ones you resize
Can handle any number of widgets
|
|
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
|
|
for each window, a global ResizeButtons() is added
|
|
(requested by Wolf01)
|
|
This fixes the issue where OSX included stdint.h though other includes before defining __STDC_LIMIT_MACROS (and failed to compile because of this)
|
|
refitable detection. It had two variables doing the same thing, but not always set to the same (oops)
|
|
this wrong argidx issue, we decided to remove the {P ..} from STR_TONS
|
|
DrawVehiclePurchaseInfo() and renamed them into type specific names
|
|
the details with one line since some newgrf trains needs it
|
|
only add "(refitable)" if the engine in question is refitable
|
|
|
|
brazilian_portuguese - 2 changed by fukumori (2)
esperanto - 14 changed by LaPingvino (14)
simplified_chinese - 6 fixed, 10 changed by Fishingsnow (16)
slovenian - 394 changed by Necrolyte (394)
ukrainian - 68 changed by mad (61), znikoz (7)
|
|
describes the
required value better anyway. However, INT64_MAX comes from stdint.h which
doesn't seem to exist on MSVC or MorphOS, so it's defined manually for them.
|
|
|
|
openttd.h, which does not exist in the masterserver/updater.
|
|
file of it's own
Note: it's the same as r8363, only this time the svn history of autoreplace should be preserved
|
|
|
|
descriptive names, and add some more comments.
|
|
datasets should be drawn, and use HASBIT for testing against them.
|
|
is invalid for both an int64 and a uint.
|
|
fix two longstanding bugs.
1) If the graph contained negative values, the y axis labels were half the size they should have been.
2) If the maximum value was larger than the height of the graph in pixels << 32, all datapoints were scaled to 0.
|
|
request wants to draw more vehicles than the list contains
|
|
file of it's own
|
|
loop to a function of it's own
-Fix (r8335): [vehicle build window] ship sprites were moved two pixels to the left
|
|
network are valid in OpenTTD
-Codechange: use_password is a boolean variable
-Codechange: move range checking for server_lang and map_set to Recv_NetworkGameInfo
|
|
chinese translation
-Fix: added dummy ownname to Korean, translator will have to supply it through WT2
|
|
|
|
scaling for negative values.
|
|
american - 1 fixed by WhiteRabbit (1)
brazilian_portuguese - 5 changed by fukumori (5)
esperanto - 4 changed by LaPingvino (4)
japanese - 28 changed by ickoonite (28)
korean - 6 fixed, 151 changed by leejaeuk5 (157)
simplified_chinese - 7 fixed, 2 changed by Fishingsnow (9)
|
|
code (duplicated code removal)
|
|
hardcoded offset to make the string appear centred.
|
|
real static inline functions
|
|
loops they're used in, and remove some assumptions about the size of an array.
|
|
removed two switch-cases, that we can do without
|
|
valid vehicle types in the argument
|
|
roadveh_gui.cpp
|
|
intelligent) then other compilers when it comes to operator precedence.
A copy of code from train_gui.cpp to build_vehicle_gui.cpp was not exactly the same.
The earlier version did not require parenthesis to specify correct operator precedence.
|
|
Note: now all build vehicle windows are merged into build_vehicle_gui.cpp
|
|
build_vehicle_gui.cpp and added arrays + VehTypeToIndex() instead
|
|
0,1,2... for use for index to arrays
Used this function to get rid of some switch-cases in build_vehicle_gui.cpp
-Fix (r8335): ship build window didn't remember assending/decending sort setting
|
|
horizontally and contains sorting options
-Codechange: the build ship window is merged into build_vehicle_gui.cpp
|
|
|