summaryrefslogtreecommitdiff
path: root/src/settings.cpp
AgeCommit message (Collapse)Author
2008-10-28(svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf ↵rubidium
but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly.
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-28(svn r14412) -Documentation: Comment some functions related to the advanced ↵frosch
settings. Patch by Alberth, but with less excessive use of 'at'.
2008-09-11(svn r14289) -Fix [FS#2286](r3720)(r1): sound effects an music volume should ↵smatz
be in range 0-127, default value shouldn't be higher (based on a patch by kakaopor)
2008-09-08(svn r14276) -Fix: Rename one of the advanced settings, as 'TTDPatch ↵frosch
compatible nonstop handling' wasn't a correct description anymore.
2008-08-31(svn r14197) -Codechange: rework (original) base graphics determination ↵rubidium
methods. This yields in the following: -Feature: make configuring the to-be-used base graphics via openttd.cfg and the command line possible. -Feature: allow both the German as well as non-German toyland graphics as "correct" and official graphics. -Feature: allow people to create their own base graphics easily and without requiring code changes.
2008-08-29(svn r14185) -Fix (r14153): removing NewGRFs from the config file was ↵rubidium
impossible.
2008-08-25(svn r14174) -Fix: since now, we are 'losing' things, not 'loosing'smatz
2008-08-25(svn r14167) -Fix: items in some ini-groups got duplicated on save.rubidium
2008-08-25(svn r14164) -Codechange: simplify and unify the addition of ini items with ↵rubidium
value when not loading an ini file. -Fix: wrong insertion management causing leaks.
2008-08-24(svn r14153) -Codechange: split ini file reading/saving from settings.cpp.rubidium
2008-08-12(svn r14056) -Fix [FS#2192]: the console backlog is too small for ↵rubidium
list_patches. Now it'll only remove backlog items when there are more than a threshold and when they are there longer than (another) threshold.
2008-08-12(svn r14052) -Codechange: make the size of the chat message "box" ↵rubidium
configurable and increase the default size slightly so it can hold the longest chat messages.
2008-08-11(svn r14041) -Feature(tte): make it possible to filter list_patches output ↵glx
like it's done for other list_* console commands
2008-08-02(svn r13967) -Codechange [YAPP]: Tweak pathfinder penalties a bit. (michi_cc)rubidium
2008-08-02(svn r13952) -Add [YAPP]: Trains now reserve paths trough PBS signals. Bump ↵rubidium
savegame version. (michi_cc)
2008-08-02(svn r13947) -Codechange [YAPP]: Added YAPP-related penalties to NPF. (michi_cc)rubidium
2008-08-02(svn r13943) -Codechange [YAPP]: Reserved station tiles can now be penalized ↵rubidium
more in YAPF. This should help with spread out stations. (michi_cc)
2008-08-02(svn r13942) -Codechange [YAPP]: Add a penalty for double slips to YAPF. ↵rubidium
(michi_cc)
2008-08-02(svn r13941) -Codechange [YAPP]: Added YAPP-related penalties to YAPF. ↵rubidium
(michi_cc)
2008-08-02(svn r13935) -Codechange [YAPP]: PBS signals can now be built with the ↵rubidium
normal signal tools. (michi_cc)
2008-08-02(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch ↵rubidium
setting. (michi_cc)
2008-07-30(svn r13872) -Feature: Split the news message announcing opening and closure ↵belugas
of industries into two news of their own
2008-07-24(svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a ↵smatz
depot (callback 0x11) and give a warning about that
2008-07-22(svn r13781) -Feature: NewGRF presets, selected by a drop down list in the ↵peter1138
NewGRF window. Presets are saved in the config file.
2008-07-21(svn r13773) -Codechange: disable autoclean for protected/unprotected ↵rubidium
companies when the timeout is set to 0. Based on an idea by Thomas.
2008-06-16(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use ↵smatz
Dimension instead of uint16[2] for resolutions
2008-06-05(svn r13386) -Fix: global currency/units setting being overriden when ↵rubidium
loading a savegame.
2008-06-03(svn r13375) -Add: logging of actions that could possibly cause desyncs and ↵smatz
crashes to simplify debugging. See readme.txt for details
2008-06-03(svn r13369) -Codechange: remove duplication of network configuration ↵rubidium
settings between NetworkSettings and NetworkGameInfo. -Fix: failure of changing the server password during games because the password wasn't duplicated properly.
2008-06-02(svn r13365) -Fix: don't segfault on trying to set a non-existing patch setting.rubidium
2008-05-30(svn r13343) -Codechange: reorder/move variable/functions in the network ↵rubidium
headers so that nothing from the network directory needs to include basically all network headers.
2008-05-30(svn r13341) -Codechange: make most of the network settings configurable via ↵rubidium
the patch command.
2008-05-29(svn r13336) -Fix: loading old savegames, e.g. the intro game, would reset ↵rubidium
the autosave settings.
2008-05-29(svn r13334) -Codechange: move the network settings variables from ↵rubidium
network/network_internal to settings.
2008-05-29(svn r13332) -Fix (r13325): network games got somewhat broken.rubidium
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-28(svn r13317) -Codechange: make news messages use a linked list instead of a ↵rubidium
moving circular buffer. This makes it possible to store more news messages in the history. Based on a patch by Cirdan. -Codechange: the number of news messages is reduced by removing every news message that is a configurable amount older than when it would not be shown in the newspaper popup/ticker, which is e.g. a month for industry production changes and half a year for subsidy offers. As a result the more important messages will stay longer in the message history (if longer than 30 messages).
2008-05-28(svn r13309) -Fix: the difficulty settings from the savegame would be reset ↵rubidium
by the ones of the intro game.
2008-05-26(svn r13277) -Fix: opntitle 'jumping' to the temperate climate when closing ↵rubidium
the NewGRF settings window.
2008-05-26(svn r13258) -Codechange: add support for using (most) of the old patch ↵rubidium
names in the console.
2008-05-26(svn r13256) -Codechange: merge the OPTS and PATS chuncks.rubidium
-Codechange: split the diff_custom variable. -Feature: allow changing some of the diff_custom variables via the console in network games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25(svn r13247) -Codechange: small amount of coding style for settings.cpp.rubidium
2008-05-25(svn r13242) -Codechange: remove _opt_ptr.rubidium
2008-05-24(svn r13229) -Codechange: replace some global variables that are only ↵rubidium
initialised once and always with the same value with enums.
2008-05-24(svn r13228) -Codechange: split console.h.rubidium
2008-05-24(svn r13226) -Feature: Allow to have more than only two airports per town. ↵belugas
The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is. Initial concept : TTDPatch (moreairpots), Initial code : Pasky Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices