summaryrefslogtreecommitdiff
path: root/src/ai/ai_config.cpp
AgeCommit message (Collapse)Author
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2012-12-05(svn r24789) -Add: Separate setting to control the default settings of newly ↵frosch
added scripts and random AIs.
2012-12-05(svn r24788) -Change: Detach script settings from difficulty settings. ↵frosch
Always allow changing all script settings without setting difficulty to custom.
2012-12-05(svn r24786) -Codechange: Add SettingsProfile enum for difficulty profiles ↵frosch
and highscore tables.
2012-06-01(svn r24317) -Feature: Add dropdowns to AI configurations, if all values ↵frosch
have labels.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-18(svn r23589) -Codechange: Make the AI-start-delay setting translateable.frosch
2011-11-29(svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfigtruebrain
2011-11-12(svn r23198) -Codechange: introduce a free that takes const pointers so we ↵rubidium
don't need to cast to void/non-const before being able to free
2011-06-03(svn r22534) -Fix [FS#4631] (r21250): doing rescan_ai in a game with running ↵yexo
AIs caused a crash
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-22(svn r21888) -Codechange: remove some unneeded (for the AI header) headers ↵rubidium
from some AI headers, reducing the include tree
2011-01-02(svn r21697) -Codechange: use GetGameSettings() in a few more places to ↵yexo
enhance readability
2010-07-31(svn r20271) -Doc: add doxygen comments to several items under src/ai/yexo
2010-03-15(svn r19429) -Fix: when the title game contains an AIPL block the AI ↵yexo
settinsg where overwritten by those from the title game
2010-01-29(svn r18944) -Change [FS#3232]: use the highest version of an AI that can ↵yexo
load the AI data from a savegame instead of the exact same version
2010-01-09(svn r18763) -Feature [FS#3095]: rerandomise AIs on reloading (via the debug ↵rubidium
window) when they were randomly chosen
2010-01-07(svn r18747) -Codechange: add some constness to the AI coderubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-03-07(svn r15638) -Fix: there is a time in your life you should stop coding for a ↵truebrain
project. You know that time is there when you make two huge mistakes in just 10 lines of code. I wish you all the best of luck :) (ps: HUGE mistakes!)
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-23(svn r15215) -Fix: various MSVC x64 compiler warningsrubidium
2009-01-21(svn r15184) -Cleanup: remove extra spacesglx
2009-01-21(svn r15182) -Fix: After updating an AI select the latest version for the ↵Yexo
next game.
2009-01-20(svn r15175) -Feature: Add the option to select the AIs to start in a new ↵Yexo
game and configure them via the gui.
2009-01-20(svn r15171) -Fix (r15027): Buffer underflow in case there are no settings ↵Yexo
to save for an AI.
2009-01-17(svn r15121) -Fix: more mem-leak fixes (this should make SmatZ so happy ;) :p)truebrain
2009-01-13(svn r15063) -Fix [NoAI]: starting companies now listen correctly to ↵truebrain
'start_date' set to the AI slot (Yexo) -Add [NoAI]: add a 'deviation' value for all settings, giving a slight deviation of the value of a setting (Yexo)
2009-01-13(svn r15057) -Fix [NoAI]: clamp the values of a setting between the ones ↵truebrain
allowed by info.nut
2009-01-13(svn r15056) -Add [NoAI]: when starting a game, give a random value to the ↵truebrain
setting marked with AICONFIG_RANDOM (Yexo)
2009-01-13(svn r15045) -Add [NoAI API CHANGE]: in info.nut you can now have (optional) ↵truebrain
a CanLoadFromVersion(version), which should return true/false, to indicate if you can load a savegame made with your AI of version 'version' -Add [NoAI API CHANGE]: in main.nut the Load() function now should be Load(version, data), where 'version' is the version of your AI which made the savegame -Codechange [NoAI]: various of function renames to make things more sane -Add [NoAI]: push the 'version' of the AI through various of layers -Codechange [NoAI]: various of code cleanups -Add [NoAI]: store the version of the AI in the savegame too
2009-01-13(svn r15044) -Add [NoAI]: AIConfig::GetVersion(), to get the version of the ↵truebrain
current AI
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks