(svn r18747) -Codechange: add some constness to the AI code

This commit is contained in:
rubidium
2010-01-07 00:09:27 +00:00
parent 0a54cc9335
commit d9f86b6f97
6 changed files with 24 additions and 24 deletions

View File

@@ -41,7 +41,7 @@ public:
/**
* Select a Random AI.
*/
class AIInfo *SelectRandomAI();
class AIInfo *SelectRandomAI() const;
/**
* Find an AI by name.
@@ -51,7 +51,7 @@ public:
/**
* Get the list of available AIs for the console.
*/
char *GetAIConsoleList(char *p, const char *last);
char *GetAIConsoleList(char *p, const char *last) const;
/**
* Get the list of all registered AIs.