summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_tilelist.hpp.sq
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-10-04 18:16:44 +0000
committerrubidium <rubidium@openttd.org>2009-10-04 18:16:44 +0000
commite7fb5f00e7b97c235aaad45844ad816f0df5e31e (patch)
tree34410fc9fe4e9fa838a7ceaa85537743f30ee14c /src/ai/api/ai_tilelist.hpp.sq
parent54806e7437efdc3e9cd71a8a778671ea5a4b10b0 (diff)
downloadopenttd-e7fb5f00e7b97c235aaad45844ad816f0df5e31e.tar.xz
(svn r17697) -Codechange: coding style in the automatically generated squirrel wrapper code
Diffstat (limited to 'src/ai/api/ai_tilelist.hpp.sq')
-rw-r--r--src/ai/api/ai_tilelist.hpp.sq12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/ai/api/ai_tilelist.hpp.sq b/src/ai/api/ai_tilelist.hpp.sq
index e469f10ef..3caa087d5 100644
--- a/src/ai/api/ai_tilelist.hpp.sq
+++ b/src/ai/api/ai_tilelist.hpp.sq
@@ -20,7 +20,8 @@ namespace SQConvert {
template <> int Return<AITileList *>(HSQUIRRELVM vm, AITileList *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AITileList", res, NULL, DefSQDestructorCallback<AITileList>); return 1; }
}; // namespace SQConvert
-void SQAITileList_Register(Squirrel *engine) {
+void SQAITileList_Register(Squirrel *engine)
+{
DefSQClass <AITileList> SQAITileList("AITileList");
SQAITileList.PreRegister(engine, "AIAbstractList");
SQAITileList.AddConstructor<void (AITileList::*)(), 1>(engine, "x");
@@ -42,7 +43,8 @@ namespace SQConvert {
template <> int Return<AITileList_IndustryAccepting *>(HSQUIRRELVM vm, AITileList_IndustryAccepting *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AITileList_IndustryAccepting", res, NULL, DefSQDestructorCallback<AITileList_IndustryAccepting>); return 1; }
}; // namespace SQConvert
-void SQAITileList_IndustryAccepting_Register(Squirrel *engine) {
+void SQAITileList_IndustryAccepting_Register(Squirrel *engine)
+{
DefSQClass <AITileList_IndustryAccepting> SQAITileList_IndustryAccepting("AITileList_IndustryAccepting");
SQAITileList_IndustryAccepting.PreRegister(engine, "AITileList");
SQAITileList_IndustryAccepting.AddConstructor<void (AITileList_IndustryAccepting::*)(IndustryID industry_id, int radius), 3>(engine, "xii");
@@ -59,7 +61,8 @@ namespace SQConvert {
template <> int Return<AITileList_IndustryProducing *>(HSQUIRRELVM vm, AITileList_IndustryProducing *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AITileList_IndustryProducing", res, NULL, DefSQDestructorCallback<AITileList_IndustryProducing>); return 1; }
}; // namespace SQConvert
-void SQAITileList_IndustryProducing_Register(Squirrel *engine) {
+void SQAITileList_IndustryProducing_Register(Squirrel *engine)
+{
DefSQClass <AITileList_IndustryProducing> SQAITileList_IndustryProducing("AITileList_IndustryProducing");
SQAITileList_IndustryProducing.PreRegister(engine, "AITileList");
SQAITileList_IndustryProducing.AddConstructor<void (AITileList_IndustryProducing::*)(IndustryID industry_id, int radius), 3>(engine, "xii");
@@ -76,7 +79,8 @@ namespace SQConvert {
template <> int Return<AITileList_StationType *>(HSQUIRRELVM vm, AITileList_StationType *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AITileList_StationType", res, NULL, DefSQDestructorCallback<AITileList_StationType>); return 1; }
}; // namespace SQConvert
-void SQAITileList_StationType_Register(Squirrel *engine) {
+void SQAITileList_StationType_Register(Squirrel *engine)
+{
DefSQClass <AITileList_StationType> SQAITileList_StationType("AITileList_StationType");
SQAITileList_StationType.PreRegister(engine, "AITileList");
SQAITileList_StationType.AddConstructor<void (AITileList_StationType::*)(StationID station_id, AIStation::StationType station_type), 3>(engine, "xii");