Age | Commit message (Collapse) | Author |
|
to Osai for reporting and providing the patch.
|
|
{' -> '} else {', tabs between code and comment, etc.
|
|
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.
|
|
they are not saved in savegame (Darkvater)
|
|
|
|
yapf.road_curve_penalty setting with default value 100 (=YAPF_TILE_LENGTH) that is saved only in MP games (mart3p)
|
|
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.
|
|
whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
|
|
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.
|
|
|
|
|
|
- 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
|
|
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
|
|
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.
|
|
patch to console_cmds.c, so there is no need for that function in settings.c
|
|
didn't accept on/off or true/false.
|
|
date.[ch]
-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments
|
|
start. This also fixes a bug where a different resolution is chosen for a maximized window, but it retains the maximized flag. Only win32.
|
|
buffer from the configuration file. Handy for variables that will never be changed during runtime
|
|
|
|
|
|
|
|
|
|
value as a confirmation. This was caused by the actual action being executed a tick later in multiplayer mode. Simply work around it by not showing the new value. If someone really must now it, just query again.
|
|
scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
|
|
(mistake in previous commit)
|
|
and 2 configurable settings (slope and crossing penalties) for cost calculation
|
|
saved only in network savegames (thanks glx)
|
|
- Trailing whitespace
- Trailing empty lines
- Missing newline at EOF
- Missing svn:eol-style native
|
|
added into regular savegames (breaks savegame compatibility only with r5070 and 5071).
|
|
penalty per platform instead of per tile (should give better results)
|
|
|
|
support and users for testing.
|
|
|
|
|
|
-1 when parsing the parameter list fails.
|
|
parameters.
|
|
files. Usage: "mygrf = 1". You can pass up to 128 parameters, each one seperated by a comma or a space-character. Big thanks to peter1138 for the inspiration and examples.
|
|
|
|
lists.
|
|
a proper name and value setting (for example for newgrf parameters).
|
|
as an item seperator next to the comma.
|
|
mainly substituting terminating 0 characters with '\0'.
|
|
define
|
|
this was actually not a bug in the generator, but rather it saved/loaded the setting danish as swiss (the previous in the list)
|
|
coordinates of the tile to operate on - to a TileIndex
Remove DoCommandByTile(), because now it does the same as DoCommand()
|
|
out of variables.h. Just a drop in the bucket, but it is a start
|
|
when the signed uint32 variable would be negative.
|
|
- Replace miles/kilometres game option with a general measuring units option.
- Add {POWER}, {WEIGHT}, {WEIGHT_S} and {VOLUME_S} (_S for short) tags to the language/string system.
- Add SI as option for measuring units.
Language file updates to use the system will come soon.
|