yexo
41e9da2420
(svn r23169) -Feature: [NoAI] AICONFIG_AI_DEVELOPER flags to hide AI settings unless gui.ai_developer_tools is enabled (Zuu)
13 years ago
rubidium
f5fdf0e127
(svn r22912) -Fix [FS#4753]: another attempt at fixing a related crash (can't reproduce it though)
13 years ago
rubidium
b878e5c72f
(svn r22905) -Fix [FS#4753] (r22836): the name of the tar was removed from the AI filenames, so record it differently. Also removes some of the hackery to get the tar's filename
13 years ago
rubidium
661e5c6655
(svn r22904) -Codechange: add tar filename to file scanning
13 years ago
rubidium
eb0112edb1
(svn r22836) -Codechange: simplify the scanning of (AI) scripts
13 years ago
rubidium
c8167de1c2
(svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory
13 years ago
rubidium
c163f3c0f7
(svn r22007) -Change: only show one AI per unique ID instead of all versions in the output of "openttd -h"
14 years ago
yexo
57f969de2b
(svn r21703) -Feature [FS#4372]: list_ai_libs console command to get a list of recognized AI libraries (dihedral)
14 years ago
rubidium
846721b375
(svn r21250) -Fix [FS#3952]: Rescanning AIs didn't "forget" removed AIs
14 years ago
rubidium
59b6c9a85e
(svn r21248) -Codechange: don't run the tar scanner twice upon startup
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
yexo
2c8eb94033
(svn r20606) -Change [FS#4042]: change the debug level of the "Registering two AIs/libraries with the same name and version" message from 0 to 1
14 years ago
yexo
67adf766d0
(svn r20346) -Change: scan for tar files before scanning for AIs/NewGRFs so new AIs/NewGRFs inside a tar file are found
14 years ago
terkhen
c92b2e9d3c
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
14 years ago
yexo
e482d6d627
(svn r18953) -Feature: [NoAI] allow editing AI settings while an AI is running
...
Only settings with the AICONFIG_INGAME flag can be editted in this way
15 years ago
yexo
f5212de089
(svn r18944) -Change [FS#3232]: use the highest version of an AI that can load the AI data from a savegame instead of the exact same version
15 years ago
rubidium
0bf54aaedb
(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconv
15 years ago
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
d9f86b6f97
(svn r18747) -Codechange: add some constness to the AI code
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
be9033295e
(svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory.
15 years ago
yexo
b424962e57
(svn r16650) -Fix (r16649): missing ()
15 years ago
yexo
f225163e60
(svn r16649) -Fix: When the exact AI version a game was saved with is no longer available and the latest version of the AI can't load data from that AI version, use the latest available version of the AI that can load the data instead of the first found version that can load the data.
15 years ago
yexo
a127ed11e1
(svn r16113) -Feature [NoAI]: Add UseAsRandomAI as function in info.nut. When an AI returns false, it'll never be chosen as random AI.
16 years ago
rubidium
11e2ca71e6
(svn r16024) -Codechange: harden string copying on places where it's possible
16 years ago
yexo
d02548b204
(svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic classes ScriptScanner/ScriptFileInfo.
16 years ago
rubidium
c3e87f345d
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
yexo
6fe181ae64
(svn r15716) -Change [NoAI]: AI libraries should now be stored in ai/library/<library_name>/ instead of ai/library/<category_name>/<library_name>/. Libraries inside tar files are not affected.
16 years ago
yexo
28c49b694a
(svn r15668) -Fix: a few typos.
16 years ago
yexo
76c0f51cf5
(svn r15630) -Fix (r15027): Make sure OpenTTD loads the dummy AI script when no other AI is available instead of a non-existing file.
16 years ago
yexo
c144d8fa90
(svn r15562) -Change: Use GetName() to determine the unique AI name instead of GetInstanceName() to make branching of AIs easier.
16 years ago
yexo
3e53890348
(svn r15467) -Fix [NoAI]: AIs with an error in their info.nut are no longer available in-game.
16 years ago
yexo
312e57df5f
(svn r15464) -Codechange [NoAI]: Call all info.nut functions exactly once and only during initialization.
16 years ago
Yexo
72643f2090
(svn r15366) -Add [NoAI]: Add AddLabels() where you can define labels for the values of the settings in info.nut
16 years ago
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
glx
6301d1cc0a
(svn r15226) -Fix (r15214): broken AI content download
16 years ago
glx
7809b7ef0e
(svn r15214) -Fix [NoAI]: ignore case for ai/library main script path on windows
16 years ago
rubidium
72b0341ed0
(svn r15126) -Feature: downloading content from a central server (content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates.
16 years ago
truebrain
002427eab9
(svn r15121) -Fix: more mem-leak fixes (this should make SmatZ so happy ;) :p)
16 years ago
truebrain
8cbf156252
(svn r15120) -Fix: more mem-leak fixes
16 years ago
truebrain
f5e0590c09
(svn r15107) -Fix [NoAI]: don't use so much explicit string copies if it is not required
16 years ago
rubidium
65ae906940
(svn r15106) -Fix [NoAI]: printf-ing of garbage.
16 years ago
truebrain
91c7cba05b
(svn r15096) -Fix [NoAI]: free memory when no longer needed
...
-Fix [NoAI]: when there are multiple versions of one AI, never randonly pick an older one, but always the latest
16 years ago
truebrain
e436f0218f
(svn r15095) -Add [NoAI]: allow AI Libraries to be in .tar files (subdir required, as with AIs
...
-Add [NoAI]: allow multiple versions of the same AI co-exist
-Change [NoAI]: updated the whole method of AI (Library) finding and loading; it is now much more clear and transparent
-Change [NoAI]: the name of the AI is now the name used by CreateInstance()
-Change [NoAI]: make the AI finder a bit more clever, mostly related to version finding
16 years ago
truebrain
e84138af22
(svn r15090) -Add [NoAI] [API CHANGE]: info.nut/library.nut now requires a function GetShortName(), which should return a 4 (four) character string, unique throughout the world. This id is simular to a GRFid.
16 years ago
rubidium
eb19b0abf9
(svn r15082) -Codechange: make the AI library path also a searchdir instead of manually manufacturing it into a searchdir.
16 years ago
truebrain
53d28d24b5
(svn r15055) -Add [NoAI]: add the AICONFIG_RANDOM and AICONFIG_BOOLEAN consts (Yexo)
16 years ago
truebrain
5573d9a459
(svn r15045) -Add [NoAI API CHANGE]: in info.nut you can now have (optional) 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
16 years ago
truebrain
c2406cd42d
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to 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
16 years ago