--- a/src/ai/api/ai_road.hpp Sun Mar 25 13:55:31 2007 +0000
+++ b/src/ai/api/ai_road.hpp Sun Mar 25 14:19:59 2007 +0000
@@ -113,6 +113,7 @@
DefSQClass <AIRoad> SQAIRoad("AIRoad");
SQAIRoad.PreRegister(engine);
SQAIRoad.AddConstructor(engine);
+
SQAIRoad.DefSQFunction(engine, &AIRoad::IsRoadTile, "IsRoadTile");
SQAIRoad.DefSQFunction(engine, &AIRoad::BuildRoad, "BuildRoad");
SQAIRoad.DefSQFunction(engine, &AIRoad::BuildRoadDepot, "BuildRoadDepot");
@@ -120,6 +121,7 @@
SQAIRoad.DefSQFunction(engine, &AIRoad::RemoveRoad, "RemoveRoad");
SQAIRoad.DefSQFunction(engine, &AIRoad::RemoveRoadDepot, "RemoveRoadDepot");
SQAIRoad.DefSQFunction(engine, &AIRoad::RemoveRoadStation, "RemoveRoadStation");
+
SQAIRoad.PostRegister(engine);
}
#endif /* DEFINE_SQUIRREL_CLASS */