(svn r23366) -Codechange: move most of the Dummy code to script/, unifying it

This commit is contained in:
truebrain
2011-11-29 23:26:52 +00:00
parent 4505edbd47
commit 3e6d026129
12 changed files with 61 additions and 55 deletions

View File

@@ -34,8 +34,8 @@ void AIScannerInfo::Initialize(const char *name)
/* Create the dummy AI */
free(this->main_script);
this->main_script = strdup("%_dummy");
extern void AI_CreateAIInfoDummy(HSQUIRRELVM vm);
AI_CreateAIInfoDummy(this->engine->GetVM());
extern void Script_CreateDummyInfo(HSQUIRRELVM vm, const char *type, const char *dir);
Script_CreateDummyInfo(this->engine->GetVM(), "AI", "ai");
}
void AIScannerInfo::SetDummyAI(class AIInfo *info)