summaryrefslogtreecommitdiff
path: root/src/ai/ai_info.cpp
AgeCommit message (Collapse)Author
2018-12-27Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵glx
macro _WIN32
2018-03-14(svn r27993) -Change: Heading for 1.9 nowfrosch
2017-03-11(svn r27780) -Update: Numbersfrosch
2016-03-01(svn r27518) -Update: Numbersfrosch
2015-03-17(svn r27193) -Fix (r27192): Incomplete copy/paste.frosch
2015-03-17(svn r27192) -Change: heading for 1.6 nowfrosch
2014-09-06(svn r26774) -Cleanup [Squirrel]: remove _SC macrorubidium
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
2014-03-17(svn r26406) -Change: heading for 1.5 nowfrosch
2013-02-14(svn r25001) -Change: heading for 1.4 nowrubidium
2012-02-19(svn r23969) -Codechange: trunk heads to 1.3 nowrubidium
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-01(svn r23386) -Fix: debug script related events to 'script' (removes 'ai')truebrain
2011-11-29(svn r23365) -Codechange: move constants to a single place, to avoid ↵truebrain
duplication (and in time, different values)
2011-11-29(svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfigtruebrain
2011-11-29(svn r23362) -Codechange: refactor AIScanner, splitting it in AIScannerInfo ↵truebrain
and AIScannerLibrary
2011-11-23(svn r23295) -Codechange: put ImportLibrary in AIController (and document ↵truebrain
the parameters for NoAI docs)
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-02-14(svn r22083) -Change: trunk is heading towards 1.2 nowrubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-02(svn r21697) -Codechange: use GetGameSettings() in a few more places to ↵yexo
enhance readability
2010-11-24(svn r21311) -Fix [FS#4260]: AIs in an infinite loop in e.g. autosave, but ↵rubidium
also getting settings and such from info.nut, would not be interrupted after a while causing OpenTTD to seem to not respond
2010-10-16(svn r20951) -Codechange: Add SmallMap::Contains() and use it.frosch
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-13(svn r20479) -Change: Use 'Buttons Name: Value' layout for AI and NewGRF ↵frosch
parameter GUI.
2010-07-31(svn r20271) -Doc: add doxygen comments to several items under src/ai/yexo
2010-02-16(svn r19143) -Codechange: trunk's going for 1.1 now.rubidium
2010-01-18(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconvrubidium
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-12-23(svn r18622) -Merge: release changesrubidium
2009-12-06(svn r18418) -Fix [FS#3298]: under some circumstances a pointer could be ↵rubidium
left untouched and then freed. Make sure this doesn't happen by ensuring it starts out as NULL instead of 'garbage'.
2009-09-22(svn r17609) -Fix: the dummy AI had no API version set, causing the 'API ↵yexo
compatibility script not found' error to be printed when loading it
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-20(svn r17228) -Codechange: some coding style fixesrubidium
2009-08-18(svn r17214) -Add [NoAI]: GetAPIVersion() as optional function in info.nut. ↵yexo
Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api. -Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
2009-07-04(svn r16738) -Codechange: Remove casting away constness by changing the text ↵alberth
before storing.
2009-05-24(svn r16421) -Codechange: do not unnecessarily remove constness or ↵rubidium
unnecessarily add it.
2009-04-21(svn r16113) -Feature [NoAI]: Add UseAsRandomAI as function in info.nut. ↵yexo
When an AI returns false, it'll never be chosen as random AI.
2009-03-16(svn r15742) -Fix (r15736): AIs with an invalid info.nut weren't ignored ↵yexo
anymore.
2009-03-15(svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic ↵yexo
classes ScriptScanner/ScriptFileInfo.
2009-02-13(svn r15470) -Fix [NoAI]: Check the types of the parameters passed to ↵yexo
AddSetting, AddLabels and RegisterAI.
2009-02-13(svn r15467) -Fix [NoAI]: AIs with an error in their info.nut are no longer ↵yexo
available in-game.
2009-02-13(svn r15466) -Fix (r15330): The squirrel instance object was freed twice if ↵yexo
an info.nut failed to compile.
2009-02-13(svn r15465) -Codechange: constify most of AIInfo/AIFileInfo methods, move ↵smatz
definition of very simple getters to header file
2009-02-13(svn r15464) -Codechange [NoAI]: Call all info.nut functions exactly once ↵yexo
and only during initialization.
2009-02-13(svn r15463) -Change [API CHANGE]: Replace ↵yexo
AIInfo::CanLoadFromVersion(version) with AIInfo::MinVersionToLoad() which should return a single integer, the minimum version the AI is able to load data from.
2009-02-11(svn r15441) -Cleanup: Use a return value instead of passing a pointer to ↵yexo
where the result should be stored.
2009-02-06(svn r15368) -Fix: some typos in commentsrubidium
2009-02-06(svn r15366) -Add [NoAI]: Add AddLabels() where you can define labels for ↵Yexo
the values of the settings in info.nut