From 6d4900ed7c1631c40aec59cab9c11881107456a5 Mon Sep 17 00:00:00 2001 From: yexo Date: Sat, 31 Jul 2010 22:16:34 +0000 Subject: (svn r20271) -Doc: add doxygen comments to several items under src/ai/ --- src/ai/ai_info_dummy.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ai/ai_info_dummy.cpp') diff --git a/src/ai/ai_info_dummy.cpp b/src/ai/ai_info_dummy.cpp index f38832310..f706110f7 100644 --- a/src/ai/ai_info_dummy.cpp +++ b/src/ai/ai_info_dummy.cpp @@ -25,6 +25,7 @@ * to select manual. It is a fail-over in case no AIs are available. */ +/** info.nut for the dummy AI. */ const SQChar _dummy_script_info[] = _SC(" \n\ class DummyAI extends AIInfo { \n\ function GetAuthor() { return \"OpenTTD NoAI Developers Team\"; } \n\ @@ -39,6 +40,7 @@ class DummyAI extends AIInfo { RegisterDummyAI(DummyAI()); \n\ "); +/** Run the dummy info.nut. */ void AI_CreateAIInfoDummy(HSQUIRRELVM vm) { sq_pushroottable(vm); @@ -54,6 +56,7 @@ void AI_CreateAIInfoDummy(HSQUIRRELVM vm) NOT_REACHED(); } +/** Run the dummy AI and let it generate an error message. */ void AI_CreateAIDummy(HSQUIRRELVM vm) { /* We want to translate the error message. -- cgit v1.2.3-54-g00ecf