equal
deleted
inserted
replaced
9 }; // namespace SQConvert |
9 }; // namespace SQConvert |
10 |
10 |
11 void SQAITownListPopulationRegister(Squirrel *engine) { |
11 void SQAITownListPopulationRegister(Squirrel *engine) { |
12 DefSQClass <AITownListPopulation> SQAITownListPopulation("AITownListPopulation"); |
12 DefSQClass <AITownListPopulation> SQAITownListPopulation("AITownListPopulation"); |
13 SQAITownListPopulation.PreRegister(engine); |
13 SQAITownListPopulation.PreRegister(engine); |
14 SQAITownListPopulation.AddConstructor<void (AITownListPopulation::*)()>(engine, 1, "x"); |
14 SQAITownListPopulation.AddConstructor<void (AITownListPopulation::*)(), 1>(engine, "x"); |
15 |
15 |
16 SQAITownListPopulation.DefSQStaticMethod(engine, &AITownListPopulation::GetClassName, "GetClassName", 1, "x"); |
16 SQAITownListPopulation.DefSQStaticMethod(engine, &AITownListPopulation::GetClassName, "GetClassName", 1, "x"); |
17 |
17 |
18 SQAITownListPopulation.PostRegister(engine); |
18 SQAITownListPopulation.PostRegister(engine); |
19 } |
19 } |
27 }; // namespace SQConvert |
27 }; // namespace SQConvert |
28 |
28 |
29 void SQAITownListLocationRegister(Squirrel *engine) { |
29 void SQAITownListLocationRegister(Squirrel *engine) { |
30 DefSQClass <AITownListLocation> SQAITownListLocation("AITownListLocation"); |
30 DefSQClass <AITownListLocation> SQAITownListLocation("AITownListLocation"); |
31 SQAITownListLocation.PreRegister(engine); |
31 SQAITownListLocation.PreRegister(engine); |
32 SQAITownListLocation.AddConstructor<void (AITownListLocation::*)()>(engine, 1, "x"); |
32 SQAITownListLocation.AddConstructor<void (AITownListLocation::*)(), 1>(engine, "x"); |
33 |
33 |
34 SQAITownListLocation.DefSQStaticMethod(engine, &AITownListLocation::GetClassName, "GetClassName", 1, "x"); |
34 SQAITownListLocation.DefSQStaticMethod(engine, &AITownListLocation::GetClassName, "GetClassName", 1, "x"); |
35 |
35 |
36 SQAITownListLocation.PostRegister(engine); |
36 SQAITownListLocation.PostRegister(engine); |
37 } |
37 } |