Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
instead of rebuilding the list and then rebuild it the next time it's redrawn
This should save CPU time in the (maybe unlikely) event that the list is invalidated more than once between two redraws
|
|
from build_vehicle_gui.cpp to aircraft_gui.cpp
|
|
in horizontal direction as well
-Codechange: merged train and aircraft build window code
|
|
|
|
completely, and make i local to each loop it's used in.
|
|
|
|
now works with the type given as a byte as well as a vehicle pointer
|
|
officially available language (number of missing strings is far less than 100)
|
|
language, fixed a wrong plural param
|
|
descriptive.
|
|
Reduce the size of EngineInfo (from 28 to 24 bytes) by moving one of its attributes
|
|
Simplify TrainPowerChanged() somewhat by eleminating code duplication
|
|
they're also the same everywhere.
|
|
brazilian_portuguese - 10 changed by fukumori (10)
polish - 5 fixed by meush (5)
simplified_chinese - 9 fixed, 191 changed by Fishingsnow (200)
slovak - 1 fixed by lengyel (1)
slovenian - 1 changed by ThePianoGuy (1)
|
|
same everywhere it was set.
|
|
GRFIdentifier so it can be reused.
|
|
always have a stderr visible/available
|
|
-Codechange: Move the railtype from EngineInfo to RailVehicleInfo, because having a railtype for non-rail vehicles isn't that useful
|
|
can be negative,
so don't put them in an unsigned variable before drawing them in the various
graphs. Although the code didn't change, this only seems to have broken since
we started compiling it as C++.
|
|
|
|
-Fix: WinCE doesn't know GetKeyboardState
-Fix: made a replacement of GetCurrentDirectory, where CurDir is assumed to be the dir the executable is located (esoftinteractive.com)
-Fix: the GCC compiler is more happy if the WinMain is called that
-Fix: a really old typo (missing ')') ;)
-Fix: GdiFlush() isn't supported on WinCE
|
|
FileExists as it was in pre-r5764 for Win32 (tnx Darkvater)
|
|
later.
|
|
alternative where possible
|
|
Above that, wince-gcc gave "unused variable" on every file which included airport.h... pretty annoying ;)
|
|
in ShowVehicleListWindowLocal()
|
|
graph_gui.cpp to a file of its own: signs_gui.cpp.
|
|
include that
instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to
players.cpp.
|
|
Remove unreachable code
|
|
uint16
-Fix: CmdMassStartStopVehicle() tried to put a TileIndex into an uint16
Those two bugs were unrelated to each other and unrelated to r8295, even though that commit touched the code in question
|
|
depot_airport_index for GenerateVehicleSortList() and BuildVehicleList() into one uint16 argument
It turned out that all 3 arguments were the same at all the places those functions are called, so there was no point in having more than one
|
|
fail to reset prev_shared and next_shared
-As a result, vehicles in the game could end up having prev/next pointers to vehicles, that was no longer in the game
|
|
all types of vehicle lists (depending on arguments)
- Also removed some unneeded arguments
- this also allows removing an if-else cascade in ShowVehicleListWindowLocal()
|
|
brazilian_portuguese - 69 changed by fukumori (69)
frisian - 48 fixed by ikkejw (48)
russian - 57 changed by DarkFenX (57)
ukrainian - 5 changed by znikoz (5)
|
|
for simplified chinese (Fishingsnow) and japanese (ickoonite)
|
|
-This is once again an obj-C vs C++ issue. I need to make a nice and permanent solution soon, but I need the debugger right now
|