Age | Commit message (Collapse) | Author |
|
Remember a list of pointers to signs instead of a list of SignIDs - This removes a layer of indirection
Also make the sign list static
|
|
-Codechange: IsValidXXXID now also checks if XXX is really valid, not if the number is within range
Both changes again in preperation of the new mem-pool system, which requires this.
IsValidXXXID is not a bit less pretty, but that will be cleaned up after the new mem-pool system
|
|
-Codechange: renamed DeleteDestinationFromVehicleOrder to RemoveOrderFromAllVehicles to reflect his function better
-Codechange: changed the params of RemoveOrderFromAllVehicles, to avoid unneeded variable-creation
|
|
|
|
functions and variables all match eachother
|
|
-Codechange: cleaned up the EngineRenew code a bit (coding style mostly)
-Codechange: forgot the correct comment in station_cmd
-Codechange: move pool-stuff to engine.h, like we always do
|
|
|
|
invalid ones
-Codechange: use IsValidXXX where ever possible
Note: both changes to prepare for new pool system, which needs those changes.
For every pool there are 2 ugly lines, which will be removed when done
implementing new pool system.
Based on FS#13 by blathijs, partly implemented.
|
|
label
CodeChange : Move almost all fixed strings from ON_PAINT event to Widget array using WWT_LABEL.
Feature : All "Select Refit Cargo" are now centered, instead of been left aligned
|
|
whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
|
|
danish - 13 fixed by Bjarni (3), trenskow (10)
french - 1 fixed by glx (1)
hungarian - 1 fixed by miham (1)
|
|
|
|
french - 2 fixed by glx (2)
german - 49 fixed by chu (49)
polish - 1 fixed by meush (1)
portuguese - 3 fixed by izhirahider (3)
|
|
|
|
centers on your position (based on FS#54 by thomasdev)
-Add: when clicking twice in SmallMap on a position, it centers there (based on FS#54 by thomasdev)
-Add: add a button in SmallMap that centers the SmallMap on your current position (based on FS#54 by thomasdev)
|
|
code for aircraft (Mart3p)
introduced in rev 5822
|
|
of a general function that handles that
-Codechange: use always 'e' for WindowsEvent, neverr 'we'
|
|
(scroll-settings weren't reset if switched to mainmenu)
|
|
windows handle them theirself. Added WE_SCROLL for this.
|
|
by buggy MS software
|
|
grown and should be harvest (not before that)
|
|
german - 1 fixed by Neonox (1)
polish - 2 fixed, 2 changed by meush (4)
portuguese - 2 fixed by izhirahider (2)
|
|
where the newgrf's expect the original format. Thanks to michi_cc for finding these and providing the initial patch.
|
|
-Cleanup: use TownID and StationID for two instances of uint16
|
|
|
|
(over time) (based on peter1138's patch, FS#82)
To make this to work, in older games farmland is removed on load, and replanted
|
|
danish - 24 fixed, 1 changed by Bjarni (25)
hungarian - 2 fixed by miham (2)
polish - 2 fixed, 3 changed by meush (5)
portuguese - 3 fixed by izhirahider (3)
turkish - 54 fixed by jnmbk (54)
|
|
based at the year 0.
The game date subsystem now allows someone to start in the year 0 and continue
up to the year 5 000 000. However, you currently cannot build anything before
1920 as there is no newgrf support for dates before 1920 or after 2090 yet.
|
|
|
|
OpenTTD (no matter what system you are on). Only useful for testing.
|
|
thread. Machines with
dualcore can be faster then you want, and therefor create 2 threads, while
you made the bool to make sure there is never more then 1 thread of this type.
|
|
functions really depend on the original date format.
-Cleanup: use DAYS_TILL_ORIGINAL_BASE_YEAR where the date variables are in the old date format and conversions are needed.
-Cleanup: replace one (forgotten) instance of uint16 with Date.
|
|
64bit happy (michi_cc)
|
|
that (michi_cc)
|
|
-Codechange: added some comments and const correctness (Darkvater)
|
|
|
|
make way for road. Not wanted behavoir (Rubidium)
|
|
strnicmp (michi_cc)
|
|
Player-Names and
Town-Names (that order) using <tab>. Based on FS#28 by egladil.
|
|
balance window instead of centering (about) 'string width' / 2 from the right edge
|
|
can leave the map on the southern side
|
|
|
|
|
|
french - 7 changed by glx (7)
polish - 77 fixed, 18 changed by meush (95)
|
|
window
|
|
removed by excident.
Because of this you couldn't join servers with passwords, and more of those
problems. (tnx Mucht)
|
|
dutch - 54 fixed by webfreakz (54)
french - 74 fixed by glx (74)
hungarian - 79 fixed by miham (79)
norwegian - 2 fixed by oletk (2)
polish - 1 changed by meush (1)
portuguese - 15 fixed by izhirahider (15)
|
|
|
|
- use a variable size array instead of another malloc()
|
|
and making it work properly only resulted in massive performance drops, and it not working properly also seemed to work, so make it not work properly once again.
|