settings.c
Sat, 19 Aug 2006 10:00:30 +0000 truelight (svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
Wed, 16 Aug 2006 11:39:55 +0000 rubidium (svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920
Tue, 15 Aug 2006 15:18:03 +0000 rubidium (svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and BASE_YEAR when comparing _cur_year with a 'full' year.
Tue, 15 Aug 2006 14:52:17 +0000 rubidium (svn r5915) -Cleanup: some variables were named *_date while they were only holding years; rename these variables to match this.
Tue, 15 Aug 2006 07:37:01 +0000 Darkvater (svn r5908) - Codechange (r5903): Move the retrieval of the new value of a patch to console_cmds.c, so there is no need for that function in settings.c
Tue, 15 Aug 2006 00:26:24 +0000 Darkvater (svn r5903) -Fix [FS#170]: Changing patch settings through the console didn't accept on/off or true/false.
Mon, 14 Aug 2006 14:21:15 +0000 rubidium (svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
Sun, 13 Aug 2006 10:22:34 +0000 Darkvater (svn r5874) -Feature [FS#234]: Remember the maximized state and restore on start. This also fixes a bug where a different resolution is chosen for a maximized window, but it retains the maximized flag. Only win32.
Sat, 12 Aug 2006 22:56:45 +0000 Darkvater (svn r5871) -Feature: Add a possibility to handle pointer strings without a buffer from the configuration file. Handy for variables that will never be changed during runtime
Sun, 16 Jul 2006 00:32:00 +0000 belugas (svn r5504) Feature : Added Italian town name generator. (sidew)
Wed, 28 Jun 2006 06:12:23 +0000 tron (svn r5397) -Fix: Redraw the screen, when switching the signal side
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Sun, 25 Jun 2006 12:28:40 +0000 Darkvater (svn r5360) - Fix (r5359): *sigh*, compile before you commit...
Sun, 25 Jun 2006 12:27:49 +0000 Darkvater (svn r5359) - Setting a patch value through the console would show the old 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.
Sat, 10 Jun 2006 08:37:41 +0000 tron (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
Thu, 08 Jun 2006 17:36:06 +0000 KUDr (svn r5170) - CodeChange: corrected name for "road_crossing_penalty" (mistake in previous commit)
Thu, 08 Jun 2006 17:31:03 +0000 KUDr (svn r5169) - CodeChange: [YAPF] RVs now use YAPF_TILE_LENGTH as base unit and 2 configurable settings (slope and crossing penalties) for cost calculation
Wed, 07 Jun 2006 21:26:57 +0000 KUDr (svn r5164) - CodeChange: [YAPF] settings of platform penalties are now saved only in network savegames (thanks glx)
Mon, 05 Jun 2006 18:10:43 +0000 tron (svn r5136) Fix various style bugs:
Fri, 02 Jun 2006 16:31:35 +0000 KUDr (svn r5076) CodeChange: [YAPF] Platform selection feature related settings added into regular savegames (breaks savegame compatibility only with r5070 and 5071).
Thu, 01 Jun 2006 22:20:40 +0000 KUDr (svn r5067) -Codechange: [YAPF] Platform selection feature now applies penalty per platform instead of per tile (should give better results)
Thu, 01 Jun 2006 21:39:35 +0000 KUDr (svn r5066) -Feature: [YAPF] Train selects the best station platform by length
Sat, 27 May 2006 16:12:16 +0000 KUDr (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
Fri, 19 May 2006 20:32:45 +0000 KUDr (svn r4916) - Fix: SLE_BOOL replaced by SLE_UINT8 for byte _network_lan_internet
Mon, 01 May 2006 09:25:23 +0000 celestar (svn r4639) -Feature: Turkish town names (jnmbk)
Sat, 22 Apr 2006 14:06:46 +0000 Darkvater (svn r4531) - Fix [NewGRF]: overzealous fixing, reset num_params to 0 from -1 when parsing the parameter list fails.
Sat, 22 Apr 2006 13:59:21 +0000 Darkvater (svn r4530) - Fix [NewGRF]: don't spew a warning when a grf file has no parameters.
Sat, 22 Apr 2006 13:17:13 +0000 Darkvater (svn r4527) - Feature [NewGRF]: Add support for specifying parameters to GRF 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.
Sat, 22 Apr 2006 00:10:38 +0000 Darkvater (svn r4512) - Codechange: Sprinkle some doxygen magic over settings.c
Fri, 21 Apr 2006 09:18:39 +0000 peter1138 (svn r4498) - Use an item's name instead of value when parsing configuration lists.
Thu, 20 Apr 2006 22:09:49 +0000 Darkvater (svn r4491) - Codechange: handle IGT_LIST types just as the other types with a proper name and value setting (for example for newgrf parameters).
Thu, 20 Apr 2006 22:09:12 +0000 Darkvater (svn r4490) - Feature: The integer-list parser now accepts a space character as an item seperator next to the comma.
Thu, 20 Apr 2006 22:08:20 +0000 Darkvater (svn r4489) - Codechange: some small cleanups in the settings-parser code, mainly substituting terminating 0 characters with '\0'.
Thu, 20 Apr 2006 21:13:08 +0000 peter1138 (svn r4487) - Codechange: replace the custom currency magic number 23 with a define
Sun, 16 Apr 2006 10:26:46 +0000 bjarni (svn r4445) -Fix: FS#108 Danish name generator bug
Mon, 10 Apr 2006 07:15:58 +0000 tron (svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex
Wed, 29 Mar 2006 19:00:56 +0000 celestar (svn r4153) -Codechange. Changed NPF_TILE_LENGTH into an enum and moved it out of variables.h. Just a drop in the bucket, but it is a start
Tue, 28 Mar 2006 21:51:14 +0000 Darkvater (svn r4142) - Fix [FS#74]: Incorrectly loaded settings from the config file when the signed uint32 variable would be negative.
Sun, 26 Mar 2006 21:50:57 +0000 peter1138 (svn r4126) - Feature: A new multi-lingual multi-measuring-unit system:
Tue, 21 Mar 2006 21:07:50 +0000 Darkvater (svn r3997) - Default the patch-setting 'pause_on_join' to true.
Fri, 17 Mar 2006 22:47:52 +0000 Darkvater (svn r3930) - [Patches] Change the GUI-patch options from indeces to string representations. Not only makes this the part more humanly readable, but saves us from rewriting the whole index when a patch is added/removed/changed
Fri, 17 Mar 2006 20:56:51 +0000 Darkvater (svn r3926) - [Patches]: Switched string for ship and aircraft replacement, and also forgot to put back the callback function. Thanks Tron
Fri, 17 Mar 2006 19:52:12 +0000 Darkvater (svn r3924) - Revert r3923, apparently we are not fond of CONDNULL() structs :)
Fri, 17 Mar 2006 18:54:42 +0000 Darkvater (svn r3923) - [Pathces/HACK]: Add 32 empty bytes at the end of the patches chunk in the savegame to not to have to increase the savegame version every time we add one; at least for a while. To not break in-between nightlies a temporary hack is done. So make sure to upgrade to this nightly before you upgrade to newer ones. Releases are unaffected
Fri, 17 Mar 2006 08:06:56 +0000 Darkvater (svn r3915) - Savegame version 23: Do not save the autosave interval anymore with savegames. Some people should be very happe atm ;)
Fri, 17 Mar 2006 08:01:54 +0000 Darkvater (svn r3914) - Properly implement SDT(G)_CONDNULL macro's without special cases (add flag SLF_CONFIG_NO and empty string as name)
Thu, 16 Mar 2006 00:22:36 +0000 Darkvater (svn r3896) - [Patches] Fix: Honour any conditional settings when retrieving the setting entries.
Thu, 16 Mar 2006 00:20:33 +0000 Darkvater (svn r3895) - Add proper SLE(G)_CONDNULL macros for the empty space reservation in savegames and update where used
Wed, 15 Mar 2006 12:37:59 +0000 Darkvater (svn r3880) - just do a string compare without length restrictions; followup for r3875
Tue, 14 Mar 2006 22:58:46 +0000 Darkvater (svn r3875) - [Patches] Fix up the intro menu so the right values for the mapsize are shown (the default ones). Setting the value involves a small hack in that we also set the _patches value because that is used for world-generation and only inside there do the values get copied from _newgame
Mon, 13 Mar 2006 23:20:24 +0000 Darkvater (svn r3854) - Fix restart_game_date to default to zero and allow a value of 0 which got screwed up during the patch-rewrite. Thanks peter1138
Mon, 13 Mar 2006 23:10:02 +0000 Darkvater (svn r3852) - Revert r3733 which fixed the default value loading for char, but broke loading a set value. Added a better fix which needs a char value to be a string (eg enclosed in double-quotes)
Mon, 06 Mar 2006 19:23:26 +0000 peter1138 (svn r3775) Fix loading of server_port from config file, introduced in Darkvater's unified configuration changes (r3719+)
Fri, 03 Mar 2006 11:27:18 +0000 Darkvater (svn r3746) - [7/7] Moving the callback functions for the setting-changes from settings_gui.c to settings.c. Also enable the callback functionality through the console.
Thu, 02 Mar 2006 14:45:35 +0000 tron (svn r3733) Fix a bug in r3719, which caused a crash when the default value for a SLE_VAR_CHAR setting was used
Thu, 02 Mar 2006 09:57:28 +0000 Darkvater (svn r3732) - Fix two warnings. Stupid MSVC didn't even complain :s (Thank Tron and peter1138)
Thu, 02 Mar 2006 02:22:15 +0000 Darkvater (svn r3726) - [6/6] Finalize conversion, finally save the patches struct.
Thu, 02 Mar 2006 01:56:25 +0000 Darkvater (svn r3723) - [5/6] Move over the console commands from settings_gui to settings where they rather belong.
Thu, 02 Mar 2006 01:41:25 +0000 Darkvater (svn r3722) - [4/4] Present the game with a unified structure for the configuration-ini, saveload, console and gui representations of the settings. The last part finishes the transition with the merging of the settings_gui table(s).
Thu, 02 Mar 2006 00:32:48 +0000 Darkvater (svn r3721) - [3/4] Present the game with a unified structure for the configuration-ini, saveload, console and gui representations of the settings. From part 3 on, OpenTTD is once again compilable.