Age | Commit message (Collapse) | Author |
|
small table and a loop iterating over it
|
|
|
|
(forgot to disable the button in this condition)
-Code cleanup r6246: simplified SendAllVehiclesToDepot() and moved an { in PlayerVehWndProc()
|
|
|
|
depot" button
it's located in the vehicle list screen and does the same as in the shared orders window (send all vehicles in list to a depot)
it will still not inform the player if a vehicle failed to find a depot, so don't take for granted that all of them go
|
|
used by other modules, added FollowTrackInit() into YAPF track followers.
|
|
|
|
one is not used in any other files either (Thanks Tron for pointing this out)
|
|
any other files anymore
added window_type to arguments and used it to replace an if cascade with a switch case
|
|
|
|
w->resize.step_height
it was only used twice, so there was no reason to calculate it for each event
|
|
code to delete an empty shared orders list is now much simpler
cleaned up the code to handle button clicks
fixed an assert if widget 9 was pressed on a list with vehicles for another company
|
|
explicitly retrieving it with GetNonSprite()
|
|
also fixed inconsistent Danish translation and a typo in Dutch in the same strings
|
|
up to 2^31-1, instead of up to 2^32-2.
|
|
in the data/ folder
|
|
this will try to send all vehicles in the list to depots/hangars
currently if one fails to find a depot, it will not tell the player
|
|
the window
Since the order is no more, the player will not need that particular window anymore
this could happen if the player opened the window and then sold all the vehicles (or crashed them)
A crash could happen if a new order gets the same (now freed) OrderID and the vehicle using it is not of the same type as the window expect
|
|
this makes the list type detection much easier and allowed an if cascade to be turned into a switch case
this also makes it easier to add more list types
|
|
steep slopes (TrueLight)
|
|
in MSVC 'Task List' as well.
|
|
dutch - 10 fixed, 14 changed by habell (24)
estonian - 1 fixed, 3 changed by t2t2 (4)
portuguese - 6 fixed, 4 changed by izhirahider (10)
|
|
road stop from the back. I introduced this bug when I "improved" GetTileTrackStatus(). (thanks glx for the report and fix).
|
|
plain confusing
All the struct holds is a simple colour gradient, so using a simple array with 8 entries is more clear
Also add the names of colour the gradients as enum
|
|
|
|
Player(vehicle)WndProc into PlayerVehWndProc
Those 4 unified functions were really much alike, so there was no reason to have so much dublicated code
|
|
string, never both (nars)
|
|
|
|
|
|
with FR_TRANSPARENT
|
|
(_color_list) which the renderer shouldn't have know about
|
|
|
|
-CodeChange : rename var Engine *e to Engine *eng, since we have WindowEvent *e in same fnct
-CodeChange : fix a broken tabulation on a switch case. SOme breathing spaces too
|
|
{' -> '} else {', tabs between code and comment, etc.
|
|
american - 10 fixed, 12 changed by WhiteRabbit (22)
portuguese - 4 changed by izhirahider (4)
|
|
'/*' or '*/' in '//' style comments.
|
|
determined size of steps for numeric patch settings in the 'Configure patches' GUI.
The size of these steps normally about (max - min) / 50, which results in steps of 100 000 years for the start year, end year, network restart year and the year of introduction of coloured newspapers.
|
|
danish - 36 fixed, 12 changed by trenskow (48)
french - 2 changed by glx (2)
italian - 36 fixed, 5 changed by sidew (41)
|
|
parameter of FillDrawPixelInfo() and simplify some expressions
|
|
|
|
r6167)
|
|
bit of display code mixed up with the list of vehicles with shared orders (nycom)
|
|
|
|
|
|
routines still use ->player_money.
Because of this, when a player went bankrupt, still not all stuff was removed.
|
|
czech - 70 fixed, 12 changed by Hadez (82)
german - 4 changed by Neonox (4)
italian - 56 fixed, 8 changed by sidew (64)
portuguese - 2 fixed by izhirahider (2)
|
|
is a really stupid thing to assume.
This caused nasty endian bugs. Thank you SO MUCH Osai for all your time in debugging this!! And tnx Rubidium for spotting :)
|
|
french - 10 fixed, 12 changed by glx (22)
german - 1 fixed by Neonox (1)
polish - 10 fixed, 12 changed by meush (22)
portuguese - 11 fixed, 8 changed by izhirahider (19)
|
|
they are not saved in savegame (Darkvater)
|
|
danish - 35 fixed by trenskow (35)
german - 9 fixed, 8 changed by Neonox (17)
hungarian - 10 fixed, 12 changed by miham (22)
portuguese - 9 fixed by izhirahider (9)
slovak - 2 fixed by lengyel (2)
turkish - 1 fixed by jnmbk (1)
|