equal
deleted
inserted
replaced
99 }; // namespace SQConvert |
99 }; // namespace SQConvert |
100 |
100 |
101 void SQAITileListCargoAcceptanceRegister(Squirrel *engine) { |
101 void SQAITileListCargoAcceptanceRegister(Squirrel *engine) { |
102 DefSQClass <AITileListCargoAcceptance> SQAITileListCargoAcceptance("AITileListCargoAcceptance"); |
102 DefSQClass <AITileListCargoAcceptance> SQAITileListCargoAcceptance("AITileListCargoAcceptance"); |
103 SQAITileListCargoAcceptance.PreRegister(engine); |
103 SQAITileListCargoAcceptance.PreRegister(engine); |
104 SQAITileListCargoAcceptance.AddConstructor<void (AITileListCargoAcceptance::*)(CargoID cargo_type), 2>(engine, "xi"); |
104 SQAITileListCargoAcceptance.AddConstructor<void (AITileListCargoAcceptance::*)(CargoID cargo_type, uint width, uint height, uint radius), 5>(engine, "xiiii"); |
105 |
105 |
106 SQAITileListCargoAcceptance.DefSQStaticMethod(engine, &AITileListCargoAcceptance::GetClassName, "GetClassName", 1, "x"); |
106 SQAITileListCargoAcceptance.DefSQStaticMethod(engine, &AITileListCargoAcceptance::GetClassName, "GetClassName", 1, "x"); |
107 |
107 |
108 SQAITileListCargoAcceptance.PostRegister(engine); |
108 SQAITileListCargoAcceptance.PostRegister(engine); |
109 } |
109 } |