settings.c
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.
Thu, 02 Mar 2006 00:07:41 +0000 Darkvater (svn r3720) - [2/4] Present the game with a unified structure for the configuration-ini, saveload, console and gui representations of the settings. This second part gets rid of the old SettingDesc structures and updates them with the unified types. These new settings are heavily macro'd, which should make it easy to add/edit entries within sections.
Wed, 01 Mar 2006 23:53:20 +0000 Darkvater (svn r3719) - [1/4] Present the game with a unified structure for the configuration-ini, saveload, console and gui representations of the settings. This first part rewrites the configuration section to use the SaveLoad VarType in general.
Wed, 01 Mar 2006 21:15:25 +0000 Darkvater (svn r3716) - Move the option settings (_game_opt_desc) from misc.c into settings.c. This will be merged with SettingDesc misc_settings above as they are actually the same. No functionality has changed beside the fact that the settings are now in a different Chunkhandler.
Mon, 20 Feb 2006 23:40:53 +0000 Darkvater (svn r3641) - Rename MusicFilesettings 'btn_down' to more sensible 'playing'
Mon, 20 Feb 2006 23:01:58 +0000 Darkvater (svn r3640) - Remove win32-only variables from variables.h and put them into win32_v.c. Also ifdef the win32 specific configuration file settings.
Mon, 20 Feb 2006 17:54:25 +0000 Darkvater (svn r3622) - Partly revert r3214. The patch setting max_num_autosaves stays to help control PDA-troubles which the commit was intended for. Didn't revert makefile-config version since it would cause trouble. But Bjarni promised to rewrite it :)
Mon, 20 Feb 2006 17:49:26 +0000 Darkvater (svn r3621) - Codechange: Only define the server and bans list if network is enabled. Preparatory work for saving patches/settings to savegame.
Mon, 13 Feb 2006 22:11:03 +0000 truelight (svn r3601) -Codechange: special for Tron, and he was absolutely correct in thisone: added a comment for last commit
Mon, 13 Feb 2006 22:06:02 +0000 truelight (svn r3600) -Fix: suppress error on 64bit targets
Mon, 06 Feb 2006 22:30:43 +0000 truelight (svn r3567) -Fix: for once and for all, use 'unsigned long' if you want to cast something
Sat, 04 Feb 2006 23:09:33 +0000 Darkvater (svn r3550) - [Patches]: fix GCC warning, sorry
Sat, 04 Feb 2006 22:52:30 +0000 Darkvater (svn r3548) - [Patches]: rework two loops in make_oneofmany() and make_manyofmany()
Sat, 04 Feb 2006 22:48:57 +0000 Darkvater (svn r3547) - [Patches]: do some general cleanup, commentarization before starting actual work. This patch contains no functional changes (I hope). It might break GPMI-builds though when trying to join a trunk/ network game or vice versa. To solve, you can change the order of the first 8 enums in SettingDescType. I think that'll work.
Sat, 04 Feb 2006 15:28:30 +0000 Darkvater (svn r3534) - Codechange: remove unused savedump patch-settings.
Wed, 01 Feb 2006 09:08:25 +0000 peter1138 (svn r3512) Yet more whitespace fixes (mostly by Rubidium)
Wed, 01 Feb 2006 07:36:15 +0000 tron (svn r3511) More whitespace ([FS#46] by Rubidium)
Sun, 29 Jan 2006 20:32:30 +0000 truelight (svn r3479) -Fix: fixed warnings on 64bit platforms (anyway, most 64bit platforms)
Sun, 29 Jan 2006 19:50:01 +0000 Darkvater (svn r3475) - Fix: you couldn't remove an item from a list-type of config ingame from the configuration file. Whatever you did, upon restart of OpenTTD those items were still there. To fix this we initialize the first item to NULL in SaveList as it is rebuilt anyways fully.