-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathopenquick_tolua.pkg
237 lines (219 loc) · 6.25 KB
/
openquick_tolua.pkg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
//------------------------------------------------------------------------------
// Mark-up in header files
//------------------------------------------------------------------------------
$cfile "include/QAnimation.h"
$cfile "include/QAtlas.h"
$cfile "include/QAudio.h"
$cfile "include/QBase.h"
$cfile "include/QCircle.h"
$cfile "include/QColor.h"
$cfile "include/QDirector.h"
$cfile "include/QEvent.h"
$cfile "include/QFilter.h"
$cfile "include/QFont.h"
$cfile "include/QLabel.h"
$cfile "include/QLines.h"
$cfile "include/QNode.h"
$cfile "include/QNodeGLProgram.h"
$cfile "include/QMain.h"
$cfile "include/QParticles.h"
$cfile "include/QPhysics.h"
$cfile "include/QPhysicsContact.h"
$cfile "include/QPhysicsContactListener.h"
$cfile "include/QPhysicsJoint.h"
$cfile "include/QPhysicsJointDistance.h"
$cfile "include/QPhysicsJointRevolute.h"
$cfile "include/QPhysicsJointPrismatic.h"
$cfile "include/QPhysicsJointFriction.h"
$cfile "include/QPhysicsJointWheel.h"
$cfile "include/QPhysicsJointWeld.h"
$cfile "include/QPhysicsJointPulley.h"
$cfile "include/QPhysicsJointTouch.h"
$cfile "include/QPhysicsJointGear.h"
$cfile "include/QPhysicsJointRope.h"
$cfile "include/QPhysicsNodeProps.h"
$cfile "include/QRect.h"
$cfile "include/QRectangle.h"
$cfile "include/QRenderTexture.h"
$cfile "include/QScene.h"
$cfile "include/QSprite.h"
$cfile "include/QLsqlite3.h"
$cfile "include/QSystem.h"
$cfile "include/QTiledMap.h"
$cfile "include/QTimer.h"
$cfile "include/QTween.h"
$cfile "include/QVec2.h"
$cfile "include/QVector.h"
//------------------------------------------------------------------------------
// Mark-up here:
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// QDirector
//------------------------------------------------------------------------------
namespace quick {
class QDirector {
public:
tolua_property float displayWidth; // Read Only
tolua_property float displayHeight; // Read Only
tolua_property float displayCenterX; // Read Only
tolua_property float displayCenterY; // Read Only
};
}
//------------------------------------------------------------------------------
// QFont
//------------------------------------------------------------------------------
namespace quick {
class QFont {
public:
tolua_property int height; // Read Only
tolua_property std::string fileName; // Read Only
};
}
//------------------------------------------------------------------------------
// QSprite
//------------------------------------------------------------------------------
namespace quick {
class QSprite {
public:
tolua_property bool isPlaying;
tolua_property int frame;
tolua_property QAnimation *animation;
};
}
//------------------------------------------------------------------------------
// QAudio
//------------------------------------------------------------------------------
namespace quick {
class QAudio {
public:
tolua_property float streamVolume;
tolua_property float soundVolume;
};
}
//------------------------------------------------------------------------------
// QLabel
//------------------------------------------------------------------------------
namespace quick {
class QLabel {
public:
tolua_property float xText; // Read Only
tolua_property float yText; // Read Only
tolua_property float wText; // Read Only
tolua_property float hText; // Read Only
};
}
//------------------------------------------------------------------------------
// Joint
//------------------------------------------------------------------------------
namespace quick {
namespace physics {
class QJoint {
public:
tolua_property bool isActive;
tolua_property bool isCollideConnected;
};
};
}
// QJointDistance
namespace quick {
namespace physics {
class QJointDistance {
public:
// tolua_property float length; //readonly
};
};
}
// QJointRevolute
namespace quick {
namespace physics {
class QJointRevolute {
public:
tolua_property float motorTorque; //readonly
tolua_property float jointSpeed; //readonly
tolua_property float jointAngle; //readonly
};
};
}
// QJointPrismatic
namespace quick {
namespace physics {
class QJointPrismatic {
public:
tolua_property float motorForce; //readonly
tolua_property float jointTranslation; //readonly
tolua_property float jointSpeed; //readonly
};
};
}
// QJointFriction
namespace quick {
namespace physics {
class QJointFriction {
public:
// tolua_property float motorForce; //readonly
};
};
}
// QJointWheel
namespace quick {
namespace physics {
class QJointWheel {
public:
tolua_property float motorTorque; //readonly
tolua_property float jointTranslation; //readonly
tolua_property float jointSpeed; //readonly
};
};
}
// QJointWeld
namespace quick {
namespace physics {
class QJointWeld {
public:
// tolua_property float motorTorque; //readonly
};
};
}
// QJointPulley
namespace quick {
namespace physics {
class QJointPulley {
public:
// tolua_property float motorTorque; //readonly
};
};
}
// QJointTouch
namespace quick {
namespace physics {
class QJointTouch {
public:
// tolua_property float motorTorque; //readonly
};
};
}
// QJointGear
namespace quick {
namespace physics {
class QJointGear {
public:
// tolua_property float motorTorque; //readonly
};
};
}
// QJointRope
namespace quick {
namespace physics {
class QJointRope {
public:
// tolua_property float motorTorque; //readonly
};
};
}
// QRenderTexture
namespace quick {
class QRenderTexture {
public:
tolua_property bool autodraw;
};
}