@@ -12,90 +12,106 @@ LuaBindingRegisterFunctionDefinitionForType(PrimitiveLuaBindings, LinePrimitive)
12
12
return luabind::class_<LinePrimitive, GraphicalPrimitive>(" LinePrimitive" )
13
13
14
14
.def (luabind::constructor<int , const Vector&, const Vector&, unsigned char >())
15
- .def (luabind::constructor<int , const Vector&, const Vector&, float , unsigned char >());
15
+ .def (luabind::constructor<int , const Vector&, const Vector&, float , unsigned char >())
16
+ .def (luabind::constructor<int , const Vector&, const Vector&, float , unsigned char , float >());
16
17
}
17
18
18
19
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, ArcPrimitive) {
19
20
return luabind::class_<ArcPrimitive, GraphicalPrimitive>(" ArcPrimitive" )
20
21
21
- .def (luabind::constructor<int , const Vector&, float , float , int , int , unsigned char >());
22
+ .def (luabind::constructor<int , const Vector&, float , float , int , int , unsigned char >())
23
+ .def (luabind::constructor<int , const Vector&, float , float , int , int , unsigned char , float >());
22
24
}
23
25
24
26
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, SplinePrimitive) {
25
27
return luabind::class_<SplinePrimitive, GraphicalPrimitive>(" SplinePrimitive" )
26
28
27
- .def (luabind::constructor<int , const Vector&, const Vector&, const Vector&, const Vector&, unsigned char >());
29
+ .def (luabind::constructor<int , const Vector&, const Vector&, const Vector&, const Vector&, unsigned char >())
30
+ .def (luabind::constructor<int , const Vector&, const Vector&, const Vector&, const Vector&, unsigned char , float >());
28
31
}
29
32
30
33
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, BoxPrimitive) {
31
34
return luabind::class_<BoxPrimitive, GraphicalPrimitive>(" BoxPrimitive" )
32
35
33
- .def (luabind::constructor<int , const Vector&, const Vector&, unsigned char >());
36
+ .def (luabind::constructor<int , const Vector&, const Vector&, unsigned char >())
37
+ .def (luabind::constructor<int , const Vector&, const Vector&, unsigned char , float >());
34
38
}
35
39
36
40
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, BoxFillPrimitive) {
37
41
return luabind::class_<BoxFillPrimitive, GraphicalPrimitive>(" BoxFillPrimitive" )
38
42
39
- .def (luabind::constructor<int , const Vector&, const Vector&, unsigned char >());
43
+ .def (luabind::constructor<int , const Vector&, const Vector&, unsigned char >())
44
+ .def (luabind::constructor<int , const Vector&, const Vector&, unsigned char , float >());
40
45
}
41
46
42
47
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, RoundedBoxPrimitive) {
43
48
return luabind::class_<RoundedBoxPrimitive, GraphicalPrimitive>(" RoundedBoxPrimitive" )
44
49
45
- .def (luabind::constructor<int , const Vector&, const Vector&, int , unsigned char >());
50
+ .def (luabind::constructor<int , const Vector&, const Vector&, int , unsigned char >())
51
+ .def (luabind::constructor<int , const Vector&, const Vector&, int , unsigned char , float >());
46
52
}
47
53
48
54
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, RoundedBoxFillPrimitive) {
49
55
return luabind::class_<RoundedBoxFillPrimitive, GraphicalPrimitive>(" RoundedBoxFillPrimitive" )
50
56
51
- .def (luabind::constructor<int , const Vector&, const Vector&, int , unsigned char >());
57
+ .def (luabind::constructor<int , const Vector&, const Vector&, int , unsigned char >())
58
+ .def (luabind::constructor<int , const Vector&, const Vector&, int , unsigned char , float >());
52
59
}
53
60
54
61
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, CirclePrimitive) {
55
62
return luabind::class_<CirclePrimitive, GraphicalPrimitive>(" CirclePrimitive" )
56
63
57
- .def (luabind::constructor<int , const Vector&, int , unsigned char >());
64
+ .def (luabind::constructor<int , const Vector&, int , unsigned char >())
65
+ .def (luabind::constructor<int , const Vector&, int , unsigned char , float >());
58
66
}
59
67
60
68
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, CircleFillPrimitive) {
61
69
return luabind::class_<CircleFillPrimitive, GraphicalPrimitive>(" CircleFillPrimitive" )
62
70
63
- .def (luabind::constructor<int , const Vector&, int , unsigned char >());
71
+ .def (luabind::constructor<int , const Vector&, int , unsigned char >())
72
+ .def (luabind::constructor<int , const Vector&, int , unsigned char , float >());
64
73
}
65
74
66
75
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, EllipsePrimitive) {
67
76
return luabind::class_<EllipsePrimitive, GraphicalPrimitive>(" EllipsePrimitive" )
68
77
69
- .def (luabind::constructor<int , const Vector&, int , int , unsigned char >());
78
+ .def (luabind::constructor<int , const Vector&, int , int , unsigned char >())
79
+ .def (luabind::constructor<int , const Vector&, int , int , unsigned char , float >());
70
80
}
71
81
72
82
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, EllipseFillPrimitive) {
73
83
return luabind::class_<EllipseFillPrimitive, GraphicalPrimitive>(" EllipseFillPrimitive" )
74
84
75
- .def (luabind::constructor<int , const Vector&, int , int , unsigned char >());
85
+ .def (luabind::constructor<int , const Vector&, int , int , unsigned char >())
86
+ .def (luabind::constructor<int , const Vector&, int , int , unsigned char , float >());
76
87
}
77
88
78
89
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, TrianglePrimitive) {
79
90
return luabind::class_<TrianglePrimitive, GraphicalPrimitive>(" TrianglePrimitive" )
80
91
81
- .def (luabind::constructor<int , const Vector&, const Vector&, const Vector&, unsigned char >());
92
+ .def (luabind::constructor<int , const Vector&, const Vector&, const Vector&, unsigned char >())
93
+ .def (luabind::constructor<int , const Vector&, const Vector&, const Vector&, unsigned char , float >());
82
94
}
83
95
84
96
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, TriangleFillPrimitive) {
85
97
return luabind::class_<TriangleFillPrimitive, GraphicalPrimitive>(" TriangleFillPrimitive" )
86
98
87
- .def (luabind::constructor<int , const Vector&, const Vector&, const Vector&, unsigned char >());
99
+ .def (luabind::constructor<int , const Vector&, const Vector&, const Vector&, unsigned char >())
100
+ .def (luabind::constructor<int , const Vector&, const Vector&, const Vector&, unsigned char , float >());
88
101
}
89
102
90
103
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, TextPrimitive) {
91
104
return luabind::class_<TextPrimitive, GraphicalPrimitive>(" TextPrimitive" )
92
105
93
- .def (luabind::constructor<int , const Vector&, const std::string&, bool , int , float >());
106
+ .def (luabind::constructor<int , const Vector&, const std::string&, bool , int , float >())
107
+ .def (luabind::constructor<int , const Vector&, const std::string&, bool , int , float , float >());
94
108
}
95
109
96
110
LuaBindingRegisterFunctionDefinitionForType (PrimitiveLuaBindings, BitmapPrimitive) {
97
111
return luabind::class_<BitmapPrimitive, GraphicalPrimitive>(" BitmapPrimitive" )
98
112
99
113
.def (luabind::constructor<int , const Vector&, const MOSprite*, float , unsigned int , bool , bool >())
100
- .def (luabind::constructor<int , const Vector&, const std::string&, float , bool , bool >());
114
+ .def (luabind::constructor<int , const Vector&, const MOSprite*, float , unsigned int , bool , bool , float >())
115
+ .def (luabind::constructor<int , const Vector&, const std::string&, float , bool , bool >())
116
+ .def (luabind::constructor<int , const Vector&, const std::string&, float , bool , bool , float >());
101
117
}
0 commit comments