summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2009-01-13 01:46:46 +0000
committertruebrain <truebrain@openttd.org>2009-01-13 01:46:46 +0000
commit5573d9a459746442e5374fe7298230a4c2981bce (patch)
treea2e699a90fbe7d2ebd18ddd9ea713546f3f641bc /src/script
parent27c0a4c8014af73a01f24568a642f3797473bb8e (diff)
downloadopenttd-5573d9a459746442e5374fe7298230a4c2981bce.tar.xz
(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
Diffstat (limited to 'src/script')
-rw-r--r--src/script/squirrel.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/squirrel.hpp b/src/script/squirrel.hpp
index bd9a10cfc..39357bade 100644
--- a/src/script/squirrel.hpp
+++ b/src/script/squirrel.hpp
@@ -48,6 +48,7 @@ public:
friend class AIController;
friend class AIScanner;
friend class AIInstance;
+ friend class AIFileInfo;
Squirrel();
~Squirrel();