(svn r23210) -Codechange: generate the GetClassName function for the AI classes programmatically

This commit is contained in:
rubidium
2011-11-13 20:52:39 +00:00
parent b7a655bf4c
commit 3f7eb71b17
101 changed files with 183 additions and 256 deletions

View File

@@ -28,6 +28,8 @@ void AIScanner::RescanAIDir()
this->Scan(PATHSEP "library.nut", AI_LIBRARY_DIR);
}
template <> const char *GetClassName<AIInfo>() { return "AIInfo"; }
AIScanner::AIScanner() :
ScriptScanner(),
info_dummy(NULL)