--- a/src/ai/api/ai_map.hpp Sun Mar 25 13:55:31 2007 +0000
+++ b/src/ai/api/ai_map.hpp Sun Mar 25 14:19:59 2007 +0000
@@ -130,6 +130,7 @@
DefSQClass <AIMap> SQAIMap("AIMap");
SQAIMap.PreRegister(engine);
SQAIMap.AddConstructor(engine);
+
SQAIMap.DefSQFunction(engine, &AIMap::IsValidTile, "IsValidTile");
SQAIMap.DefSQFunction(engine, &AIMap::GetMapSize, "GetMapSize");
SQAIMap.DefSQFunction(engine, &AIMap::GetMapSizeX, "GetMapSizeX");
@@ -142,6 +143,7 @@
SQAIMap.DefSQFunction(engine, &AIMap::DistanceSquare, "DistanceSquare");
SQAIMap.DefSQFunction(engine, &AIMap::DistanceFromEdge, "DistanceFromEdge");
SQAIMap.DefSQFunction(engine, &AIMap::DemolishTile, "DemolishTile");
+
SQAIMap.PostRegister(engine);
}
#endif /* DEFINE_SQUIRREL_CLASS */