(svn r9440) [NoAI] -Codechange: use the identifier used for the #ifdef in the #endif not something that looks like the identifier. noai
authorrubidium
Sun, 25 Mar 2007 12:02:13 +0000
branchnoai
changeset 9520 f7cf8bea10db
parent 9519 0b7c2f4e54fb
child 9521 b9dabdbe1dc5
(svn r9440) [NoAI] -Codechange: use the identifier used for the #ifdef in the #endif not something that looks like the identifier.
src/ai/api/ai_accounting.hpp
src/ai/api/ai_base.hpp
src/ai/api/ai_cargo.hpp
src/ai/api/ai_company.hpp
src/ai/api/ai_controller.hpp
src/ai/api/ai_execmode.hpp
src/ai/api/ai_industry.hpp
src/ai/api/ai_map.hpp
src/ai/api/ai_order.hpp
src/ai/api/ai_road.hpp
src/ai/api/ai_settings.hpp
src/ai/api/ai_sign.hpp
src/ai/api/ai_testmode.hpp
src/ai/api/ai_town.hpp
src/ai/api/ai_transactionmode.hpp
src/ai/api/ai_vehicle.hpp
--- a/src/ai/api/ai_accounting.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_accounting.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -55,6 +55,6 @@
 	SQAIAccounting.DefSQFunction(engine, &AIAccounting::ResetCosts, "ResetCosts");
 	SQAIAccounting.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_ACCOUNTING_HPP */
--- a/src/ai/api/ai_base.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_base.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -51,6 +51,6 @@
 	SQAIBase.DefSQFunction(engine, &AIBase::Chance,    "Chance");
 	SQAIBase.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_BASE_HPP */
--- a/src/ai/api/ai_cargo.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_cargo.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -56,6 +56,6 @@
 	SQAICargo.DefSQFunction(engine, &AICargo::GetCargoIncome, "GetCargoIncome");
 	SQAICargo.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_CARGO_HPP */
--- a/src/ai/api/ai_company.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_company.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -89,6 +89,6 @@
 	SQAICompany.DefSQFunction(engine, &AICompany::SetLoanAmount,    "SetLoanAmount");
 	SQAICompany.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_COMPANY_HPP */
--- a/src/ai/api/ai_controller.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_controller.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -94,4 +94,4 @@
 	SQAIController.DefSQFunction(engine, &AIControllerSquirrel::Sleep,   "Sleep");
 	SQAIController.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
--- a/src/ai/api/ai_execmode.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_execmode.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -47,6 +47,6 @@
 	SQAIExecMode.AddConstructor(engine);
 	SQAIExecMode.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_EXECMODE_HPP */
--- a/src/ai/api/ai_industry.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_industry.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -66,6 +66,6 @@
 	SQAIIndustry.DefSQFunction(engine, &AIIndustry::GetLocation,      "GetLocation");
 	SQAIIndustry.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_INDUSTRY_HPP */
--- a/src/ai/api/ai_map.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_map.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -139,6 +139,6 @@
 	SQAIMap.DefSQFunction(engine, &AIMap::DistanceFromEdge,  "DistanceFromEdge");
 	SQAIMap.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_MAP_HPP */
--- a/src/ai/api/ai_order.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_order.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -181,6 +181,6 @@
 	SQAIOrder.DefSQFunction(engine, &AIOrder::CopyOrders,          "CopyOrders");
 	SQAIOrder.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_ORDER_HPP */
--- a/src/ai/api/ai_road.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_road.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -117,6 +117,6 @@
 	SQAIRoad.DefSQFunction(engine, &AIRoad::RemoveRoadStation, "RemoveRoadStation");
 	SQAIRoad.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_ROAD_HPP */
--- a/src/ai/api/ai_settings.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_settings.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -33,6 +33,6 @@
 	SQAISettings.DefSQFunction(engine, &AISettings::SetCommandDelay, "SetCommandDelay");
 	SQAISettings.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_SETTINGS_HPP */
--- a/src/ai/api/ai_sign.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_sign.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -85,6 +85,6 @@
 	SQAISign.DefSQFunction(engine, &AISign::BuildSign,    "BuildSign");
 	SQAISign.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_SIGN_HPP */
--- a/src/ai/api/ai_testmode.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_testmode.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -49,6 +49,6 @@
 	SQAITestMode.AddConstructor(engine);
 	SQAITestMode.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_TESTMODE_HPP */
--- a/src/ai/api/ai_town.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_town.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -75,6 +75,6 @@
 	SQAITown.DefSQFunction(engine, &AITown::GetLocation,   "GetLocation");
 	SQAITown.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_TOWN_HPP */
--- a/src/ai/api/ai_transactionmode.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_transactionmode.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -117,6 +117,6 @@
 	SQAITransactionMode.DefSQFunction(engine, &AITransactionMode::Append,   "Append");
 	SQAITransactionMode.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_TRANSACTIONMODE_HPP */
--- a/src/ai/api/ai_vehicle.hpp	Sat Mar 24 15:25:10 2007 +0000
+++ b/src/ai/api/ai_vehicle.hpp	Sun Mar 25 12:02:13 2007 +0000
@@ -130,6 +130,6 @@
 	SQAIVehicle.DefSQFunction(engine, &AIVehicle::SkipVehicleOrder,    "SkipVehicleOrder");
 	SQAIVehicle.PostRegister(engine);
 }
-#endif /* SQUIRREL_CLASS */
+#endif /* DEFINE_SQUIRREL_CLASS */
 
 #endif /* AI_VEHICLE_HPP */