(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)

This commit is contained in:
truebrain
2011-11-29 23:15:35 +00:00
parent eab012ec8b
commit af1b3cc070
175 changed files with 4048 additions and 4034 deletions

View File

@@ -200,7 +200,7 @@
}
}
/* static */ void AI::NewEvent(CompanyID company, AIEvent *event)
/* static */ void AI::NewEvent(CompanyID company, ScriptEvent *event)
{
/* AddRef() and Release() need to be called at least once, so do it here */
event->AddRef();
@@ -225,7 +225,7 @@
event->Release();
}
/* static */ void AI::BroadcastNewEvent(AIEvent *event, CompanyID skip_company)
/* static */ void AI::BroadcastNewEvent(ScriptEvent *event, CompanyID skip_company)
{
/* AddRef() and Release() need to be called at least once, so do it here */
event->AddRef();