summaryrefslogtreecommitdiff
path: root/settings.c
AgeCommit message (Collapse)Author
2006-09-01(svn r6296) -Fix (r6186): some more (YAPF) settings were affected by ↵rubidium
accident. Thanks to mart3p for noticing (and to SVN for failing to mark the changes as conflicts).
2006-08-31(svn r6281) -Fix (r6186): three settings were accidently removed. Thanks go ↵rubidium
to Osai for reporting and providing the patch.
2006-08-28(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else ↵rubidium
{' -> '} else {', tabs between code and comment, etc.
2006-08-28(svn r6186) -Fix [FS#309]: add an override system to the dynamically ↵rubidium
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.
2006-08-27(svn r6174) -Cleanup: [YAPF] some SDT_CONDVARs replaced by SDT_VARs since ↵KUDr
they are not saved in savegame (Darkvater)
2006-08-27(svn r6170) -Feature: save max_companies/clients/spectators in the config file.Darkvater
2006-08-27(svn r6164) -Fix [YAPF]: Road vehicles preferring bends - added ↵KUDr
yapf.road_curve_penalty setting with default value 100 (=YAPF_TILE_LENGTH) that is saved only in MP games (mart3p)
2006-08-22(svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips ↵truelight
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.
2006-08-22(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. ↵rubidium
whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
2006-08-20(svn r5999) -Feature: change the original date format to a 32 bits format ↵rubidium
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.
2006-08-20(svn r5965) -Feature: FS#261 Catalan Town Names generator (arnau)bjarni
2006-08-20(svn r5964) -Feature: FS#131 Slovenian currency (MeusH)bjarni
2006-08-19(svn r5946) -Add: merged the TGP branch to mainline. TGP adds:truelight
- 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
2006-08-16(svn r5926) -Codechange: make _cur_year contain the full year, instead of ↵rubidium
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
2006-08-15(svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and ↵rubidium
BASE_YEAR when comparing _cur_year with a 'full' year. -Cleanup: replace some magic '1920' values with BASE_YEAR.
2006-08-15(svn r5915) -Cleanup: some variables were named *_date while they were only ↵rubidium
holding years; rename these variables to match this.
2006-08-15(svn r5908) - Codechange (r5903): Move the retrieval of the new value of a ↵Darkvater
patch to console_cmds.c, so there is no need for that function in settings.c
2006-08-15(svn r5903) -Fix [FS#170]: Changing patch settings through the console ↵Darkvater
didn't accept on/off or true/false.
2006-08-14(svn r5887) -Cleanup: move date related functions, defines and variables to ↵rubidium
date.[ch] -Cleanup: fix whitespace related coding style issues in date.[ch] -Cleanup: make original comments doxygen compatible and remove/change outdated comments
2006-08-13(svn r5874) -Feature [FS#234]: Remember the maximized state and restore on ↵Darkvater
start. This also fixes a bug where a different resolution is chosen for a maximized window, but it retains the maximized flag. Only win32.
2006-08-12(svn r5871) -Feature: Add a possibility to handle pointer strings without a ↵Darkvater
buffer from the configuration file. Handy for variables that will never be changed during runtime
2006-07-16(svn r5504) Feature : Added Italian town name generator. (sidew)belugas
2006-06-28(svn r5397) -Fix: Redraw the screen, when switching the signal sidetron
2006-06-27(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectaculartron
2006-06-25(svn r5360) - Fix (r5359): *sigh*, compile before you commit...Darkvater
2006-06-25(svn r5359) - Setting a patch value through the console would show the old ↵Darkvater
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.
2006-06-10(svn r5210) Many small changes which piled up: const, unsigned, variable ↵tron
scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
2006-06-08(svn r5170) - CodeChange: corrected name for "road_crossing_penalty" ↵KUDr
(mistake in previous commit)
2006-06-08(svn r5169) - CodeChange: [YAPF] RVs now use YAPF_TILE_LENGTH as base unit ↵KUDr
and 2 configurable settings (slope and crossing penalties) for cost calculation
2006-06-07(svn r5164) - CodeChange: [YAPF] settings of platform penalties are now ↵KUDr
saved only in network savegames (thanks glx)
2006-06-05(svn r5136) Fix various style bugs:tron
- Trailing whitespace - Trailing empty lines - Missing newline at EOF - Missing svn:eol-style native
2006-06-02(svn r5076) CodeChange: [YAPF] Platform selection feature related settings ↵KUDr
added into regular savegames (breaks savegame compatibility only with r5070 and 5071).
2006-06-01(svn r5067) -Codechange: [YAPF] Platform selection feature now applies ↵KUDr
penalty per platform instead of per tile (should give better results)
2006-06-01(svn r5066) -Feature: [YAPF] Train selects the best station platform by lengthKUDr
2006-05-27(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous ↵KUDr
support and users for testing.
2006-05-19(svn r4916) - Fix: SLE_BOOL replaced by SLE_UINT8 for byte _network_lan_internetKUDr
2006-05-01(svn r4639) -Feature: Turkish town names (jnmbk)celestar
2006-04-22(svn r4531) - Fix [NewGRF]: overzealous fixing, reset num_params to 0 from ↵Darkvater
-1 when parsing the parameter list fails.
2006-04-22(svn r4530) - Fix [NewGRF]: don't spew a warning when a grf file has no ↵Darkvater
parameters.
2006-04-22(svn r4527) - Feature [NewGRF]: Add support for specifying parameters to GRF ↵Darkvater
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.
2006-04-22(svn r4512) - Codechange: Sprinkle some doxygen magic over settings.cDarkvater
2006-04-21(svn r4498) - Use an item's name instead of value when parsing configuration ↵peter1138
lists.
2006-04-20(svn r4491) - Codechange: handle IGT_LIST types just as the other types with ↵Darkvater
a proper name and value setting (for example for newgrf parameters).
2006-04-20(svn r4490) - Feature: The integer-list parser now accepts a space character ↵Darkvater
as an item seperator next to the comma.
2006-04-20(svn r4489) - Codechange: some small cleanups in the settings-parser code, ↵Darkvater
mainly substituting terminating 0 characters with '\0'.
2006-04-20(svn r4487) - Codechange: replace the custom currency magic number 23 with a ↵peter1138
define
2006-04-16(svn r4445) -Fix: FS#108 Danish name generator bugbjarni
this was actually not a bug in the generator, but rather it saved/loaded the setting danish as swiss (the previous in the list)
2006-04-10(svn r4342) Change the first two parameters of commands - virtual pixel ↵tron
coordinates of the tile to operate on - to a TileIndex Remove DoCommandByTile(), because now it does the same as DoCommand()
2006-03-29(svn r4153) -Codechange. Changed NPF_TILE_LENGTH into an enum and moved it ↵celestar
out of variables.h. Just a drop in the bucket, but it is a start
2006-03-28(svn r4142) - Fix [FS#74]: Incorrectly loaded settings from the config file ↵Darkvater
when the signed uint32 variable would be negative.