Age | Commit message (Collapse) | Author |
|
|
|
- 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.
|
|
Darkvater)
|
|
|
|
industries on mountains (tnx Darkvater)
|
|
- New optional landscape generator (TerraGenesis Perlin)
- Load heightmaps (either BMP or PNG)
- Progress dialog while generating worlds (no longer a 'hanging' screen)
- New dialogs for NewGame, Create Scenario and Play Heightmap
- Easier to configure your landscape
- More things to configure (tree-placer, ..)
- Speedup of world generation
- New console command 'restart': restart the map EXACTLY as it was when you
first started it (needs a game made after or with this commit)
- New console command 'getseed': get the seed of your map and share it with
others (of course only works with generated maps)
- Many new, world generation related, things
- Many internal cleanups and rewrites
Many tnx to those people who helped making this:
Belugas, DaleStan, glx, KUDr, RichK67, Rubidium, and TrueLight (alfabetic)
Many tnx to those who helped testing:
Arnau, Bjarni, and tokai (alfabetic)
And to all other people who helped testing and sending comments / bugs
Stats: 673 lines changed, 3534 new lines, 79 new strings
|
|
textboxes to only
allow certain patterns (like numbers only)
|
|
OTTDThread, as Windows
(who else) uses Thread in winbase.h, and starts complaining if you define it
otherwise (with weird, undefined errors) (tnx Arnau and Rubidium)
|
|
-Cleanup: use _cur_year instead of _date for some (year based) comparisons
-Cleanup: remove a magic number in favour of another (less) magic number
|
|
czech - 2 fixed by Hadez (2)
slovak - 2 fixed by lengyel (2)
|
|
ConvertIntDate was only called with Years.
|
|
determining the availability of airports, as they only become available at the beginning of a year.
|
|
the offset since 1920
-Codechange: store all year related variables that are _not_ stored in a savegame/transported over the network in the same format as _cur_year
|
|
turkish - 2 fixed by jnmbk (2)
|
|
|
|
|
|
|
|
convert a Date to/from a YearMonthDay.
-Cleanup: swap ConvertDateToYMD's parameters to make the order consistent with the name of the function.
|
|
Not Refitted To Correct Cargo (Mart3p)
|
|
BASE_YEAR when comparing _cur_year with a 'full' year.
-Cleanup: replace some magic '1920' values with BASE_YEAR.
|
|
holding years; rename these variables to match this.
|
|
in aircraft_cmd.c (mart3p).
|
|
vehicles tile location is the exit of the tunnel.
|
|
was reversed in the industry list
Also slightly change these sorting criteria: If an industry produces more than one type of cargo sort by the sum (amount) resp. minimum (%) instead of the mean
|
|
|
|
of r5907.
|
|
|
|
patch to console_cmds.c, so there is no need for that function in settings.c
|
|
fix some bogus warnings on MSVC by using (void*) casts
|
|
v->tile, now the exit-tile of the tunnel based on the vehicle's direction is correctly returned. Based on a patch by glx.
|
|
didn't accept on/off or true/false.
|
|
|
|
on starting point
|
|
(michi_cc)
|
|
(mart3p)
|
|
vehicles. (mart3p)
|
|
(mart3p)
|
|
unnecessary global variable
|
|
|
|
code. Less code, less data, simply better
|
|
dutch - 2 fixed by webfreakz (2)
french - 2 fixed by glx (2)
german - 2 fixed by Neonox (2)
hungarian - 2 fixed by miham (2)
polish - 2 fixed by meush (2)
portuguese - 2 fixed by izhirahider (2)
ukrainian - 1 fixed by znikoz (1)
|
|
comparisons with _date.
|
|
|
|
turned off, the vehicles failed to enter any depots
now they will quickly go to a depot if set to be replaced
the tradeoff is that a vehicle set to be replaced and without a depot in the orders will forget about the orders and head for a depot. If the replace fails (lack of money), it will exit and try to head for the depot again
also all vehicles of that type will rush to the depots at once, risking causing traffic jams. This is because there is no way to even it out like normal depot visits offers
Tip: add a depot to the orders of all vehicles, set it to service only and it will always be skipped unless the vehicle is set to be replaced. This should help on the jam issue and if the replace fails, the vehicle will go though a whole round of the orders and make more money before trying again
|
|
date.[ch]
-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments
|
|
to lack of money.
|
|
of aircrafts that are outside the map; similar to r5841, caused by r5794.
|
|
start. This also fixes a bug where a different resolution is chosen for a maximized window, but it retains the maximized flag. Only win32.
|
|
strings.
|