--- a/src/ai/api/ai_town.hpp Sun Mar 25 13:55:31 2007 +0000
+++ b/src/ai/api/ai_town.hpp Sun Mar 25 14:19:59 2007 +0000
@@ -72,12 +72,14 @@
DefSQClass <AITown> SQAITown("AITown");
SQAITown.PreRegister(engine);
SQAITown.AddConstructor(engine);
+
SQAITown.DefSQFunction(engine, &AITown::GetMaxTownID, "GetMaxTownID");
SQAITown.DefSQFunction(engine, &AITown::GetTownCount, "GetTownCount");
SQAITown.DefSQFunction(engine, &AITown::IsValidTown, "IsValidTown");
SQAITown.DefSQFunction(engine, &AITown::GetName, "GetName");
SQAITown.DefSQFunction(engine, &AITown::GetPopulation, "GetPopulation");
SQAITown.DefSQFunction(engine, &AITown::GetLocation, "GetLocation");
+
SQAITown.PostRegister(engine);
}
#endif /* DEFINE_SQUIRREL_CLASS */