raylib-bindings 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +153 -145
- data/LICENSE.txt +0 -0
- data/README.md +82 -82
- data/lib/libraylib.dll +0 -0
- data/lib/libraylib.dylib +0 -0
- data/lib/physac.dll +0 -0
- data/lib/physac.dylib +0 -0
- data/lib/physac.rb +178 -178
- data/lib/raygui.dll +0 -0
- data/lib/raygui.dylib +0 -0
- data/lib/raygui.rb +305 -305
- data/lib/raylib.rb +154 -154
- data/lib/raylib_main.rb +2157 -2154
- data/lib/raymath.rb +342 -342
- data/lib/rlgl.rb +648 -648
- metadata +2 -4
- data/lib/libraylib.4.0.0.dylib +0 -0
- data/lib/libraylib.400.dylib +0 -1
- data/lib/libraylib.dylib +0 -1
data/lib/raylib_main.rb
CHANGED
@@ -1,2154 +1,2157 @@
|
|
1
|
-
# Yet another raylib wrapper for Ruby
|
2
|
-
#
|
3
|
-
# * https://github.com/vaiorabbit/raylib-bindings
|
4
|
-
#
|
5
|
-
# [NOTICE] This is an automatically generated file.
|
6
|
-
|
7
|
-
require 'ffi'
|
8
|
-
|
9
|
-
module Raylib
|
10
|
-
extend FFI::Library
|
11
|
-
# Define/Macro
|
12
|
-
|
13
|
-
RAYLIB_VERSION = "4.0"
|
14
|
-
DEG2RAD = Math::PI / 180.0
|
15
|
-
RAD2DEG = 180.0 / Math::PI
|
16
|
-
|
17
|
-
# Enum
|
18
|
-
|
19
|
-
FLAG_VSYNC_HINT = 64
|
20
|
-
FLAG_FULLSCREEN_MODE = 2
|
21
|
-
FLAG_WINDOW_RESIZABLE = 4
|
22
|
-
FLAG_WINDOW_UNDECORATED = 8
|
23
|
-
FLAG_WINDOW_HIDDEN = 128
|
24
|
-
FLAG_WINDOW_MINIMIZED = 512
|
25
|
-
FLAG_WINDOW_MAXIMIZED = 1024
|
26
|
-
FLAG_WINDOW_UNFOCUSED = 2048
|
27
|
-
FLAG_WINDOW_TOPMOST = 4096
|
28
|
-
FLAG_WINDOW_ALWAYS_RUN = 256
|
29
|
-
FLAG_WINDOW_TRANSPARENT = 16
|
30
|
-
FLAG_WINDOW_HIGHDPI = 8192
|
31
|
-
FLAG_MSAA_4X_HINT = 32
|
32
|
-
FLAG_INTERLACED_HINT = 65536
|
33
|
-
LOG_ALL = 0
|
34
|
-
LOG_TRACE = 1
|
35
|
-
LOG_DEBUG = 2
|
36
|
-
LOG_INFO = 3
|
37
|
-
LOG_WARNING = 4
|
38
|
-
LOG_ERROR = 5
|
39
|
-
LOG_FATAL = 6
|
40
|
-
LOG_NONE = 7
|
41
|
-
KEY_NULL = 0
|
42
|
-
KEY_APOSTROPHE = 39
|
43
|
-
KEY_COMMA = 44
|
44
|
-
KEY_MINUS = 45
|
45
|
-
KEY_PERIOD = 46
|
46
|
-
KEY_SLASH = 47
|
47
|
-
KEY_ZERO = 48
|
48
|
-
KEY_ONE = 49
|
49
|
-
KEY_TWO = 50
|
50
|
-
KEY_THREE = 51
|
51
|
-
KEY_FOUR = 52
|
52
|
-
KEY_FIVE = 53
|
53
|
-
KEY_SIX = 54
|
54
|
-
KEY_SEVEN = 55
|
55
|
-
KEY_EIGHT = 56
|
56
|
-
KEY_NINE = 57
|
57
|
-
KEY_SEMICOLON = 59
|
58
|
-
KEY_EQUAL = 61
|
59
|
-
KEY_A = 65
|
60
|
-
KEY_B = 66
|
61
|
-
KEY_C = 67
|
62
|
-
KEY_D = 68
|
63
|
-
KEY_E = 69
|
64
|
-
KEY_F = 70
|
65
|
-
KEY_G = 71
|
66
|
-
KEY_H = 72
|
67
|
-
KEY_I = 73
|
68
|
-
KEY_J = 74
|
69
|
-
KEY_K = 75
|
70
|
-
KEY_L = 76
|
71
|
-
KEY_M = 77
|
72
|
-
KEY_N = 78
|
73
|
-
KEY_O = 79
|
74
|
-
KEY_P = 80
|
75
|
-
KEY_Q = 81
|
76
|
-
KEY_R = 82
|
77
|
-
KEY_S = 83
|
78
|
-
KEY_T = 84
|
79
|
-
KEY_U = 85
|
80
|
-
KEY_V = 86
|
81
|
-
KEY_W = 87
|
82
|
-
KEY_X = 88
|
83
|
-
KEY_Y = 89
|
84
|
-
KEY_Z = 90
|
85
|
-
KEY_LEFT_BRACKET = 91
|
86
|
-
KEY_BACKSLASH = 92
|
87
|
-
KEY_RIGHT_BRACKET = 93
|
88
|
-
KEY_GRAVE = 96
|
89
|
-
KEY_SPACE = 32
|
90
|
-
KEY_ESCAPE = 256
|
91
|
-
KEY_ENTER = 257
|
92
|
-
KEY_TAB = 258
|
93
|
-
KEY_BACKSPACE = 259
|
94
|
-
KEY_INSERT = 260
|
95
|
-
KEY_DELETE = 261
|
96
|
-
KEY_RIGHT = 262
|
97
|
-
KEY_LEFT = 263
|
98
|
-
KEY_DOWN = 264
|
99
|
-
KEY_UP = 265
|
100
|
-
KEY_PAGE_UP = 266
|
101
|
-
KEY_PAGE_DOWN = 267
|
102
|
-
KEY_HOME = 268
|
103
|
-
KEY_END = 269
|
104
|
-
KEY_CAPS_LOCK = 280
|
105
|
-
KEY_SCROLL_LOCK = 281
|
106
|
-
KEY_NUM_LOCK = 282
|
107
|
-
KEY_PRINT_SCREEN = 283
|
108
|
-
KEY_PAUSE = 284
|
109
|
-
KEY_F1 = 290
|
110
|
-
KEY_F2 = 291
|
111
|
-
KEY_F3 = 292
|
112
|
-
KEY_F4 = 293
|
113
|
-
KEY_F5 = 294
|
114
|
-
KEY_F6 = 295
|
115
|
-
KEY_F7 = 296
|
116
|
-
KEY_F8 = 297
|
117
|
-
KEY_F9 = 298
|
118
|
-
KEY_F10 = 299
|
119
|
-
KEY_F11 = 300
|
120
|
-
KEY_F12 = 301
|
121
|
-
KEY_LEFT_SHIFT = 340
|
122
|
-
KEY_LEFT_CONTROL = 341
|
123
|
-
KEY_LEFT_ALT = 342
|
124
|
-
KEY_LEFT_SUPER = 343
|
125
|
-
KEY_RIGHT_SHIFT = 344
|
126
|
-
KEY_RIGHT_CONTROL = 345
|
127
|
-
KEY_RIGHT_ALT = 346
|
128
|
-
KEY_RIGHT_SUPER = 347
|
129
|
-
KEY_KB_MENU = 348
|
130
|
-
KEY_KP_0 = 320
|
131
|
-
KEY_KP_1 = 321
|
132
|
-
KEY_KP_2 = 322
|
133
|
-
KEY_KP_3 = 323
|
134
|
-
KEY_KP_4 = 324
|
135
|
-
KEY_KP_5 = 325
|
136
|
-
KEY_KP_6 = 326
|
137
|
-
KEY_KP_7 = 327
|
138
|
-
KEY_KP_8 = 328
|
139
|
-
KEY_KP_9 = 329
|
140
|
-
KEY_KP_DECIMAL = 330
|
141
|
-
KEY_KP_DIVIDE = 331
|
142
|
-
KEY_KP_MULTIPLY = 332
|
143
|
-
KEY_KP_SUBTRACT = 333
|
144
|
-
KEY_KP_ADD = 334
|
145
|
-
KEY_KP_ENTER = 335
|
146
|
-
KEY_KP_EQUAL = 336
|
147
|
-
KEY_BACK = 4
|
148
|
-
KEY_MENU = 82
|
149
|
-
KEY_VOLUME_UP = 24
|
150
|
-
KEY_VOLUME_DOWN = 25
|
151
|
-
MOUSE_BUTTON_LEFT = 0
|
152
|
-
MOUSE_BUTTON_RIGHT = 1
|
153
|
-
MOUSE_BUTTON_MIDDLE = 2
|
154
|
-
MOUSE_BUTTON_SIDE = 3
|
155
|
-
MOUSE_BUTTON_EXTRA = 4
|
156
|
-
MOUSE_BUTTON_FORWARD = 5
|
157
|
-
MOUSE_BUTTON_BACK = 6
|
158
|
-
MOUSE_CURSOR_DEFAULT = 0
|
159
|
-
MOUSE_CURSOR_ARROW = 1
|
160
|
-
MOUSE_CURSOR_IBEAM = 2
|
161
|
-
MOUSE_CURSOR_CROSSHAIR = 3
|
162
|
-
MOUSE_CURSOR_POINTING_HAND = 4
|
163
|
-
MOUSE_CURSOR_RESIZE_EW = 5
|
164
|
-
MOUSE_CURSOR_RESIZE_NS = 6
|
165
|
-
MOUSE_CURSOR_RESIZE_NWSE = 7
|
166
|
-
MOUSE_CURSOR_RESIZE_NESW = 8
|
167
|
-
MOUSE_CURSOR_RESIZE_ALL = 9
|
168
|
-
MOUSE_CURSOR_NOT_ALLOWED = 10
|
169
|
-
GAMEPAD_BUTTON_UNKNOWN = 0
|
170
|
-
GAMEPAD_BUTTON_LEFT_FACE_UP = 1
|
171
|
-
GAMEPAD_BUTTON_LEFT_FACE_RIGHT = 2
|
172
|
-
GAMEPAD_BUTTON_LEFT_FACE_DOWN = 3
|
173
|
-
GAMEPAD_BUTTON_LEFT_FACE_LEFT = 4
|
174
|
-
GAMEPAD_BUTTON_RIGHT_FACE_UP = 5
|
175
|
-
GAMEPAD_BUTTON_RIGHT_FACE_RIGHT = 6
|
176
|
-
GAMEPAD_BUTTON_RIGHT_FACE_DOWN = 7
|
177
|
-
GAMEPAD_BUTTON_RIGHT_FACE_LEFT = 8
|
178
|
-
GAMEPAD_BUTTON_LEFT_TRIGGER_1 = 9
|
179
|
-
GAMEPAD_BUTTON_LEFT_TRIGGER_2 = 10
|
180
|
-
GAMEPAD_BUTTON_RIGHT_TRIGGER_1 = 11
|
181
|
-
GAMEPAD_BUTTON_RIGHT_TRIGGER_2 = 12
|
182
|
-
GAMEPAD_BUTTON_MIDDLE_LEFT = 13
|
183
|
-
GAMEPAD_BUTTON_MIDDLE = 14
|
184
|
-
GAMEPAD_BUTTON_MIDDLE_RIGHT = 15
|
185
|
-
GAMEPAD_BUTTON_LEFT_THUMB = 16
|
186
|
-
GAMEPAD_BUTTON_RIGHT_THUMB = 17
|
187
|
-
GAMEPAD_AXIS_LEFT_X = 0
|
188
|
-
GAMEPAD_AXIS_LEFT_Y = 1
|
189
|
-
GAMEPAD_AXIS_RIGHT_X = 2
|
190
|
-
GAMEPAD_AXIS_RIGHT_Y = 3
|
191
|
-
GAMEPAD_AXIS_LEFT_TRIGGER = 4
|
192
|
-
GAMEPAD_AXIS_RIGHT_TRIGGER = 5
|
193
|
-
MATERIAL_MAP_ALBEDO = 0
|
194
|
-
MATERIAL_MAP_METALNESS = 1
|
195
|
-
MATERIAL_MAP_NORMAL = 2
|
196
|
-
MATERIAL_MAP_ROUGHNESS = 3
|
197
|
-
MATERIAL_MAP_OCCLUSION = 4
|
198
|
-
MATERIAL_MAP_EMISSION = 5
|
199
|
-
MATERIAL_MAP_HEIGHT = 6
|
200
|
-
MATERIAL_MAP_CUBEMAP = 7
|
201
|
-
MATERIAL_MAP_IRRADIANCE = 8
|
202
|
-
MATERIAL_MAP_PREFILTER = 9
|
203
|
-
MATERIAL_MAP_BRDF = 10
|
204
|
-
SHADER_LOC_VERTEX_POSITION = 0
|
205
|
-
SHADER_LOC_VERTEX_TEXCOORD01 = 1
|
206
|
-
SHADER_LOC_VERTEX_TEXCOORD02 = 2
|
207
|
-
SHADER_LOC_VERTEX_NORMAL = 3
|
208
|
-
SHADER_LOC_VERTEX_TANGENT = 4
|
209
|
-
SHADER_LOC_VERTEX_COLOR = 5
|
210
|
-
SHADER_LOC_MATRIX_MVP = 6
|
211
|
-
SHADER_LOC_MATRIX_VIEW = 7
|
212
|
-
SHADER_LOC_MATRIX_PROJECTION = 8
|
213
|
-
SHADER_LOC_MATRIX_MODEL = 9
|
214
|
-
SHADER_LOC_MATRIX_NORMAL = 10
|
215
|
-
SHADER_LOC_VECTOR_VIEW = 11
|
216
|
-
SHADER_LOC_COLOR_DIFFUSE = 12
|
217
|
-
SHADER_LOC_COLOR_SPECULAR = 13
|
218
|
-
SHADER_LOC_COLOR_AMBIENT = 14
|
219
|
-
SHADER_LOC_MAP_ALBEDO = 15
|
220
|
-
SHADER_LOC_MAP_METALNESS = 16
|
221
|
-
SHADER_LOC_MAP_NORMAL = 17
|
222
|
-
SHADER_LOC_MAP_ROUGHNESS = 18
|
223
|
-
SHADER_LOC_MAP_OCCLUSION = 19
|
224
|
-
SHADER_LOC_MAP_EMISSION = 20
|
225
|
-
SHADER_LOC_MAP_HEIGHT = 21
|
226
|
-
SHADER_LOC_MAP_CUBEMAP = 22
|
227
|
-
SHADER_LOC_MAP_IRRADIANCE = 23
|
228
|
-
SHADER_LOC_MAP_PREFILTER = 24
|
229
|
-
SHADER_LOC_MAP_BRDF = 25
|
230
|
-
SHADER_UNIFORM_FLOAT = 0
|
231
|
-
SHADER_UNIFORM_VEC2 = 1
|
232
|
-
SHADER_UNIFORM_VEC3 = 2
|
233
|
-
SHADER_UNIFORM_VEC4 = 3
|
234
|
-
SHADER_UNIFORM_INT = 4
|
235
|
-
SHADER_UNIFORM_IVEC2 = 5
|
236
|
-
SHADER_UNIFORM_IVEC3 = 6
|
237
|
-
SHADER_UNIFORM_IVEC4 = 7
|
238
|
-
SHADER_UNIFORM_SAMPLER2D = 8
|
239
|
-
SHADER_ATTRIB_FLOAT = 0
|
240
|
-
SHADER_ATTRIB_VEC2 = 1
|
241
|
-
SHADER_ATTRIB_VEC3 = 2
|
242
|
-
SHADER_ATTRIB_VEC4 = 3
|
243
|
-
PIXELFORMAT_UNCOMPRESSED_GRAYSCALE = 1
|
244
|
-
PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA = 2
|
245
|
-
PIXELFORMAT_UNCOMPRESSED_R5G6B5 = 3
|
246
|
-
PIXELFORMAT_UNCOMPRESSED_R8G8B8 = 4
|
247
|
-
PIXELFORMAT_UNCOMPRESSED_R5G5B5A1 = 5
|
248
|
-
PIXELFORMAT_UNCOMPRESSED_R4G4B4A4 = 6
|
249
|
-
PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 = 7
|
250
|
-
PIXELFORMAT_UNCOMPRESSED_R32 = 8
|
251
|
-
PIXELFORMAT_UNCOMPRESSED_R32G32B32 = 9
|
252
|
-
PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 = 10
|
253
|
-
PIXELFORMAT_COMPRESSED_DXT1_RGB = 11
|
254
|
-
PIXELFORMAT_COMPRESSED_DXT1_RGBA = 12
|
255
|
-
PIXELFORMAT_COMPRESSED_DXT3_RGBA = 13
|
256
|
-
PIXELFORMAT_COMPRESSED_DXT5_RGBA = 14
|
257
|
-
PIXELFORMAT_COMPRESSED_ETC1_RGB = 15
|
258
|
-
PIXELFORMAT_COMPRESSED_ETC2_RGB = 16
|
259
|
-
PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA = 17
|
260
|
-
PIXELFORMAT_COMPRESSED_PVRT_RGB = 18
|
261
|
-
PIXELFORMAT_COMPRESSED_PVRT_RGBA = 19
|
262
|
-
PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA = 20
|
263
|
-
PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA = 21
|
264
|
-
TEXTURE_FILTER_POINT = 0
|
265
|
-
TEXTURE_FILTER_BILINEAR = 1
|
266
|
-
TEXTURE_FILTER_TRILINEAR = 2
|
267
|
-
TEXTURE_FILTER_ANISOTROPIC_4X = 3
|
268
|
-
TEXTURE_FILTER_ANISOTROPIC_8X = 4
|
269
|
-
TEXTURE_FILTER_ANISOTROPIC_16X = 5
|
270
|
-
TEXTURE_WRAP_REPEAT = 0
|
271
|
-
TEXTURE_WRAP_CLAMP = 1
|
272
|
-
TEXTURE_WRAP_MIRROR_REPEAT = 2
|
273
|
-
TEXTURE_WRAP_MIRROR_CLAMP = 3
|
274
|
-
CUBEMAP_LAYOUT_AUTO_DETECT = 0
|
275
|
-
CUBEMAP_LAYOUT_LINE_VERTICAL = 1
|
276
|
-
CUBEMAP_LAYOUT_LINE_HORIZONTAL = 2
|
277
|
-
CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR = 3
|
278
|
-
CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE = 4
|
279
|
-
CUBEMAP_LAYOUT_PANORAMA = 5
|
280
|
-
FONT_DEFAULT = 0
|
281
|
-
FONT_BITMAP = 1
|
282
|
-
FONT_SDF = 2
|
283
|
-
BLEND_ALPHA = 0
|
284
|
-
BLEND_ADDITIVE = 1
|
285
|
-
BLEND_MULTIPLIED = 2
|
286
|
-
BLEND_ADD_COLORS = 3
|
287
|
-
BLEND_SUBTRACT_COLORS = 4
|
288
|
-
BLEND_CUSTOM = 5
|
289
|
-
GESTURE_NONE = 0
|
290
|
-
GESTURE_TAP = 1
|
291
|
-
GESTURE_DOUBLETAP = 2
|
292
|
-
GESTURE_HOLD = 4
|
293
|
-
GESTURE_DRAG = 8
|
294
|
-
GESTURE_SWIPE_RIGHT = 16
|
295
|
-
GESTURE_SWIPE_LEFT = 32
|
296
|
-
GESTURE_SWIPE_UP = 64
|
297
|
-
GESTURE_SWIPE_DOWN = 128
|
298
|
-
GESTURE_PINCH_IN = 256
|
299
|
-
GESTURE_PINCH_OUT = 512
|
300
|
-
CAMERA_CUSTOM = 0
|
301
|
-
CAMERA_FREE = 1
|
302
|
-
CAMERA_ORBITAL = 2
|
303
|
-
CAMERA_FIRST_PERSON = 3
|
304
|
-
CAMERA_THIRD_PERSON = 4
|
305
|
-
CAMERA_PERSPECTIVE = 0
|
306
|
-
CAMERA_ORTHOGRAPHIC = 1
|
307
|
-
NPATCH_NINE_PATCH = 0
|
308
|
-
NPATCH_THREE_PATCH_VERTICAL = 1
|
309
|
-
NPATCH_THREE_PATCH_HORIZONTAL = 2
|
310
|
-
|
311
|
-
# Typedef
|
312
|
-
|
313
|
-
typedef :int, :ConfigFlags
|
314
|
-
typedef :int, :TraceLogLevel
|
315
|
-
typedef :int, :KeyboardKey
|
316
|
-
typedef :int, :MouseButton
|
317
|
-
typedef :int, :MouseCursor
|
318
|
-
typedef :int, :GamepadButton
|
319
|
-
typedef :int, :GamepadAxis
|
320
|
-
typedef :int, :MaterialMapIndex
|
321
|
-
typedef :int, :ShaderLocationIndex
|
322
|
-
typedef :int, :ShaderUniformDataType
|
323
|
-
typedef :int, :ShaderAttributeDataType
|
324
|
-
typedef :int, :PixelFormat
|
325
|
-
typedef :int, :TextureFilter
|
326
|
-
typedef :int, :TextureWrap
|
327
|
-
typedef :int, :CubemapLayout
|
328
|
-
typedef :int, :FontType
|
329
|
-
typedef :int, :BlendMode
|
330
|
-
typedef :int, :Gesture
|
331
|
-
typedef :int, :CameraMode
|
332
|
-
typedef :int, :CameraProjection
|
333
|
-
typedef :int, :NPatchLayout
|
334
|
-
callback :TraceLogCallback, [:int, :pointer, :
|
335
|
-
callback :LoadFileDataCallback, [:pointer, :pointer], :pointer
|
336
|
-
callback :SaveFileDataCallback, [:pointer, :pointer, :uint], :bool
|
337
|
-
callback :LoadFileTextCallback, [:pointer], :pointer
|
338
|
-
callback :SaveFileTextCallback, [:pointer, :pointer], :bool
|
339
|
-
|
340
|
-
# Struct
|
341
|
-
|
342
|
-
class Vector2 < FFI::Struct
|
343
|
-
layout(
|
344
|
-
:x, :float,
|
345
|
-
:y, :float,
|
346
|
-
)
|
347
|
-
end
|
348
|
-
|
349
|
-
class Vector3 < FFI::Struct
|
350
|
-
layout(
|
351
|
-
:x, :float,
|
352
|
-
:y, :float,
|
353
|
-
:z, :float,
|
354
|
-
)
|
355
|
-
end
|
356
|
-
|
357
|
-
class Vector4 < FFI::Struct
|
358
|
-
layout(
|
359
|
-
:x, :float,
|
360
|
-
:y, :float,
|
361
|
-
:z, :float,
|
362
|
-
:w, :float,
|
363
|
-
)
|
364
|
-
end
|
365
|
-
|
366
|
-
Quaternion = Vector4
|
367
|
-
|
368
|
-
class Matrix < FFI::Struct
|
369
|
-
layout(
|
370
|
-
:m0, :float,
|
371
|
-
:m4, :float,
|
372
|
-
:m8, :float,
|
373
|
-
:m12, :float,
|
374
|
-
:m1, :float,
|
375
|
-
:m5, :float,
|
376
|
-
:m9, :float,
|
377
|
-
:m13, :float,
|
378
|
-
:m2, :float,
|
379
|
-
:m6, :float,
|
380
|
-
:m10, :float,
|
381
|
-
:m14, :float,
|
382
|
-
:m3, :float,
|
383
|
-
:m7, :float,
|
384
|
-
:m11, :float,
|
385
|
-
:m15, :float,
|
386
|
-
)
|
387
|
-
end
|
388
|
-
|
389
|
-
class Color < FFI::Struct
|
390
|
-
layout(
|
391
|
-
:r, :uchar,
|
392
|
-
:g, :uchar,
|
393
|
-
:b, :uchar,
|
394
|
-
:a, :uchar,
|
395
|
-
)
|
396
|
-
end
|
397
|
-
|
398
|
-
class Rectangle < FFI::Struct
|
399
|
-
layout(
|
400
|
-
:x, :float,
|
401
|
-
:y, :float,
|
402
|
-
:width, :float,
|
403
|
-
:height, :float,
|
404
|
-
)
|
405
|
-
end
|
406
|
-
|
407
|
-
class Image < FFI::Struct
|
408
|
-
layout(
|
409
|
-
:data, :pointer,
|
410
|
-
:width, :int,
|
411
|
-
:height, :int,
|
412
|
-
:mipmaps, :int,
|
413
|
-
:format, :int,
|
414
|
-
)
|
415
|
-
end
|
416
|
-
|
417
|
-
class Texture < FFI::Struct
|
418
|
-
layout(
|
419
|
-
:id, :uint,
|
420
|
-
:width, :int,
|
421
|
-
:height, :int,
|
422
|
-
:mipmaps, :int,
|
423
|
-
:format, :int,
|
424
|
-
)
|
425
|
-
end
|
426
|
-
|
427
|
-
Texture2D = Texture
|
428
|
-
TextureCubemap = Texture
|
429
|
-
|
430
|
-
class RenderTexture < FFI::Struct
|
431
|
-
layout(
|
432
|
-
:id, :uint,
|
433
|
-
:texture, Texture,
|
434
|
-
:depth, Texture,
|
435
|
-
)
|
436
|
-
end
|
437
|
-
|
438
|
-
RenderTexture2D = RenderTexture
|
439
|
-
|
440
|
-
class NPatchInfo < FFI::Struct
|
441
|
-
layout(
|
442
|
-
:source, Rectangle,
|
443
|
-
:left, :int,
|
444
|
-
:top, :int,
|
445
|
-
:right, :int,
|
446
|
-
:bottom, :int,
|
447
|
-
:layout, :int,
|
448
|
-
)
|
449
|
-
end
|
450
|
-
|
451
|
-
class GlyphInfo < FFI::Struct
|
452
|
-
layout(
|
453
|
-
:value, :int,
|
454
|
-
:offsetX, :int,
|
455
|
-
:offsetY, :int,
|
456
|
-
:advanceX, :int,
|
457
|
-
:image, Image,
|
458
|
-
)
|
459
|
-
end
|
460
|
-
|
461
|
-
class Font < FFI::Struct
|
462
|
-
layout(
|
463
|
-
:baseSize, :int,
|
464
|
-
:glyphCount, :int,
|
465
|
-
:glyphPadding, :int,
|
466
|
-
:texture, Texture2D,
|
467
|
-
:recs, :pointer,
|
468
|
-
:glyphs, :pointer,
|
469
|
-
)
|
470
|
-
end
|
471
|
-
|
472
|
-
class Camera3D < FFI::Struct
|
473
|
-
layout(
|
474
|
-
:position, Vector3,
|
475
|
-
:target, Vector3,
|
476
|
-
:up, Vector3,
|
477
|
-
:fovy, :float,
|
478
|
-
:projection, :int,
|
479
|
-
)
|
480
|
-
end
|
481
|
-
|
482
|
-
Camera = Camera3D
|
483
|
-
|
484
|
-
class Camera2D < FFI::Struct
|
485
|
-
layout(
|
486
|
-
:offset, Vector2,
|
487
|
-
:target, Vector2,
|
488
|
-
:rotation, :float,
|
489
|
-
:zoom, :float,
|
490
|
-
)
|
491
|
-
end
|
492
|
-
|
493
|
-
class Mesh < FFI::Struct
|
494
|
-
layout(
|
495
|
-
:vertexCount, :int,
|
496
|
-
:triangleCount, :int,
|
497
|
-
:vertices, :pointer,
|
498
|
-
:texcoords, :pointer,
|
499
|
-
:texcoords2, :pointer,
|
500
|
-
:normals, :pointer,
|
501
|
-
:tangents, :pointer,
|
502
|
-
:colors, :pointer,
|
503
|
-
:indices, :pointer,
|
504
|
-
:animVertices, :pointer,
|
505
|
-
:animNormals, :pointer,
|
506
|
-
:boneIds, :pointer,
|
507
|
-
:boneWeights, :pointer,
|
508
|
-
:vaoId, :uint,
|
509
|
-
:vboId, :pointer,
|
510
|
-
)
|
511
|
-
end
|
512
|
-
|
513
|
-
class Shader < FFI::Struct
|
514
|
-
layout(
|
515
|
-
:id, :uint,
|
516
|
-
:locs, :pointer,
|
517
|
-
)
|
518
|
-
end
|
519
|
-
|
520
|
-
class MaterialMap < FFI::Struct
|
521
|
-
layout(
|
522
|
-
:texture, Texture2D,
|
523
|
-
:color, Color,
|
524
|
-
:value, :float,
|
525
|
-
)
|
526
|
-
end
|
527
|
-
|
528
|
-
class Material < FFI::Struct
|
529
|
-
layout(
|
530
|
-
:shader, Shader,
|
531
|
-
:maps, :pointer,
|
532
|
-
:params, [:float, 4],
|
533
|
-
)
|
534
|
-
end
|
535
|
-
|
536
|
-
class Transform < FFI::Struct
|
537
|
-
layout(
|
538
|
-
:translation, Vector3,
|
539
|
-
:rotation, Quaternion,
|
540
|
-
:scale, Vector3,
|
541
|
-
)
|
542
|
-
end
|
543
|
-
|
544
|
-
class BoneInfo < FFI::Struct
|
545
|
-
layout(
|
546
|
-
:name, [:char, 32],
|
547
|
-
:parent, :int,
|
548
|
-
)
|
549
|
-
end
|
550
|
-
|
551
|
-
class Model < FFI::Struct
|
552
|
-
layout(
|
553
|
-
:transform, Matrix,
|
554
|
-
:meshCount, :int,
|
555
|
-
:materialCount, :int,
|
556
|
-
:meshes, :pointer,
|
557
|
-
:materials, :pointer,
|
558
|
-
:meshMaterial, :pointer,
|
559
|
-
:boneCount, :int,
|
560
|
-
:bones, :pointer,
|
561
|
-
:bindPose, :pointer,
|
562
|
-
)
|
563
|
-
end
|
564
|
-
|
565
|
-
class ModelAnimation < FFI::Struct
|
566
|
-
layout(
|
567
|
-
:boneCount, :int,
|
568
|
-
:frameCount, :int,
|
569
|
-
:bones, :pointer,
|
570
|
-
:framePoses, :pointer,
|
571
|
-
)
|
572
|
-
end
|
573
|
-
|
574
|
-
class Ray < FFI::Struct
|
575
|
-
layout(
|
576
|
-
:position, Vector3,
|
577
|
-
:direction, Vector3,
|
578
|
-
)
|
579
|
-
end
|
580
|
-
|
581
|
-
class RayCollision < FFI::Struct
|
582
|
-
layout(
|
583
|
-
:hit, :bool,
|
584
|
-
:distance, :float,
|
585
|
-
:point, Vector3,
|
586
|
-
:normal, Vector3,
|
587
|
-
)
|
588
|
-
end
|
589
|
-
|
590
|
-
class BoundingBox < FFI::Struct
|
591
|
-
layout(
|
592
|
-
:min, Vector3,
|
593
|
-
:max, Vector3,
|
594
|
-
)
|
595
|
-
end
|
596
|
-
|
597
|
-
class Wave < FFI::Struct
|
598
|
-
layout(
|
599
|
-
:frameCount, :uint,
|
600
|
-
:sampleRate, :uint,
|
601
|
-
:sampleSize, :uint,
|
602
|
-
:channels, :uint,
|
603
|
-
:data, :pointer,
|
604
|
-
)
|
605
|
-
end
|
606
|
-
|
607
|
-
class AudioStream < FFI::Struct
|
608
|
-
layout(
|
609
|
-
:buffer, :pointer,
|
610
|
-
:sampleRate, :uint,
|
611
|
-
:sampleSize, :uint,
|
612
|
-
:channels, :uint,
|
613
|
-
)
|
614
|
-
end
|
615
|
-
|
616
|
-
class Sound < FFI::Struct
|
617
|
-
layout(
|
618
|
-
:stream, AudioStream,
|
619
|
-
:frameCount, :uint,
|
620
|
-
)
|
621
|
-
end
|
622
|
-
|
623
|
-
class Music < FFI::Struct
|
624
|
-
layout(
|
625
|
-
:stream, AudioStream,
|
626
|
-
:frameCount, :uint,
|
627
|
-
:looping, :bool,
|
628
|
-
:ctxType, :int,
|
629
|
-
:ctxData, :pointer,
|
630
|
-
)
|
631
|
-
end
|
632
|
-
|
633
|
-
class VrDeviceInfo < FFI::Struct
|
634
|
-
layout(
|
635
|
-
:hResolution, :int,
|
636
|
-
:vResolution, :int,
|
637
|
-
:hScreenSize, :float,
|
638
|
-
:vScreenSize, :float,
|
639
|
-
:vScreenCenter, :float,
|
640
|
-
:eyeToScreenDistance, :float,
|
641
|
-
:lensSeparationDistance, :float,
|
642
|
-
:interpupillaryDistance, :float,
|
643
|
-
:lensDistortionValues, [:float, 4],
|
644
|
-
:chromaAbCorrection, [:float, 4],
|
645
|
-
)
|
646
|
-
end
|
647
|
-
|
648
|
-
class VrStereoConfig < FFI::Struct
|
649
|
-
layout(
|
650
|
-
:projection, [Matrix, 2],
|
651
|
-
:viewOffset, [Matrix, 2],
|
652
|
-
:leftLensCenter, [:float, 2],
|
653
|
-
:rightLensCenter, [:float, 2],
|
654
|
-
:leftScreenCenter, [:float, 2],
|
655
|
-
:rightScreenCenter, [:float, 2],
|
656
|
-
:scale, [:float, 2],
|
657
|
-
:scaleIn, [:float, 2],
|
658
|
-
)
|
659
|
-
end
|
660
|
-
|
661
|
-
|
662
|
-
# Function
|
663
|
-
|
664
|
-
def self.setup_raylib_symbols()
|
665
|
-
symbols = [
|
666
|
-
:InitWindow,
|
667
|
-
:WindowShouldClose,
|
668
|
-
:CloseWindow,
|
669
|
-
:IsWindowReady,
|
670
|
-
:IsWindowFullscreen,
|
671
|
-
:IsWindowHidden,
|
672
|
-
:IsWindowMinimized,
|
673
|
-
:IsWindowMaximized,
|
674
|
-
:IsWindowFocused,
|
675
|
-
:IsWindowResized,
|
676
|
-
:IsWindowState,
|
677
|
-
:SetWindowState,
|
678
|
-
:ClearWindowState,
|
679
|
-
:ToggleFullscreen,
|
680
|
-
:MaximizeWindow,
|
681
|
-
:MinimizeWindow,
|
682
|
-
:RestoreWindow,
|
683
|
-
:SetWindowIcon,
|
684
|
-
:SetWindowTitle,
|
685
|
-
:SetWindowPosition,
|
686
|
-
:SetWindowMonitor,
|
687
|
-
:SetWindowMinSize,
|
688
|
-
:SetWindowSize,
|
689
|
-
:SetWindowOpacity,
|
690
|
-
:GetWindowHandle,
|
691
|
-
:GetScreenWidth,
|
692
|
-
:GetScreenHeight,
|
693
|
-
:GetRenderWidth,
|
694
|
-
:GetRenderHeight,
|
695
|
-
:GetMonitorCount,
|
696
|
-
:GetCurrentMonitor,
|
697
|
-
:GetMonitorPosition,
|
698
|
-
:GetMonitorWidth,
|
699
|
-
:GetMonitorHeight,
|
700
|
-
:GetMonitorPhysicalWidth,
|
701
|
-
:GetMonitorPhysicalHeight,
|
702
|
-
:GetMonitorRefreshRate,
|
703
|
-
:GetWindowPosition,
|
704
|
-
:GetWindowScaleDPI,
|
705
|
-
:GetMonitorName,
|
706
|
-
:SetClipboardText,
|
707
|
-
:GetClipboardText,
|
708
|
-
:SwapScreenBuffer,
|
709
|
-
:PollInputEvents,
|
710
|
-
:WaitTime,
|
711
|
-
:ShowCursor,
|
712
|
-
:HideCursor,
|
713
|
-
:IsCursorHidden,
|
714
|
-
:EnableCursor,
|
715
|
-
:DisableCursor,
|
716
|
-
:IsCursorOnScreen,
|
717
|
-
:ClearBackground,
|
718
|
-
:BeginDrawing,
|
719
|
-
:EndDrawing,
|
720
|
-
:BeginMode2D,
|
721
|
-
:EndMode2D,
|
722
|
-
:BeginMode3D,
|
723
|
-
:EndMode3D,
|
724
|
-
:BeginTextureMode,
|
725
|
-
:EndTextureMode,
|
726
|
-
:BeginShaderMode,
|
727
|
-
:EndShaderMode,
|
728
|
-
:BeginBlendMode,
|
729
|
-
:EndBlendMode,
|
730
|
-
:BeginScissorMode,
|
731
|
-
:EndScissorMode,
|
732
|
-
:BeginVrStereoMode,
|
733
|
-
:EndVrStereoMode,
|
734
|
-
:LoadVrStereoConfig,
|
735
|
-
:UnloadVrStereoConfig,
|
736
|
-
:LoadShader,
|
737
|
-
:LoadShaderFromMemory,
|
738
|
-
:GetShaderLocation,
|
739
|
-
:GetShaderLocationAttrib,
|
740
|
-
:SetShaderValue,
|
741
|
-
:SetShaderValueV,
|
742
|
-
:SetShaderValueMatrix,
|
743
|
-
:SetShaderValueTexture,
|
744
|
-
:UnloadShader,
|
745
|
-
:GetMouseRay,
|
746
|
-
:GetCameraMatrix,
|
747
|
-
:GetCameraMatrix2D,
|
748
|
-
:GetWorldToScreen,
|
749
|
-
:GetWorldToScreenEx,
|
750
|
-
:GetWorldToScreen2D,
|
751
|
-
:GetScreenToWorld2D,
|
752
|
-
:SetTargetFPS,
|
753
|
-
:GetFPS,
|
754
|
-
:GetFrameTime,
|
755
|
-
:GetTime,
|
756
|
-
:GetRandomValue,
|
757
|
-
:SetRandomSeed,
|
758
|
-
:TakeScreenshot,
|
759
|
-
:SetConfigFlags,
|
760
|
-
:TraceLog,
|
761
|
-
:SetTraceLogLevel,
|
762
|
-
:MemAlloc,
|
763
|
-
:MemRealloc,
|
764
|
-
:MemFree,
|
765
|
-
:SetTraceLogCallback,
|
766
|
-
:SetLoadFileDataCallback,
|
767
|
-
:SetSaveFileDataCallback,
|
768
|
-
:SetLoadFileTextCallback,
|
769
|
-
:SetSaveFileTextCallback,
|
770
|
-
:LoadFileData,
|
771
|
-
:UnloadFileData,
|
772
|
-
:SaveFileData,
|
773
|
-
:LoadFileText,
|
774
|
-
:UnloadFileText,
|
775
|
-
:SaveFileText,
|
776
|
-
:FileExists,
|
777
|
-
:DirectoryExists,
|
778
|
-
:IsFileExtension,
|
779
|
-
:GetFileExtension,
|
780
|
-
:GetFileName,
|
781
|
-
:GetFileNameWithoutExt,
|
782
|
-
:GetDirectoryPath,
|
783
|
-
:GetPrevDirectoryPath,
|
784
|
-
:GetWorkingDirectory,
|
785
|
-
:
|
786
|
-
:
|
787
|
-
:
|
788
|
-
:
|
789
|
-
:
|
790
|
-
:
|
791
|
-
:
|
792
|
-
:
|
793
|
-
:
|
794
|
-
:
|
795
|
-
:
|
796
|
-
:
|
797
|
-
:
|
798
|
-
:
|
799
|
-
:
|
800
|
-
:
|
801
|
-
:
|
802
|
-
:
|
803
|
-
:
|
804
|
-
:
|
805
|
-
:
|
806
|
-
:
|
807
|
-
:
|
808
|
-
:
|
809
|
-
:
|
810
|
-
:
|
811
|
-
:
|
812
|
-
:
|
813
|
-
:
|
814
|
-
:
|
815
|
-
:
|
816
|
-
:
|
817
|
-
:
|
818
|
-
:
|
819
|
-
:
|
820
|
-
:
|
821
|
-
:
|
822
|
-
:
|
823
|
-
:
|
824
|
-
:
|
825
|
-
:
|
826
|
-
:
|
827
|
-
:
|
828
|
-
:
|
829
|
-
:
|
830
|
-
:
|
831
|
-
:
|
832
|
-
:
|
833
|
-
:
|
834
|
-
:
|
835
|
-
:
|
836
|
-
:
|
837
|
-
:
|
838
|
-
:
|
839
|
-
:
|
840
|
-
:
|
841
|
-
:
|
842
|
-
:
|
843
|
-
:
|
844
|
-
:
|
845
|
-
:
|
846
|
-
:
|
847
|
-
:
|
848
|
-
:
|
849
|
-
:
|
850
|
-
:
|
851
|
-
:
|
852
|
-
:
|
853
|
-
:
|
854
|
-
:
|
855
|
-
:
|
856
|
-
:
|
857
|
-
:
|
858
|
-
:
|
859
|
-
:
|
860
|
-
:
|
861
|
-
:
|
862
|
-
:
|
863
|
-
:
|
864
|
-
:
|
865
|
-
:
|
866
|
-
:
|
867
|
-
:
|
868
|
-
:
|
869
|
-
:
|
870
|
-
:
|
871
|
-
:
|
872
|
-
:
|
873
|
-
:
|
874
|
-
:
|
875
|
-
:
|
876
|
-
:
|
877
|
-
:
|
878
|
-
:
|
879
|
-
:
|
880
|
-
:
|
881
|
-
:
|
882
|
-
:
|
883
|
-
:
|
884
|
-
:
|
885
|
-
:
|
886
|
-
:
|
887
|
-
:
|
888
|
-
:
|
889
|
-
:
|
890
|
-
:
|
891
|
-
:
|
892
|
-
:
|
893
|
-
:
|
894
|
-
:
|
895
|
-
:
|
896
|
-
:
|
897
|
-
:
|
898
|
-
:
|
899
|
-
:
|
900
|
-
:
|
901
|
-
:
|
902
|
-
:
|
903
|
-
:
|
904
|
-
:
|
905
|
-
:
|
906
|
-
:
|
907
|
-
:
|
908
|
-
:
|
909
|
-
:
|
910
|
-
:
|
911
|
-
:
|
912
|
-
:
|
913
|
-
:
|
914
|
-
:
|
915
|
-
:
|
916
|
-
:
|
917
|
-
:
|
918
|
-
:
|
919
|
-
:
|
920
|
-
:
|
921
|
-
:
|
922
|
-
:
|
923
|
-
:
|
924
|
-
:
|
925
|
-
:
|
926
|
-
:
|
927
|
-
:
|
928
|
-
:
|
929
|
-
:
|
930
|
-
:
|
931
|
-
:
|
932
|
-
:
|
933
|
-
:
|
934
|
-
:
|
935
|
-
:
|
936
|
-
:
|
937
|
-
:
|
938
|
-
:
|
939
|
-
:
|
940
|
-
:
|
941
|
-
:
|
942
|
-
:
|
943
|
-
:
|
944
|
-
:
|
945
|
-
:
|
946
|
-
:
|
947
|
-
:
|
948
|
-
:
|
949
|
-
:
|
950
|
-
:
|
951
|
-
:
|
952
|
-
:
|
953
|
-
:
|
954
|
-
:
|
955
|
-
:
|
956
|
-
:
|
957
|
-
:
|
958
|
-
:
|
959
|
-
:
|
960
|
-
:
|
961
|
-
:
|
962
|
-
:
|
963
|
-
:
|
964
|
-
:
|
965
|
-
:
|
966
|
-
:
|
967
|
-
:
|
968
|
-
:
|
969
|
-
:
|
970
|
-
:
|
971
|
-
:
|
972
|
-
:
|
973
|
-
:
|
974
|
-
:
|
975
|
-
:
|
976
|
-
:
|
977
|
-
:
|
978
|
-
:
|
979
|
-
:
|
980
|
-
:
|
981
|
-
:
|
982
|
-
:
|
983
|
-
:
|
984
|
-
:
|
985
|
-
:
|
986
|
-
:
|
987
|
-
:
|
988
|
-
:
|
989
|
-
:
|
990
|
-
:
|
991
|
-
:
|
992
|
-
:
|
993
|
-
:
|
994
|
-
:
|
995
|
-
:
|
996
|
-
:
|
997
|
-
:
|
998
|
-
:
|
999
|
-
:
|
1000
|
-
:
|
1001
|
-
:
|
1002
|
-
:
|
1003
|
-
:
|
1004
|
-
:
|
1005
|
-
:
|
1006
|
-
:
|
1007
|
-
:
|
1008
|
-
:
|
1009
|
-
:
|
1010
|
-
:
|
1011
|
-
:
|
1012
|
-
:
|
1013
|
-
:
|
1014
|
-
:
|
1015
|
-
:
|
1016
|
-
:
|
1017
|
-
:
|
1018
|
-
:
|
1019
|
-
:
|
1020
|
-
:
|
1021
|
-
:
|
1022
|
-
:
|
1023
|
-
:
|
1024
|
-
:
|
1025
|
-
:
|
1026
|
-
:
|
1027
|
-
:
|
1028
|
-
:
|
1029
|
-
:
|
1030
|
-
:
|
1031
|
-
:
|
1032
|
-
:
|
1033
|
-
:
|
1034
|
-
:
|
1035
|
-
:
|
1036
|
-
:
|
1037
|
-
:
|
1038
|
-
:
|
1039
|
-
:
|
1040
|
-
:
|
1041
|
-
:
|
1042
|
-
:
|
1043
|
-
:
|
1044
|
-
:
|
1045
|
-
:
|
1046
|
-
:
|
1047
|
-
:
|
1048
|
-
:
|
1049
|
-
:
|
1050
|
-
:
|
1051
|
-
:
|
1052
|
-
:
|
1053
|
-
:
|
1054
|
-
:
|
1055
|
-
:
|
1056
|
-
:
|
1057
|
-
:
|
1058
|
-
:
|
1059
|
-
:
|
1060
|
-
:
|
1061
|
-
:
|
1062
|
-
:
|
1063
|
-
:
|
1064
|
-
:
|
1065
|
-
:
|
1066
|
-
:
|
1067
|
-
:
|
1068
|
-
:
|
1069
|
-
:
|
1070
|
-
:
|
1071
|
-
:
|
1072
|
-
:
|
1073
|
-
:
|
1074
|
-
:
|
1075
|
-
:
|
1076
|
-
:
|
1077
|
-
:
|
1078
|
-
:
|
1079
|
-
:
|
1080
|
-
:
|
1081
|
-
:
|
1082
|
-
:
|
1083
|
-
:
|
1084
|
-
:
|
1085
|
-
:
|
1086
|
-
:
|
1087
|
-
:
|
1088
|
-
:
|
1089
|
-
:
|
1090
|
-
:
|
1091
|
-
:
|
1092
|
-
:
|
1093
|
-
:
|
1094
|
-
:
|
1095
|
-
:
|
1096
|
-
:
|
1097
|
-
:
|
1098
|
-
:
|
1099
|
-
:
|
1100
|
-
:
|
1101
|
-
:
|
1102
|
-
:
|
1103
|
-
:
|
1104
|
-
:
|
1105
|
-
:
|
1106
|
-
:
|
1107
|
-
:
|
1108
|
-
:
|
1109
|
-
:
|
1110
|
-
:
|
1111
|
-
:
|
1112
|
-
:
|
1113
|
-
:
|
1114
|
-
:
|
1115
|
-
:
|
1116
|
-
:
|
1117
|
-
:
|
1118
|
-
:
|
1119
|
-
:
|
1120
|
-
:
|
1121
|
-
:
|
1122
|
-
:
|
1123
|
-
:
|
1124
|
-
:
|
1125
|
-
:
|
1126
|
-
:
|
1127
|
-
:
|
1128
|
-
:
|
1129
|
-
:
|
1130
|
-
:
|
1131
|
-
:
|
1132
|
-
:
|
1133
|
-
:
|
1134
|
-
:
|
1135
|
-
:
|
1136
|
-
:
|
1137
|
-
:
|
1138
|
-
:
|
1139
|
-
:
|
1140
|
-
:
|
1141
|
-
:
|
1142
|
-
:
|
1143
|
-
:
|
1144
|
-
:
|
1145
|
-
:
|
1146
|
-
:
|
1147
|
-
:
|
1148
|
-
:
|
1149
|
-
:
|
1150
|
-
:
|
1151
|
-
:
|
1152
|
-
:
|
1153
|
-
:
|
1154
|
-
:
|
1155
|
-
:
|
1156
|
-
:
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
:
|
1161
|
-
:
|
1162
|
-
:
|
1163
|
-
:
|
1164
|
-
:
|
1165
|
-
:
|
1166
|
-
:
|
1167
|
-
:
|
1168
|
-
:
|
1169
|
-
:
|
1170
|
-
:
|
1171
|
-
:
|
1172
|
-
:
|
1173
|
-
:
|
1174
|
-
:
|
1175
|
-
:
|
1176
|
-
:
|
1177
|
-
:
|
1178
|
-
:
|
1179
|
-
:
|
1180
|
-
:
|
1181
|
-
:
|
1182
|
-
:
|
1183
|
-
:
|
1184
|
-
:
|
1185
|
-
:
|
1186
|
-
:
|
1187
|
-
:
|
1188
|
-
:
|
1189
|
-
:
|
1190
|
-
:
|
1191
|
-
:
|
1192
|
-
:
|
1193
|
-
:
|
1194
|
-
:
|
1195
|
-
:
|
1196
|
-
:
|
1197
|
-
:
|
1198
|
-
:
|
1199
|
-
:
|
1200
|
-
:
|
1201
|
-
:
|
1202
|
-
:
|
1203
|
-
:
|
1204
|
-
:
|
1205
|
-
:
|
1206
|
-
:
|
1207
|
-
:
|
1208
|
-
:
|
1209
|
-
:
|
1210
|
-
:
|
1211
|
-
:
|
1212
|
-
:
|
1213
|
-
:
|
1214
|
-
:
|
1215
|
-
:
|
1216
|
-
:
|
1217
|
-
:
|
1218
|
-
:
|
1219
|
-
:
|
1220
|
-
:
|
1221
|
-
:
|
1222
|
-
:
|
1223
|
-
:
|
1224
|
-
:
|
1225
|
-
:
|
1226
|
-
:
|
1227
|
-
:
|
1228
|
-
:
|
1229
|
-
:
|
1230
|
-
:
|
1231
|
-
:
|
1232
|
-
:
|
1233
|
-
:
|
1234
|
-
:
|
1235
|
-
:
|
1236
|
-
:
|
1237
|
-
:
|
1238
|
-
:
|
1239
|
-
:
|
1240
|
-
:
|
1241
|
-
:
|
1242
|
-
:
|
1243
|
-
:
|
1244
|
-
:
|
1245
|
-
:
|
1246
|
-
:
|
1247
|
-
:
|
1248
|
-
:
|
1249
|
-
:
|
1250
|
-
:
|
1251
|
-
:
|
1252
|
-
:
|
1253
|
-
:
|
1254
|
-
:
|
1255
|
-
:
|
1256
|
-
:
|
1257
|
-
:
|
1258
|
-
:
|
1259
|
-
:
|
1260
|
-
:
|
1261
|
-
:
|
1262
|
-
:
|
1263
|
-
:
|
1264
|
-
:
|
1265
|
-
:
|
1266
|
-
:
|
1267
|
-
:
|
1268
|
-
:
|
1269
|
-
:
|
1270
|
-
:
|
1271
|
-
:
|
1272
|
-
:
|
1273
|
-
:
|
1274
|
-
:
|
1275
|
-
:
|
1276
|
-
:
|
1277
|
-
:
|
1278
|
-
:
|
1279
|
-
:
|
1280
|
-
:
|
1281
|
-
:
|
1282
|
-
:
|
1283
|
-
:
|
1284
|
-
:
|
1285
|
-
:
|
1286
|
-
:
|
1287
|
-
:
|
1288
|
-
:
|
1289
|
-
:
|
1290
|
-
:
|
1291
|
-
:
|
1292
|
-
:
|
1293
|
-
:
|
1294
|
-
:
|
1295
|
-
:
|
1296
|
-
:
|
1297
|
-
:
|
1298
|
-
:
|
1299
|
-
:
|
1300
|
-
:
|
1301
|
-
:
|
1302
|
-
:
|
1303
|
-
:
|
1304
|
-
:
|
1305
|
-
:
|
1306
|
-
:
|
1307
|
-
:
|
1308
|
-
:
|
1309
|
-
:
|
1310
|
-
:
|
1311
|
-
:
|
1312
|
-
:
|
1313
|
-
:
|
1314
|
-
:
|
1315
|
-
:
|
1316
|
-
:
|
1317
|
-
:
|
1318
|
-
:
|
1319
|
-
:
|
1320
|
-
:
|
1321
|
-
:
|
1322
|
-
:
|
1323
|
-
:
|
1324
|
-
:
|
1325
|
-
:
|
1326
|
-
:
|
1327
|
-
:
|
1328
|
-
:
|
1329
|
-
:
|
1330
|
-
:
|
1331
|
-
:
|
1332
|
-
:
|
1333
|
-
:
|
1334
|
-
:
|
1335
|
-
:
|
1336
|
-
:
|
1337
|
-
:
|
1338
|
-
:
|
1339
|
-
:
|
1340
|
-
:
|
1341
|
-
:
|
1342
|
-
:
|
1343
|
-
:
|
1344
|
-
:
|
1345
|
-
:
|
1346
|
-
:
|
1347
|
-
:
|
1348
|
-
:
|
1349
|
-
:
|
1350
|
-
:
|
1351
|
-
:
|
1352
|
-
:
|
1353
|
-
:
|
1354
|
-
:
|
1355
|
-
:
|
1356
|
-
:
|
1357
|
-
:
|
1358
|
-
:
|
1359
|
-
:
|
1360
|
-
:
|
1361
|
-
:
|
1362
|
-
:
|
1363
|
-
:
|
1364
|
-
:
|
1365
|
-
:
|
1366
|
-
:
|
1367
|
-
:
|
1368
|
-
:
|
1369
|
-
:
|
1370
|
-
:
|
1371
|
-
:
|
1372
|
-
:
|
1373
|
-
:
|
1374
|
-
:
|
1375
|
-
:
|
1376
|
-
:
|
1377
|
-
:
|
1378
|
-
:
|
1379
|
-
:
|
1380
|
-
:
|
1381
|
-
:
|
1382
|
-
:
|
1383
|
-
:
|
1384
|
-
:
|
1385
|
-
:
|
1386
|
-
:
|
1387
|
-
:
|
1388
|
-
:
|
1389
|
-
:
|
1390
|
-
:
|
1391
|
-
:
|
1392
|
-
:
|
1393
|
-
:
|
1394
|
-
:
|
1395
|
-
:
|
1396
|
-
:
|
1397
|
-
:
|
1398
|
-
:
|
1399
|
-
:
|
1400
|
-
:
|
1401
|
-
:
|
1402
|
-
:
|
1403
|
-
:
|
1404
|
-
:
|
1405
|
-
:
|
1406
|
-
:
|
1407
|
-
:
|
1408
|
-
:
|
1409
|
-
:
|
1410
|
-
:
|
1411
|
-
:
|
1412
|
-
:
|
1413
|
-
:
|
1414
|
-
:
|
1415
|
-
:
|
1416
|
-
:
|
1417
|
-
:
|
1418
|
-
:
|
1419
|
-
:
|
1420
|
-
:
|
1421
|
-
:
|
1422
|
-
:
|
1423
|
-
:
|
1424
|
-
:
|
1425
|
-
:
|
1426
|
-
:
|
1427
|
-
:
|
1428
|
-
:
|
1429
|
-
:
|
1430
|
-
:
|
1431
|
-
:
|
1432
|
-
:
|
1433
|
-
:
|
1434
|
-
:
|
1435
|
-
:
|
1436
|
-
:
|
1437
|
-
:
|
1438
|
-
:
|
1439
|
-
:
|
1440
|
-
:
|
1441
|
-
:
|
1442
|
-
:
|
1443
|
-
:
|
1444
|
-
:
|
1445
|
-
:
|
1446
|
-
:
|
1447
|
-
:
|
1448
|
-
:
|
1449
|
-
:
|
1450
|
-
:
|
1451
|
-
:
|
1452
|
-
:
|
1453
|
-
:
|
1454
|
-
:
|
1455
|
-
:
|
1456
|
-
:
|
1457
|
-
:
|
1458
|
-
:
|
1459
|
-
:
|
1460
|
-
:
|
1461
|
-
:
|
1462
|
-
:
|
1463
|
-
:
|
1464
|
-
:
|
1465
|
-
:
|
1466
|
-
:
|
1467
|
-
:
|
1468
|
-
:
|
1469
|
-
:
|
1470
|
-
:
|
1471
|
-
:
|
1472
|
-
:
|
1473
|
-
:
|
1474
|
-
:
|
1475
|
-
:
|
1476
|
-
:
|
1477
|
-
:
|
1478
|
-
:
|
1479
|
-
:
|
1480
|
-
:
|
1481
|
-
:
|
1482
|
-
:
|
1483
|
-
:
|
1484
|
-
:
|
1485
|
-
:
|
1486
|
-
:
|
1487
|
-
:
|
1488
|
-
:
|
1489
|
-
:
|
1490
|
-
:
|
1491
|
-
:
|
1492
|
-
:
|
1493
|
-
:
|
1494
|
-
:
|
1495
|
-
:
|
1496
|
-
:
|
1497
|
-
:
|
1498
|
-
:
|
1499
|
-
:
|
1500
|
-
:
|
1501
|
-
:
|
1502
|
-
:
|
1503
|
-
:
|
1504
|
-
:
|
1505
|
-
:
|
1506
|
-
:
|
1507
|
-
:
|
1508
|
-
:
|
1509
|
-
:
|
1510
|
-
:
|
1511
|
-
:
|
1512
|
-
:
|
1513
|
-
:
|
1514
|
-
:
|
1515
|
-
:
|
1516
|
-
:
|
1517
|
-
:
|
1518
|
-
:
|
1519
|
-
:
|
1520
|
-
:
|
1521
|
-
:
|
1522
|
-
:
|
1523
|
-
:
|
1524
|
-
:
|
1525
|
-
:
|
1526
|
-
:
|
1527
|
-
:
|
1528
|
-
:
|
1529
|
-
:
|
1530
|
-
:
|
1531
|
-
:
|
1532
|
-
:
|
1533
|
-
:
|
1534
|
-
:
|
1535
|
-
:
|
1536
|
-
:
|
1537
|
-
:
|
1538
|
-
:
|
1539
|
-
:
|
1540
|
-
:
|
1541
|
-
:
|
1542
|
-
:
|
1543
|
-
:
|
1544
|
-
:
|
1545
|
-
:
|
1546
|
-
:
|
1547
|
-
:
|
1548
|
-
:
|
1549
|
-
:
|
1550
|
-
:
|
1551
|
-
:
|
1552
|
-
:
|
1553
|
-
:
|
1554
|
-
:
|
1555
|
-
:
|
1556
|
-
:
|
1557
|
-
:
|
1558
|
-
:
|
1559
|
-
:
|
1560
|
-
:
|
1561
|
-
:
|
1562
|
-
:
|
1563
|
-
:
|
1564
|
-
:
|
1565
|
-
:
|
1566
|
-
:
|
1567
|
-
:
|
1568
|
-
:
|
1569
|
-
:
|
1570
|
-
:
|
1571
|
-
:
|
1572
|
-
:
|
1573
|
-
:
|
1574
|
-
:
|
1575
|
-
:
|
1576
|
-
:
|
1577
|
-
:
|
1578
|
-
:
|
1579
|
-
:
|
1580
|
-
:
|
1581
|
-
:
|
1582
|
-
:
|
1583
|
-
:
|
1584
|
-
:
|
1585
|
-
:
|
1586
|
-
:
|
1587
|
-
:
|
1588
|
-
:
|
1589
|
-
:
|
1590
|
-
:
|
1591
|
-
:
|
1592
|
-
:
|
1593
|
-
:
|
1594
|
-
:
|
1595
|
-
:
|
1596
|
-
:
|
1597
|
-
:
|
1598
|
-
:
|
1599
|
-
:
|
1600
|
-
:
|
1601
|
-
:
|
1602
|
-
:
|
1603
|
-
:
|
1604
|
-
:
|
1605
|
-
:
|
1606
|
-
:
|
1607
|
-
:
|
1608
|
-
:
|
1609
|
-
:
|
1610
|
-
:
|
1611
|
-
:
|
1612
|
-
:
|
1613
|
-
:
|
1614
|
-
:
|
1615
|
-
:
|
1616
|
-
:
|
1617
|
-
:
|
1618
|
-
:
|
1619
|
-
:
|
1620
|
-
:
|
1621
|
-
:
|
1622
|
-
:
|
1623
|
-
:
|
1624
|
-
:
|
1625
|
-
:
|
1626
|
-
:
|
1627
|
-
:
|
1628
|
-
:
|
1629
|
-
:
|
1630
|
-
:
|
1631
|
-
:
|
1632
|
-
:
|
1633
|
-
:
|
1634
|
-
:
|
1635
|
-
:
|
1636
|
-
:
|
1637
|
-
:
|
1638
|
-
:
|
1639
|
-
:
|
1640
|
-
:
|
1641
|
-
:
|
1642
|
-
:
|
1643
|
-
:
|
1644
|
-
:
|
1645
|
-
:
|
1646
|
-
:
|
1647
|
-
:
|
1648
|
-
:
|
1649
|
-
:
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
:
|
1655
|
-
:
|
1656
|
-
:
|
1657
|
-
:
|
1658
|
-
:
|
1659
|
-
:
|
1660
|
-
:
|
1661
|
-
:
|
1662
|
-
:
|
1663
|
-
:
|
1664
|
-
:
|
1665
|
-
:
|
1666
|
-
:
|
1667
|
-
:
|
1668
|
-
:
|
1669
|
-
:
|
1670
|
-
:
|
1671
|
-
:
|
1672
|
-
:
|
1673
|
-
:
|
1674
|
-
:
|
1675
|
-
:
|
1676
|
-
:
|
1677
|
-
:
|
1678
|
-
:
|
1679
|
-
:
|
1680
|
-
:
|
1681
|
-
:
|
1682
|
-
:
|
1683
|
-
:
|
1684
|
-
:
|
1685
|
-
:
|
1686
|
-
:
|
1687
|
-
:
|
1688
|
-
:
|
1689
|
-
:
|
1690
|
-
:
|
1691
|
-
:
|
1692
|
-
:
|
1693
|
-
:
|
1694
|
-
:
|
1695
|
-
:
|
1696
|
-
:
|
1697
|
-
:
|
1698
|
-
:
|
1699
|
-
:
|
1700
|
-
:
|
1701
|
-
:
|
1702
|
-
:
|
1703
|
-
:
|
1704
|
-
:
|
1705
|
-
:
|
1706
|
-
:
|
1707
|
-
:
|
1708
|
-
:
|
1709
|
-
:
|
1710
|
-
:
|
1711
|
-
:
|
1712
|
-
:
|
1713
|
-
:
|
1714
|
-
:
|
1715
|
-
:
|
1716
|
-
:
|
1717
|
-
:
|
1718
|
-
:
|
1719
|
-
:
|
1720
|
-
:
|
1721
|
-
:
|
1722
|
-
:
|
1723
|
-
:
|
1724
|
-
:
|
1725
|
-
:
|
1726
|
-
:
|
1727
|
-
:
|
1728
|
-
:
|
1729
|
-
:
|
1730
|
-
:
|
1731
|
-
:
|
1732
|
-
:
|
1733
|
-
:
|
1734
|
-
:
|
1735
|
-
:
|
1736
|
-
:
|
1737
|
-
:
|
1738
|
-
:
|
1739
|
-
:
|
1740
|
-
:
|
1741
|
-
:
|
1742
|
-
:
|
1743
|
-
:
|
1744
|
-
:
|
1745
|
-
:
|
1746
|
-
:
|
1747
|
-
:
|
1748
|
-
:
|
1749
|
-
:
|
1750
|
-
:
|
1751
|
-
:
|
1752
|
-
:
|
1753
|
-
:
|
1754
|
-
:
|
1755
|
-
:
|
1756
|
-
:
|
1757
|
-
:
|
1758
|
-
:
|
1759
|
-
:
|
1760
|
-
:
|
1761
|
-
:
|
1762
|
-
:
|
1763
|
-
:
|
1764
|
-
:
|
1765
|
-
:
|
1766
|
-
:
|
1767
|
-
:
|
1768
|
-
:
|
1769
|
-
:
|
1770
|
-
:
|
1771
|
-
:
|
1772
|
-
:
|
1773
|
-
:
|
1774
|
-
:
|
1775
|
-
:
|
1776
|
-
:
|
1777
|
-
:
|
1778
|
-
:
|
1779
|
-
:
|
1780
|
-
:
|
1781
|
-
:
|
1782
|
-
:
|
1783
|
-
:
|
1784
|
-
:
|
1785
|
-
:
|
1786
|
-
:
|
1787
|
-
:
|
1788
|
-
:
|
1789
|
-
:
|
1790
|
-
:
|
1791
|
-
:
|
1792
|
-
:
|
1793
|
-
:
|
1794
|
-
:
|
1795
|
-
:
|
1796
|
-
:
|
1797
|
-
:
|
1798
|
-
:
|
1799
|
-
:
|
1800
|
-
:
|
1801
|
-
:
|
1802
|
-
:
|
1803
|
-
:
|
1804
|
-
:
|
1805
|
-
:
|
1806
|
-
:
|
1807
|
-
:
|
1808
|
-
:
|
1809
|
-
:
|
1810
|
-
:
|
1811
|
-
:
|
1812
|
-
:
|
1813
|
-
:
|
1814
|
-
:
|
1815
|
-
:
|
1816
|
-
:
|
1817
|
-
:
|
1818
|
-
:
|
1819
|
-
:
|
1820
|
-
:
|
1821
|
-
:
|
1822
|
-
:
|
1823
|
-
:
|
1824
|
-
:
|
1825
|
-
:
|
1826
|
-
:
|
1827
|
-
:
|
1828
|
-
:
|
1829
|
-
:
|
1830
|
-
:
|
1831
|
-
:
|
1832
|
-
:
|
1833
|
-
:
|
1834
|
-
:
|
1835
|
-
:
|
1836
|
-
:
|
1837
|
-
:
|
1838
|
-
:
|
1839
|
-
:
|
1840
|
-
:
|
1841
|
-
:
|
1842
|
-
:
|
1843
|
-
:
|
1844
|
-
:
|
1845
|
-
:
|
1846
|
-
:
|
1847
|
-
:
|
1848
|
-
:
|
1849
|
-
:
|
1850
|
-
:
|
1851
|
-
:
|
1852
|
-
:
|
1853
|
-
:
|
1854
|
-
:
|
1855
|
-
:
|
1856
|
-
:
|
1857
|
-
:
|
1858
|
-
:
|
1859
|
-
:
|
1860
|
-
:
|
1861
|
-
:
|
1862
|
-
:
|
1863
|
-
:
|
1864
|
-
:
|
1865
|
-
:
|
1866
|
-
:
|
1867
|
-
:
|
1868
|
-
:
|
1869
|
-
:
|
1870
|
-
:
|
1871
|
-
:
|
1872
|
-
:
|
1873
|
-
:
|
1874
|
-
:
|
1875
|
-
:
|
1876
|
-
:
|
1877
|
-
:
|
1878
|
-
:
|
1879
|
-
:
|
1880
|
-
:
|
1881
|
-
:
|
1882
|
-
:
|
1883
|
-
:
|
1884
|
-
:
|
1885
|
-
:
|
1886
|
-
:
|
1887
|
-
:
|
1888
|
-
:
|
1889
|
-
:
|
1890
|
-
:
|
1891
|
-
:
|
1892
|
-
:
|
1893
|
-
:
|
1894
|
-
:
|
1895
|
-
:
|
1896
|
-
:
|
1897
|
-
:
|
1898
|
-
:
|
1899
|
-
:
|
1900
|
-
:
|
1901
|
-
:
|
1902
|
-
:
|
1903
|
-
:
|
1904
|
-
:
|
1905
|
-
:
|
1906
|
-
:
|
1907
|
-
:
|
1908
|
-
:
|
1909
|
-
:
|
1910
|
-
:
|
1911
|
-
:
|
1912
|
-
:
|
1913
|
-
:
|
1914
|
-
:
|
1915
|
-
:
|
1916
|
-
:
|
1917
|
-
:
|
1918
|
-
:
|
1919
|
-
:
|
1920
|
-
:
|
1921
|
-
:
|
1922
|
-
:
|
1923
|
-
:
|
1924
|
-
:
|
1925
|
-
:
|
1926
|
-
:
|
1927
|
-
:
|
1928
|
-
:
|
1929
|
-
:
|
1930
|
-
:
|
1931
|
-
:
|
1932
|
-
:
|
1933
|
-
:
|
1934
|
-
:
|
1935
|
-
:
|
1936
|
-
:
|
1937
|
-
:
|
1938
|
-
:
|
1939
|
-
:
|
1940
|
-
:
|
1941
|
-
:
|
1942
|
-
:
|
1943
|
-
:
|
1944
|
-
:
|
1945
|
-
:
|
1946
|
-
:
|
1947
|
-
:
|
1948
|
-
:
|
1949
|
-
:
|
1950
|
-
:
|
1951
|
-
:
|
1952
|
-
:
|
1953
|
-
:
|
1954
|
-
:
|
1955
|
-
:
|
1956
|
-
:
|
1957
|
-
:
|
1958
|
-
:
|
1959
|
-
:
|
1960
|
-
:
|
1961
|
-
:
|
1962
|
-
:
|
1963
|
-
:
|
1964
|
-
:
|
1965
|
-
:
|
1966
|
-
:
|
1967
|
-
:
|
1968
|
-
:
|
1969
|
-
:
|
1970
|
-
:
|
1971
|
-
:
|
1972
|
-
:
|
1973
|
-
:
|
1974
|
-
:
|
1975
|
-
:
|
1976
|
-
:
|
1977
|
-
:
|
1978
|
-
:
|
1979
|
-
:
|
1980
|
-
:
|
1981
|
-
:
|
1982
|
-
:
|
1983
|
-
:
|
1984
|
-
:
|
1985
|
-
:
|
1986
|
-
:
|
1987
|
-
:
|
1988
|
-
:
|
1989
|
-
:
|
1990
|
-
:
|
1991
|
-
:
|
1992
|
-
:
|
1993
|
-
:
|
1994
|
-
:
|
1995
|
-
:
|
1996
|
-
:
|
1997
|
-
:
|
1998
|
-
:
|
1999
|
-
:
|
2000
|
-
:
|
2001
|
-
:
|
2002
|
-
:
|
2003
|
-
:
|
2004
|
-
:
|
2005
|
-
:
|
2006
|
-
:
|
2007
|
-
:
|
2008
|
-
:
|
2009
|
-
:
|
2010
|
-
:
|
2011
|
-
:
|
2012
|
-
:
|
2013
|
-
:
|
2014
|
-
:
|
2015
|
-
:
|
2016
|
-
:
|
2017
|
-
:
|
2018
|
-
:
|
2019
|
-
:
|
2020
|
-
:
|
2021
|
-
:
|
2022
|
-
:
|
2023
|
-
:
|
2024
|
-
:
|
2025
|
-
:
|
2026
|
-
:
|
2027
|
-
:
|
2028
|
-
:
|
2029
|
-
:
|
2030
|
-
:
|
2031
|
-
:
|
2032
|
-
:
|
2033
|
-
:
|
2034
|
-
:
|
2035
|
-
:
|
2036
|
-
:
|
2037
|
-
:
|
2038
|
-
:
|
2039
|
-
:
|
2040
|
-
:
|
2041
|
-
:
|
2042
|
-
:
|
2043
|
-
:
|
2044
|
-
:
|
2045
|
-
:
|
2046
|
-
:
|
2047
|
-
:
|
2048
|
-
:
|
2049
|
-
:
|
2050
|
-
:
|
2051
|
-
:
|
2052
|
-
:
|
2053
|
-
:
|
2054
|
-
:
|
2055
|
-
:
|
2056
|
-
:
|
2057
|
-
:
|
2058
|
-
:
|
2059
|
-
:
|
2060
|
-
:
|
2061
|
-
:
|
2062
|
-
:
|
2063
|
-
:
|
2064
|
-
:
|
2065
|
-
:
|
2066
|
-
:
|
2067
|
-
:
|
2068
|
-
:
|
2069
|
-
:
|
2070
|
-
:
|
2071
|
-
:
|
2072
|
-
:
|
2073
|
-
:
|
2074
|
-
:
|
2075
|
-
:
|
2076
|
-
:
|
2077
|
-
:
|
2078
|
-
:
|
2079
|
-
:
|
2080
|
-
:
|
2081
|
-
:
|
2082
|
-
:
|
2083
|
-
:
|
2084
|
-
:
|
2085
|
-
:
|
2086
|
-
:
|
2087
|
-
:
|
2088
|
-
:
|
2089
|
-
:
|
2090
|
-
:
|
2091
|
-
:
|
2092
|
-
:
|
2093
|
-
:
|
2094
|
-
:
|
2095
|
-
:
|
2096
|
-
:
|
2097
|
-
:
|
2098
|
-
:
|
2099
|
-
:
|
2100
|
-
:
|
2101
|
-
:
|
2102
|
-
:
|
2103
|
-
:
|
2104
|
-
:
|
2105
|
-
:
|
2106
|
-
:
|
2107
|
-
:
|
2108
|
-
:
|
2109
|
-
:
|
2110
|
-
:
|
2111
|
-
:
|
2112
|
-
:
|
2113
|
-
:
|
2114
|
-
:
|
2115
|
-
:
|
2116
|
-
:
|
2117
|
-
:
|
2118
|
-
:
|
2119
|
-
:
|
2120
|
-
:
|
2121
|
-
:
|
2122
|
-
:
|
2123
|
-
:
|
2124
|
-
:
|
2125
|
-
:
|
2126
|
-
:
|
2127
|
-
:
|
2128
|
-
:
|
2129
|
-
:
|
2130
|
-
:
|
2131
|
-
:
|
2132
|
-
:
|
2133
|
-
:
|
2134
|
-
:
|
2135
|
-
:
|
2136
|
-
:
|
2137
|
-
:
|
2138
|
-
:
|
2139
|
-
:
|
2140
|
-
:
|
2141
|
-
:
|
2142
|
-
:
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2147
|
-
|
2148
|
-
|
2149
|
-
|
2150
|
-
|
2151
|
-
|
2152
|
-
|
2153
|
-
end
|
2154
|
-
|
1
|
+
# Yet another raylib wrapper for Ruby
|
2
|
+
#
|
3
|
+
# * https://github.com/vaiorabbit/raylib-bindings
|
4
|
+
#
|
5
|
+
# [NOTICE] This is an automatically generated file.
|
6
|
+
|
7
|
+
require 'ffi'
|
8
|
+
|
9
|
+
module Raylib
|
10
|
+
extend FFI::Library
|
11
|
+
# Define/Macro
|
12
|
+
|
13
|
+
RAYLIB_VERSION = "4.0"
|
14
|
+
DEG2RAD = Math::PI / 180.0
|
15
|
+
RAD2DEG = 180.0 / Math::PI
|
16
|
+
|
17
|
+
# Enum
|
18
|
+
|
19
|
+
FLAG_VSYNC_HINT = 64
|
20
|
+
FLAG_FULLSCREEN_MODE = 2
|
21
|
+
FLAG_WINDOW_RESIZABLE = 4
|
22
|
+
FLAG_WINDOW_UNDECORATED = 8
|
23
|
+
FLAG_WINDOW_HIDDEN = 128
|
24
|
+
FLAG_WINDOW_MINIMIZED = 512
|
25
|
+
FLAG_WINDOW_MAXIMIZED = 1024
|
26
|
+
FLAG_WINDOW_UNFOCUSED = 2048
|
27
|
+
FLAG_WINDOW_TOPMOST = 4096
|
28
|
+
FLAG_WINDOW_ALWAYS_RUN = 256
|
29
|
+
FLAG_WINDOW_TRANSPARENT = 16
|
30
|
+
FLAG_WINDOW_HIGHDPI = 8192
|
31
|
+
FLAG_MSAA_4X_HINT = 32
|
32
|
+
FLAG_INTERLACED_HINT = 65536
|
33
|
+
LOG_ALL = 0
|
34
|
+
LOG_TRACE = 1
|
35
|
+
LOG_DEBUG = 2
|
36
|
+
LOG_INFO = 3
|
37
|
+
LOG_WARNING = 4
|
38
|
+
LOG_ERROR = 5
|
39
|
+
LOG_FATAL = 6
|
40
|
+
LOG_NONE = 7
|
41
|
+
KEY_NULL = 0
|
42
|
+
KEY_APOSTROPHE = 39
|
43
|
+
KEY_COMMA = 44
|
44
|
+
KEY_MINUS = 45
|
45
|
+
KEY_PERIOD = 46
|
46
|
+
KEY_SLASH = 47
|
47
|
+
KEY_ZERO = 48
|
48
|
+
KEY_ONE = 49
|
49
|
+
KEY_TWO = 50
|
50
|
+
KEY_THREE = 51
|
51
|
+
KEY_FOUR = 52
|
52
|
+
KEY_FIVE = 53
|
53
|
+
KEY_SIX = 54
|
54
|
+
KEY_SEVEN = 55
|
55
|
+
KEY_EIGHT = 56
|
56
|
+
KEY_NINE = 57
|
57
|
+
KEY_SEMICOLON = 59
|
58
|
+
KEY_EQUAL = 61
|
59
|
+
KEY_A = 65
|
60
|
+
KEY_B = 66
|
61
|
+
KEY_C = 67
|
62
|
+
KEY_D = 68
|
63
|
+
KEY_E = 69
|
64
|
+
KEY_F = 70
|
65
|
+
KEY_G = 71
|
66
|
+
KEY_H = 72
|
67
|
+
KEY_I = 73
|
68
|
+
KEY_J = 74
|
69
|
+
KEY_K = 75
|
70
|
+
KEY_L = 76
|
71
|
+
KEY_M = 77
|
72
|
+
KEY_N = 78
|
73
|
+
KEY_O = 79
|
74
|
+
KEY_P = 80
|
75
|
+
KEY_Q = 81
|
76
|
+
KEY_R = 82
|
77
|
+
KEY_S = 83
|
78
|
+
KEY_T = 84
|
79
|
+
KEY_U = 85
|
80
|
+
KEY_V = 86
|
81
|
+
KEY_W = 87
|
82
|
+
KEY_X = 88
|
83
|
+
KEY_Y = 89
|
84
|
+
KEY_Z = 90
|
85
|
+
KEY_LEFT_BRACKET = 91
|
86
|
+
KEY_BACKSLASH = 92
|
87
|
+
KEY_RIGHT_BRACKET = 93
|
88
|
+
KEY_GRAVE = 96
|
89
|
+
KEY_SPACE = 32
|
90
|
+
KEY_ESCAPE = 256
|
91
|
+
KEY_ENTER = 257
|
92
|
+
KEY_TAB = 258
|
93
|
+
KEY_BACKSPACE = 259
|
94
|
+
KEY_INSERT = 260
|
95
|
+
KEY_DELETE = 261
|
96
|
+
KEY_RIGHT = 262
|
97
|
+
KEY_LEFT = 263
|
98
|
+
KEY_DOWN = 264
|
99
|
+
KEY_UP = 265
|
100
|
+
KEY_PAGE_UP = 266
|
101
|
+
KEY_PAGE_DOWN = 267
|
102
|
+
KEY_HOME = 268
|
103
|
+
KEY_END = 269
|
104
|
+
KEY_CAPS_LOCK = 280
|
105
|
+
KEY_SCROLL_LOCK = 281
|
106
|
+
KEY_NUM_LOCK = 282
|
107
|
+
KEY_PRINT_SCREEN = 283
|
108
|
+
KEY_PAUSE = 284
|
109
|
+
KEY_F1 = 290
|
110
|
+
KEY_F2 = 291
|
111
|
+
KEY_F3 = 292
|
112
|
+
KEY_F4 = 293
|
113
|
+
KEY_F5 = 294
|
114
|
+
KEY_F6 = 295
|
115
|
+
KEY_F7 = 296
|
116
|
+
KEY_F8 = 297
|
117
|
+
KEY_F9 = 298
|
118
|
+
KEY_F10 = 299
|
119
|
+
KEY_F11 = 300
|
120
|
+
KEY_F12 = 301
|
121
|
+
KEY_LEFT_SHIFT = 340
|
122
|
+
KEY_LEFT_CONTROL = 341
|
123
|
+
KEY_LEFT_ALT = 342
|
124
|
+
KEY_LEFT_SUPER = 343
|
125
|
+
KEY_RIGHT_SHIFT = 344
|
126
|
+
KEY_RIGHT_CONTROL = 345
|
127
|
+
KEY_RIGHT_ALT = 346
|
128
|
+
KEY_RIGHT_SUPER = 347
|
129
|
+
KEY_KB_MENU = 348
|
130
|
+
KEY_KP_0 = 320
|
131
|
+
KEY_KP_1 = 321
|
132
|
+
KEY_KP_2 = 322
|
133
|
+
KEY_KP_3 = 323
|
134
|
+
KEY_KP_4 = 324
|
135
|
+
KEY_KP_5 = 325
|
136
|
+
KEY_KP_6 = 326
|
137
|
+
KEY_KP_7 = 327
|
138
|
+
KEY_KP_8 = 328
|
139
|
+
KEY_KP_9 = 329
|
140
|
+
KEY_KP_DECIMAL = 330
|
141
|
+
KEY_KP_DIVIDE = 331
|
142
|
+
KEY_KP_MULTIPLY = 332
|
143
|
+
KEY_KP_SUBTRACT = 333
|
144
|
+
KEY_KP_ADD = 334
|
145
|
+
KEY_KP_ENTER = 335
|
146
|
+
KEY_KP_EQUAL = 336
|
147
|
+
KEY_BACK = 4
|
148
|
+
KEY_MENU = 82
|
149
|
+
KEY_VOLUME_UP = 24
|
150
|
+
KEY_VOLUME_DOWN = 25
|
151
|
+
MOUSE_BUTTON_LEFT = 0
|
152
|
+
MOUSE_BUTTON_RIGHT = 1
|
153
|
+
MOUSE_BUTTON_MIDDLE = 2
|
154
|
+
MOUSE_BUTTON_SIDE = 3
|
155
|
+
MOUSE_BUTTON_EXTRA = 4
|
156
|
+
MOUSE_BUTTON_FORWARD = 5
|
157
|
+
MOUSE_BUTTON_BACK = 6
|
158
|
+
MOUSE_CURSOR_DEFAULT = 0
|
159
|
+
MOUSE_CURSOR_ARROW = 1
|
160
|
+
MOUSE_CURSOR_IBEAM = 2
|
161
|
+
MOUSE_CURSOR_CROSSHAIR = 3
|
162
|
+
MOUSE_CURSOR_POINTING_HAND = 4
|
163
|
+
MOUSE_CURSOR_RESIZE_EW = 5
|
164
|
+
MOUSE_CURSOR_RESIZE_NS = 6
|
165
|
+
MOUSE_CURSOR_RESIZE_NWSE = 7
|
166
|
+
MOUSE_CURSOR_RESIZE_NESW = 8
|
167
|
+
MOUSE_CURSOR_RESIZE_ALL = 9
|
168
|
+
MOUSE_CURSOR_NOT_ALLOWED = 10
|
169
|
+
GAMEPAD_BUTTON_UNKNOWN = 0
|
170
|
+
GAMEPAD_BUTTON_LEFT_FACE_UP = 1
|
171
|
+
GAMEPAD_BUTTON_LEFT_FACE_RIGHT = 2
|
172
|
+
GAMEPAD_BUTTON_LEFT_FACE_DOWN = 3
|
173
|
+
GAMEPAD_BUTTON_LEFT_FACE_LEFT = 4
|
174
|
+
GAMEPAD_BUTTON_RIGHT_FACE_UP = 5
|
175
|
+
GAMEPAD_BUTTON_RIGHT_FACE_RIGHT = 6
|
176
|
+
GAMEPAD_BUTTON_RIGHT_FACE_DOWN = 7
|
177
|
+
GAMEPAD_BUTTON_RIGHT_FACE_LEFT = 8
|
178
|
+
GAMEPAD_BUTTON_LEFT_TRIGGER_1 = 9
|
179
|
+
GAMEPAD_BUTTON_LEFT_TRIGGER_2 = 10
|
180
|
+
GAMEPAD_BUTTON_RIGHT_TRIGGER_1 = 11
|
181
|
+
GAMEPAD_BUTTON_RIGHT_TRIGGER_2 = 12
|
182
|
+
GAMEPAD_BUTTON_MIDDLE_LEFT = 13
|
183
|
+
GAMEPAD_BUTTON_MIDDLE = 14
|
184
|
+
GAMEPAD_BUTTON_MIDDLE_RIGHT = 15
|
185
|
+
GAMEPAD_BUTTON_LEFT_THUMB = 16
|
186
|
+
GAMEPAD_BUTTON_RIGHT_THUMB = 17
|
187
|
+
GAMEPAD_AXIS_LEFT_X = 0
|
188
|
+
GAMEPAD_AXIS_LEFT_Y = 1
|
189
|
+
GAMEPAD_AXIS_RIGHT_X = 2
|
190
|
+
GAMEPAD_AXIS_RIGHT_Y = 3
|
191
|
+
GAMEPAD_AXIS_LEFT_TRIGGER = 4
|
192
|
+
GAMEPAD_AXIS_RIGHT_TRIGGER = 5
|
193
|
+
MATERIAL_MAP_ALBEDO = 0
|
194
|
+
MATERIAL_MAP_METALNESS = 1
|
195
|
+
MATERIAL_MAP_NORMAL = 2
|
196
|
+
MATERIAL_MAP_ROUGHNESS = 3
|
197
|
+
MATERIAL_MAP_OCCLUSION = 4
|
198
|
+
MATERIAL_MAP_EMISSION = 5
|
199
|
+
MATERIAL_MAP_HEIGHT = 6
|
200
|
+
MATERIAL_MAP_CUBEMAP = 7
|
201
|
+
MATERIAL_MAP_IRRADIANCE = 8
|
202
|
+
MATERIAL_MAP_PREFILTER = 9
|
203
|
+
MATERIAL_MAP_BRDF = 10
|
204
|
+
SHADER_LOC_VERTEX_POSITION = 0
|
205
|
+
SHADER_LOC_VERTEX_TEXCOORD01 = 1
|
206
|
+
SHADER_LOC_VERTEX_TEXCOORD02 = 2
|
207
|
+
SHADER_LOC_VERTEX_NORMAL = 3
|
208
|
+
SHADER_LOC_VERTEX_TANGENT = 4
|
209
|
+
SHADER_LOC_VERTEX_COLOR = 5
|
210
|
+
SHADER_LOC_MATRIX_MVP = 6
|
211
|
+
SHADER_LOC_MATRIX_VIEW = 7
|
212
|
+
SHADER_LOC_MATRIX_PROJECTION = 8
|
213
|
+
SHADER_LOC_MATRIX_MODEL = 9
|
214
|
+
SHADER_LOC_MATRIX_NORMAL = 10
|
215
|
+
SHADER_LOC_VECTOR_VIEW = 11
|
216
|
+
SHADER_LOC_COLOR_DIFFUSE = 12
|
217
|
+
SHADER_LOC_COLOR_SPECULAR = 13
|
218
|
+
SHADER_LOC_COLOR_AMBIENT = 14
|
219
|
+
SHADER_LOC_MAP_ALBEDO = 15
|
220
|
+
SHADER_LOC_MAP_METALNESS = 16
|
221
|
+
SHADER_LOC_MAP_NORMAL = 17
|
222
|
+
SHADER_LOC_MAP_ROUGHNESS = 18
|
223
|
+
SHADER_LOC_MAP_OCCLUSION = 19
|
224
|
+
SHADER_LOC_MAP_EMISSION = 20
|
225
|
+
SHADER_LOC_MAP_HEIGHT = 21
|
226
|
+
SHADER_LOC_MAP_CUBEMAP = 22
|
227
|
+
SHADER_LOC_MAP_IRRADIANCE = 23
|
228
|
+
SHADER_LOC_MAP_PREFILTER = 24
|
229
|
+
SHADER_LOC_MAP_BRDF = 25
|
230
|
+
SHADER_UNIFORM_FLOAT = 0
|
231
|
+
SHADER_UNIFORM_VEC2 = 1
|
232
|
+
SHADER_UNIFORM_VEC3 = 2
|
233
|
+
SHADER_UNIFORM_VEC4 = 3
|
234
|
+
SHADER_UNIFORM_INT = 4
|
235
|
+
SHADER_UNIFORM_IVEC2 = 5
|
236
|
+
SHADER_UNIFORM_IVEC3 = 6
|
237
|
+
SHADER_UNIFORM_IVEC4 = 7
|
238
|
+
SHADER_UNIFORM_SAMPLER2D = 8
|
239
|
+
SHADER_ATTRIB_FLOAT = 0
|
240
|
+
SHADER_ATTRIB_VEC2 = 1
|
241
|
+
SHADER_ATTRIB_VEC3 = 2
|
242
|
+
SHADER_ATTRIB_VEC4 = 3
|
243
|
+
PIXELFORMAT_UNCOMPRESSED_GRAYSCALE = 1
|
244
|
+
PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA = 2
|
245
|
+
PIXELFORMAT_UNCOMPRESSED_R5G6B5 = 3
|
246
|
+
PIXELFORMAT_UNCOMPRESSED_R8G8B8 = 4
|
247
|
+
PIXELFORMAT_UNCOMPRESSED_R5G5B5A1 = 5
|
248
|
+
PIXELFORMAT_UNCOMPRESSED_R4G4B4A4 = 6
|
249
|
+
PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 = 7
|
250
|
+
PIXELFORMAT_UNCOMPRESSED_R32 = 8
|
251
|
+
PIXELFORMAT_UNCOMPRESSED_R32G32B32 = 9
|
252
|
+
PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 = 10
|
253
|
+
PIXELFORMAT_COMPRESSED_DXT1_RGB = 11
|
254
|
+
PIXELFORMAT_COMPRESSED_DXT1_RGBA = 12
|
255
|
+
PIXELFORMAT_COMPRESSED_DXT3_RGBA = 13
|
256
|
+
PIXELFORMAT_COMPRESSED_DXT5_RGBA = 14
|
257
|
+
PIXELFORMAT_COMPRESSED_ETC1_RGB = 15
|
258
|
+
PIXELFORMAT_COMPRESSED_ETC2_RGB = 16
|
259
|
+
PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA = 17
|
260
|
+
PIXELFORMAT_COMPRESSED_PVRT_RGB = 18
|
261
|
+
PIXELFORMAT_COMPRESSED_PVRT_RGBA = 19
|
262
|
+
PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA = 20
|
263
|
+
PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA = 21
|
264
|
+
TEXTURE_FILTER_POINT = 0
|
265
|
+
TEXTURE_FILTER_BILINEAR = 1
|
266
|
+
TEXTURE_FILTER_TRILINEAR = 2
|
267
|
+
TEXTURE_FILTER_ANISOTROPIC_4X = 3
|
268
|
+
TEXTURE_FILTER_ANISOTROPIC_8X = 4
|
269
|
+
TEXTURE_FILTER_ANISOTROPIC_16X = 5
|
270
|
+
TEXTURE_WRAP_REPEAT = 0
|
271
|
+
TEXTURE_WRAP_CLAMP = 1
|
272
|
+
TEXTURE_WRAP_MIRROR_REPEAT = 2
|
273
|
+
TEXTURE_WRAP_MIRROR_CLAMP = 3
|
274
|
+
CUBEMAP_LAYOUT_AUTO_DETECT = 0
|
275
|
+
CUBEMAP_LAYOUT_LINE_VERTICAL = 1
|
276
|
+
CUBEMAP_LAYOUT_LINE_HORIZONTAL = 2
|
277
|
+
CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR = 3
|
278
|
+
CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE = 4
|
279
|
+
CUBEMAP_LAYOUT_PANORAMA = 5
|
280
|
+
FONT_DEFAULT = 0
|
281
|
+
FONT_BITMAP = 1
|
282
|
+
FONT_SDF = 2
|
283
|
+
BLEND_ALPHA = 0
|
284
|
+
BLEND_ADDITIVE = 1
|
285
|
+
BLEND_MULTIPLIED = 2
|
286
|
+
BLEND_ADD_COLORS = 3
|
287
|
+
BLEND_SUBTRACT_COLORS = 4
|
288
|
+
BLEND_CUSTOM = 5
|
289
|
+
GESTURE_NONE = 0
|
290
|
+
GESTURE_TAP = 1
|
291
|
+
GESTURE_DOUBLETAP = 2
|
292
|
+
GESTURE_HOLD = 4
|
293
|
+
GESTURE_DRAG = 8
|
294
|
+
GESTURE_SWIPE_RIGHT = 16
|
295
|
+
GESTURE_SWIPE_LEFT = 32
|
296
|
+
GESTURE_SWIPE_UP = 64
|
297
|
+
GESTURE_SWIPE_DOWN = 128
|
298
|
+
GESTURE_PINCH_IN = 256
|
299
|
+
GESTURE_PINCH_OUT = 512
|
300
|
+
CAMERA_CUSTOM = 0
|
301
|
+
CAMERA_FREE = 1
|
302
|
+
CAMERA_ORBITAL = 2
|
303
|
+
CAMERA_FIRST_PERSON = 3
|
304
|
+
CAMERA_THIRD_PERSON = 4
|
305
|
+
CAMERA_PERSPECTIVE = 0
|
306
|
+
CAMERA_ORTHOGRAPHIC = 1
|
307
|
+
NPATCH_NINE_PATCH = 0
|
308
|
+
NPATCH_THREE_PATCH_VERTICAL = 1
|
309
|
+
NPATCH_THREE_PATCH_HORIZONTAL = 2
|
310
|
+
|
311
|
+
# Typedef
|
312
|
+
|
313
|
+
typedef :int, :ConfigFlags
|
314
|
+
typedef :int, :TraceLogLevel
|
315
|
+
typedef :int, :KeyboardKey
|
316
|
+
typedef :int, :MouseButton
|
317
|
+
typedef :int, :MouseCursor
|
318
|
+
typedef :int, :GamepadButton
|
319
|
+
typedef :int, :GamepadAxis
|
320
|
+
typedef :int, :MaterialMapIndex
|
321
|
+
typedef :int, :ShaderLocationIndex
|
322
|
+
typedef :int, :ShaderUniformDataType
|
323
|
+
typedef :int, :ShaderAttributeDataType
|
324
|
+
typedef :int, :PixelFormat
|
325
|
+
typedef :int, :TextureFilter
|
326
|
+
typedef :int, :TextureWrap
|
327
|
+
typedef :int, :CubemapLayout
|
328
|
+
typedef :int, :FontType
|
329
|
+
typedef :int, :BlendMode
|
330
|
+
typedef :int, :Gesture
|
331
|
+
typedef :int, :CameraMode
|
332
|
+
typedef :int, :CameraProjection
|
333
|
+
typedef :int, :NPatchLayout
|
334
|
+
callback :TraceLogCallback, [:int, :pointer, :pointer], :void
|
335
|
+
callback :LoadFileDataCallback, [:pointer, :pointer], :pointer
|
336
|
+
callback :SaveFileDataCallback, [:pointer, :pointer, :uint], :bool
|
337
|
+
callback :LoadFileTextCallback, [:pointer], :pointer
|
338
|
+
callback :SaveFileTextCallback, [:pointer, :pointer], :bool
|
339
|
+
|
340
|
+
# Struct
|
341
|
+
|
342
|
+
class Vector2 < FFI::Struct
|
343
|
+
layout(
|
344
|
+
:x, :float,
|
345
|
+
:y, :float,
|
346
|
+
)
|
347
|
+
end
|
348
|
+
|
349
|
+
class Vector3 < FFI::Struct
|
350
|
+
layout(
|
351
|
+
:x, :float,
|
352
|
+
:y, :float,
|
353
|
+
:z, :float,
|
354
|
+
)
|
355
|
+
end
|
356
|
+
|
357
|
+
class Vector4 < FFI::Struct
|
358
|
+
layout(
|
359
|
+
:x, :float,
|
360
|
+
:y, :float,
|
361
|
+
:z, :float,
|
362
|
+
:w, :float,
|
363
|
+
)
|
364
|
+
end
|
365
|
+
|
366
|
+
Quaternion = Vector4
|
367
|
+
|
368
|
+
class Matrix < FFI::Struct
|
369
|
+
layout(
|
370
|
+
:m0, :float,
|
371
|
+
:m4, :float,
|
372
|
+
:m8, :float,
|
373
|
+
:m12, :float,
|
374
|
+
:m1, :float,
|
375
|
+
:m5, :float,
|
376
|
+
:m9, :float,
|
377
|
+
:m13, :float,
|
378
|
+
:m2, :float,
|
379
|
+
:m6, :float,
|
380
|
+
:m10, :float,
|
381
|
+
:m14, :float,
|
382
|
+
:m3, :float,
|
383
|
+
:m7, :float,
|
384
|
+
:m11, :float,
|
385
|
+
:m15, :float,
|
386
|
+
)
|
387
|
+
end
|
388
|
+
|
389
|
+
class Color < FFI::Struct
|
390
|
+
layout(
|
391
|
+
:r, :uchar,
|
392
|
+
:g, :uchar,
|
393
|
+
:b, :uchar,
|
394
|
+
:a, :uchar,
|
395
|
+
)
|
396
|
+
end
|
397
|
+
|
398
|
+
class Rectangle < FFI::Struct
|
399
|
+
layout(
|
400
|
+
:x, :float,
|
401
|
+
:y, :float,
|
402
|
+
:width, :float,
|
403
|
+
:height, :float,
|
404
|
+
)
|
405
|
+
end
|
406
|
+
|
407
|
+
class Image < FFI::Struct
|
408
|
+
layout(
|
409
|
+
:data, :pointer,
|
410
|
+
:width, :int,
|
411
|
+
:height, :int,
|
412
|
+
:mipmaps, :int,
|
413
|
+
:format, :int,
|
414
|
+
)
|
415
|
+
end
|
416
|
+
|
417
|
+
class Texture < FFI::Struct
|
418
|
+
layout(
|
419
|
+
:id, :uint,
|
420
|
+
:width, :int,
|
421
|
+
:height, :int,
|
422
|
+
:mipmaps, :int,
|
423
|
+
:format, :int,
|
424
|
+
)
|
425
|
+
end
|
426
|
+
|
427
|
+
Texture2D = Texture
|
428
|
+
TextureCubemap = Texture
|
429
|
+
|
430
|
+
class RenderTexture < FFI::Struct
|
431
|
+
layout(
|
432
|
+
:id, :uint,
|
433
|
+
:texture, Texture,
|
434
|
+
:depth, Texture,
|
435
|
+
)
|
436
|
+
end
|
437
|
+
|
438
|
+
RenderTexture2D = RenderTexture
|
439
|
+
|
440
|
+
class NPatchInfo < FFI::Struct
|
441
|
+
layout(
|
442
|
+
:source, Rectangle,
|
443
|
+
:left, :int,
|
444
|
+
:top, :int,
|
445
|
+
:right, :int,
|
446
|
+
:bottom, :int,
|
447
|
+
:layout, :int,
|
448
|
+
)
|
449
|
+
end
|
450
|
+
|
451
|
+
class GlyphInfo < FFI::Struct
|
452
|
+
layout(
|
453
|
+
:value, :int,
|
454
|
+
:offsetX, :int,
|
455
|
+
:offsetY, :int,
|
456
|
+
:advanceX, :int,
|
457
|
+
:image, Image,
|
458
|
+
)
|
459
|
+
end
|
460
|
+
|
461
|
+
class Font < FFI::Struct
|
462
|
+
layout(
|
463
|
+
:baseSize, :int,
|
464
|
+
:glyphCount, :int,
|
465
|
+
:glyphPadding, :int,
|
466
|
+
:texture, Texture2D,
|
467
|
+
:recs, :pointer,
|
468
|
+
:glyphs, :pointer,
|
469
|
+
)
|
470
|
+
end
|
471
|
+
|
472
|
+
class Camera3D < FFI::Struct
|
473
|
+
layout(
|
474
|
+
:position, Vector3,
|
475
|
+
:target, Vector3,
|
476
|
+
:up, Vector3,
|
477
|
+
:fovy, :float,
|
478
|
+
:projection, :int,
|
479
|
+
)
|
480
|
+
end
|
481
|
+
|
482
|
+
Camera = Camera3D
|
483
|
+
|
484
|
+
class Camera2D < FFI::Struct
|
485
|
+
layout(
|
486
|
+
:offset, Vector2,
|
487
|
+
:target, Vector2,
|
488
|
+
:rotation, :float,
|
489
|
+
:zoom, :float,
|
490
|
+
)
|
491
|
+
end
|
492
|
+
|
493
|
+
class Mesh < FFI::Struct
|
494
|
+
layout(
|
495
|
+
:vertexCount, :int,
|
496
|
+
:triangleCount, :int,
|
497
|
+
:vertices, :pointer,
|
498
|
+
:texcoords, :pointer,
|
499
|
+
:texcoords2, :pointer,
|
500
|
+
:normals, :pointer,
|
501
|
+
:tangents, :pointer,
|
502
|
+
:colors, :pointer,
|
503
|
+
:indices, :pointer,
|
504
|
+
:animVertices, :pointer,
|
505
|
+
:animNormals, :pointer,
|
506
|
+
:boneIds, :pointer,
|
507
|
+
:boneWeights, :pointer,
|
508
|
+
:vaoId, :uint,
|
509
|
+
:vboId, :pointer,
|
510
|
+
)
|
511
|
+
end
|
512
|
+
|
513
|
+
class Shader < FFI::Struct
|
514
|
+
layout(
|
515
|
+
:id, :uint,
|
516
|
+
:locs, :pointer,
|
517
|
+
)
|
518
|
+
end
|
519
|
+
|
520
|
+
class MaterialMap < FFI::Struct
|
521
|
+
layout(
|
522
|
+
:texture, Texture2D,
|
523
|
+
:color, Color,
|
524
|
+
:value, :float,
|
525
|
+
)
|
526
|
+
end
|
527
|
+
|
528
|
+
class Material < FFI::Struct
|
529
|
+
layout(
|
530
|
+
:shader, Shader,
|
531
|
+
:maps, :pointer,
|
532
|
+
:params, [:float, 4],
|
533
|
+
)
|
534
|
+
end
|
535
|
+
|
536
|
+
class Transform < FFI::Struct
|
537
|
+
layout(
|
538
|
+
:translation, Vector3,
|
539
|
+
:rotation, Quaternion,
|
540
|
+
:scale, Vector3,
|
541
|
+
)
|
542
|
+
end
|
543
|
+
|
544
|
+
class BoneInfo < FFI::Struct
|
545
|
+
layout(
|
546
|
+
:name, [:char, 32],
|
547
|
+
:parent, :int,
|
548
|
+
)
|
549
|
+
end
|
550
|
+
|
551
|
+
class Model < FFI::Struct
|
552
|
+
layout(
|
553
|
+
:transform, Matrix,
|
554
|
+
:meshCount, :int,
|
555
|
+
:materialCount, :int,
|
556
|
+
:meshes, :pointer,
|
557
|
+
:materials, :pointer,
|
558
|
+
:meshMaterial, :pointer,
|
559
|
+
:boneCount, :int,
|
560
|
+
:bones, :pointer,
|
561
|
+
:bindPose, :pointer,
|
562
|
+
)
|
563
|
+
end
|
564
|
+
|
565
|
+
class ModelAnimation < FFI::Struct
|
566
|
+
layout(
|
567
|
+
:boneCount, :int,
|
568
|
+
:frameCount, :int,
|
569
|
+
:bones, :pointer,
|
570
|
+
:framePoses, :pointer,
|
571
|
+
)
|
572
|
+
end
|
573
|
+
|
574
|
+
class Ray < FFI::Struct
|
575
|
+
layout(
|
576
|
+
:position, Vector3,
|
577
|
+
:direction, Vector3,
|
578
|
+
)
|
579
|
+
end
|
580
|
+
|
581
|
+
class RayCollision < FFI::Struct
|
582
|
+
layout(
|
583
|
+
:hit, :bool,
|
584
|
+
:distance, :float,
|
585
|
+
:point, Vector3,
|
586
|
+
:normal, Vector3,
|
587
|
+
)
|
588
|
+
end
|
589
|
+
|
590
|
+
class BoundingBox < FFI::Struct
|
591
|
+
layout(
|
592
|
+
:min, Vector3,
|
593
|
+
:max, Vector3,
|
594
|
+
)
|
595
|
+
end
|
596
|
+
|
597
|
+
class Wave < FFI::Struct
|
598
|
+
layout(
|
599
|
+
:frameCount, :uint,
|
600
|
+
:sampleRate, :uint,
|
601
|
+
:sampleSize, :uint,
|
602
|
+
:channels, :uint,
|
603
|
+
:data, :pointer,
|
604
|
+
)
|
605
|
+
end
|
606
|
+
|
607
|
+
class AudioStream < FFI::Struct
|
608
|
+
layout(
|
609
|
+
:buffer, :pointer,
|
610
|
+
:sampleRate, :uint,
|
611
|
+
:sampleSize, :uint,
|
612
|
+
:channels, :uint,
|
613
|
+
)
|
614
|
+
end
|
615
|
+
|
616
|
+
class Sound < FFI::Struct
|
617
|
+
layout(
|
618
|
+
:stream, AudioStream,
|
619
|
+
:frameCount, :uint,
|
620
|
+
)
|
621
|
+
end
|
622
|
+
|
623
|
+
class Music < FFI::Struct
|
624
|
+
layout(
|
625
|
+
:stream, AudioStream,
|
626
|
+
:frameCount, :uint,
|
627
|
+
:looping, :bool,
|
628
|
+
:ctxType, :int,
|
629
|
+
:ctxData, :pointer,
|
630
|
+
)
|
631
|
+
end
|
632
|
+
|
633
|
+
class VrDeviceInfo < FFI::Struct
|
634
|
+
layout(
|
635
|
+
:hResolution, :int,
|
636
|
+
:vResolution, :int,
|
637
|
+
:hScreenSize, :float,
|
638
|
+
:vScreenSize, :float,
|
639
|
+
:vScreenCenter, :float,
|
640
|
+
:eyeToScreenDistance, :float,
|
641
|
+
:lensSeparationDistance, :float,
|
642
|
+
:interpupillaryDistance, :float,
|
643
|
+
:lensDistortionValues, [:float, 4],
|
644
|
+
:chromaAbCorrection, [:float, 4],
|
645
|
+
)
|
646
|
+
end
|
647
|
+
|
648
|
+
class VrStereoConfig < FFI::Struct
|
649
|
+
layout(
|
650
|
+
:projection, [Matrix, 2],
|
651
|
+
:viewOffset, [Matrix, 2],
|
652
|
+
:leftLensCenter, [:float, 2],
|
653
|
+
:rightLensCenter, [:float, 2],
|
654
|
+
:leftScreenCenter, [:float, 2],
|
655
|
+
:rightScreenCenter, [:float, 2],
|
656
|
+
:scale, [:float, 2],
|
657
|
+
:scaleIn, [:float, 2],
|
658
|
+
)
|
659
|
+
end
|
660
|
+
|
661
|
+
|
662
|
+
# Function
|
663
|
+
|
664
|
+
def self.setup_raylib_symbols()
|
665
|
+
symbols = [
|
666
|
+
:InitWindow,
|
667
|
+
:WindowShouldClose,
|
668
|
+
:CloseWindow,
|
669
|
+
:IsWindowReady,
|
670
|
+
:IsWindowFullscreen,
|
671
|
+
:IsWindowHidden,
|
672
|
+
:IsWindowMinimized,
|
673
|
+
:IsWindowMaximized,
|
674
|
+
:IsWindowFocused,
|
675
|
+
:IsWindowResized,
|
676
|
+
:IsWindowState,
|
677
|
+
:SetWindowState,
|
678
|
+
:ClearWindowState,
|
679
|
+
:ToggleFullscreen,
|
680
|
+
:MaximizeWindow,
|
681
|
+
:MinimizeWindow,
|
682
|
+
:RestoreWindow,
|
683
|
+
:SetWindowIcon,
|
684
|
+
:SetWindowTitle,
|
685
|
+
:SetWindowPosition,
|
686
|
+
:SetWindowMonitor,
|
687
|
+
:SetWindowMinSize,
|
688
|
+
:SetWindowSize,
|
689
|
+
:SetWindowOpacity,
|
690
|
+
:GetWindowHandle,
|
691
|
+
:GetScreenWidth,
|
692
|
+
:GetScreenHeight,
|
693
|
+
:GetRenderWidth,
|
694
|
+
:GetRenderHeight,
|
695
|
+
:GetMonitorCount,
|
696
|
+
:GetCurrentMonitor,
|
697
|
+
:GetMonitorPosition,
|
698
|
+
:GetMonitorWidth,
|
699
|
+
:GetMonitorHeight,
|
700
|
+
:GetMonitorPhysicalWidth,
|
701
|
+
:GetMonitorPhysicalHeight,
|
702
|
+
:GetMonitorRefreshRate,
|
703
|
+
:GetWindowPosition,
|
704
|
+
:GetWindowScaleDPI,
|
705
|
+
:GetMonitorName,
|
706
|
+
:SetClipboardText,
|
707
|
+
:GetClipboardText,
|
708
|
+
:SwapScreenBuffer,
|
709
|
+
:PollInputEvents,
|
710
|
+
:WaitTime,
|
711
|
+
:ShowCursor,
|
712
|
+
:HideCursor,
|
713
|
+
:IsCursorHidden,
|
714
|
+
:EnableCursor,
|
715
|
+
:DisableCursor,
|
716
|
+
:IsCursorOnScreen,
|
717
|
+
:ClearBackground,
|
718
|
+
:BeginDrawing,
|
719
|
+
:EndDrawing,
|
720
|
+
:BeginMode2D,
|
721
|
+
:EndMode2D,
|
722
|
+
:BeginMode3D,
|
723
|
+
:EndMode3D,
|
724
|
+
:BeginTextureMode,
|
725
|
+
:EndTextureMode,
|
726
|
+
:BeginShaderMode,
|
727
|
+
:EndShaderMode,
|
728
|
+
:BeginBlendMode,
|
729
|
+
:EndBlendMode,
|
730
|
+
:BeginScissorMode,
|
731
|
+
:EndScissorMode,
|
732
|
+
:BeginVrStereoMode,
|
733
|
+
:EndVrStereoMode,
|
734
|
+
:LoadVrStereoConfig,
|
735
|
+
:UnloadVrStereoConfig,
|
736
|
+
:LoadShader,
|
737
|
+
:LoadShaderFromMemory,
|
738
|
+
:GetShaderLocation,
|
739
|
+
:GetShaderLocationAttrib,
|
740
|
+
:SetShaderValue,
|
741
|
+
:SetShaderValueV,
|
742
|
+
:SetShaderValueMatrix,
|
743
|
+
:SetShaderValueTexture,
|
744
|
+
:UnloadShader,
|
745
|
+
:GetMouseRay,
|
746
|
+
:GetCameraMatrix,
|
747
|
+
:GetCameraMatrix2D,
|
748
|
+
:GetWorldToScreen,
|
749
|
+
:GetWorldToScreenEx,
|
750
|
+
:GetWorldToScreen2D,
|
751
|
+
:GetScreenToWorld2D,
|
752
|
+
:SetTargetFPS,
|
753
|
+
:GetFPS,
|
754
|
+
:GetFrameTime,
|
755
|
+
:GetTime,
|
756
|
+
:GetRandomValue,
|
757
|
+
:SetRandomSeed,
|
758
|
+
:TakeScreenshot,
|
759
|
+
:SetConfigFlags,
|
760
|
+
:TraceLog,
|
761
|
+
:SetTraceLogLevel,
|
762
|
+
:MemAlloc,
|
763
|
+
:MemRealloc,
|
764
|
+
:MemFree,
|
765
|
+
:SetTraceLogCallback,
|
766
|
+
:SetLoadFileDataCallback,
|
767
|
+
:SetSaveFileDataCallback,
|
768
|
+
:SetLoadFileTextCallback,
|
769
|
+
:SetSaveFileTextCallback,
|
770
|
+
:LoadFileData,
|
771
|
+
:UnloadFileData,
|
772
|
+
:SaveFileData,
|
773
|
+
:LoadFileText,
|
774
|
+
:UnloadFileText,
|
775
|
+
:SaveFileText,
|
776
|
+
:FileExists,
|
777
|
+
:DirectoryExists,
|
778
|
+
:IsFileExtension,
|
779
|
+
:GetFileExtension,
|
780
|
+
:GetFileName,
|
781
|
+
:GetFileNameWithoutExt,
|
782
|
+
:GetDirectoryPath,
|
783
|
+
:GetPrevDirectoryPath,
|
784
|
+
:GetWorkingDirectory,
|
785
|
+
:GetApplicationDirectory,
|
786
|
+
:GetDirectoryFiles,
|
787
|
+
:ClearDirectoryFiles,
|
788
|
+
:ChangeDirectory,
|
789
|
+
:IsFileDropped,
|
790
|
+
:GetDroppedFiles,
|
791
|
+
:ClearDroppedFiles,
|
792
|
+
:GetFileModTime,
|
793
|
+
:CompressData,
|
794
|
+
:DecompressData,
|
795
|
+
:EncodeDataBase64,
|
796
|
+
:DecodeDataBase64,
|
797
|
+
:SaveStorageValue,
|
798
|
+
:LoadStorageValue,
|
799
|
+
:OpenURL,
|
800
|
+
:IsKeyPressed,
|
801
|
+
:IsKeyDown,
|
802
|
+
:IsKeyReleased,
|
803
|
+
:IsKeyUp,
|
804
|
+
:SetExitKey,
|
805
|
+
:GetKeyPressed,
|
806
|
+
:GetCharPressed,
|
807
|
+
:IsGamepadAvailable,
|
808
|
+
:GetGamepadName,
|
809
|
+
:IsGamepadButtonPressed,
|
810
|
+
:IsGamepadButtonDown,
|
811
|
+
:IsGamepadButtonReleased,
|
812
|
+
:IsGamepadButtonUp,
|
813
|
+
:GetGamepadButtonPressed,
|
814
|
+
:GetGamepadAxisCount,
|
815
|
+
:GetGamepadAxisMovement,
|
816
|
+
:SetGamepadMappings,
|
817
|
+
:IsMouseButtonPressed,
|
818
|
+
:IsMouseButtonDown,
|
819
|
+
:IsMouseButtonReleased,
|
820
|
+
:IsMouseButtonUp,
|
821
|
+
:GetMouseX,
|
822
|
+
:GetMouseY,
|
823
|
+
:GetMousePosition,
|
824
|
+
:GetMouseDelta,
|
825
|
+
:SetMousePosition,
|
826
|
+
:SetMouseOffset,
|
827
|
+
:SetMouseScale,
|
828
|
+
:GetMouseWheelMove,
|
829
|
+
:SetMouseCursor,
|
830
|
+
:GetTouchX,
|
831
|
+
:GetTouchY,
|
832
|
+
:GetTouchPosition,
|
833
|
+
:GetTouchPointId,
|
834
|
+
:GetTouchPointCount,
|
835
|
+
:SetGesturesEnabled,
|
836
|
+
:IsGestureDetected,
|
837
|
+
:GetGestureDetected,
|
838
|
+
:GetGestureHoldDuration,
|
839
|
+
:GetGestureDragVector,
|
840
|
+
:GetGestureDragAngle,
|
841
|
+
:GetGesturePinchVector,
|
842
|
+
:GetGesturePinchAngle,
|
843
|
+
:SetCameraMode,
|
844
|
+
:UpdateCamera,
|
845
|
+
:SetCameraPanControl,
|
846
|
+
:SetCameraAltControl,
|
847
|
+
:SetCameraSmoothZoomControl,
|
848
|
+
:SetCameraMoveControls,
|
849
|
+
:SetShapesTexture,
|
850
|
+
:DrawPixel,
|
851
|
+
:DrawPixelV,
|
852
|
+
:DrawLine,
|
853
|
+
:DrawLineV,
|
854
|
+
:DrawLineEx,
|
855
|
+
:DrawLineBezier,
|
856
|
+
:DrawLineBezierQuad,
|
857
|
+
:DrawLineBezierCubic,
|
858
|
+
:DrawLineStrip,
|
859
|
+
:DrawCircle,
|
860
|
+
:DrawCircleSector,
|
861
|
+
:DrawCircleSectorLines,
|
862
|
+
:DrawCircleGradient,
|
863
|
+
:DrawCircleV,
|
864
|
+
:DrawCircleLines,
|
865
|
+
:DrawEllipse,
|
866
|
+
:DrawEllipseLines,
|
867
|
+
:DrawRing,
|
868
|
+
:DrawRingLines,
|
869
|
+
:DrawRectangle,
|
870
|
+
:DrawRectangleV,
|
871
|
+
:DrawRectangleRec,
|
872
|
+
:DrawRectanglePro,
|
873
|
+
:DrawRectangleGradientV,
|
874
|
+
:DrawRectangleGradientH,
|
875
|
+
:DrawRectangleGradientEx,
|
876
|
+
:DrawRectangleLines,
|
877
|
+
:DrawRectangleLinesEx,
|
878
|
+
:DrawRectangleRounded,
|
879
|
+
:DrawRectangleRoundedLines,
|
880
|
+
:DrawTriangle,
|
881
|
+
:DrawTriangleLines,
|
882
|
+
:DrawTriangleFan,
|
883
|
+
:DrawTriangleStrip,
|
884
|
+
:DrawPoly,
|
885
|
+
:DrawPolyLines,
|
886
|
+
:DrawPolyLinesEx,
|
887
|
+
:CheckCollisionRecs,
|
888
|
+
:CheckCollisionCircles,
|
889
|
+
:CheckCollisionCircleRec,
|
890
|
+
:CheckCollisionPointRec,
|
891
|
+
:CheckCollisionPointCircle,
|
892
|
+
:CheckCollisionPointTriangle,
|
893
|
+
:CheckCollisionLines,
|
894
|
+
:CheckCollisionPointLine,
|
895
|
+
:GetCollisionRec,
|
896
|
+
:LoadImage,
|
897
|
+
:LoadImageRaw,
|
898
|
+
:LoadImageAnim,
|
899
|
+
:LoadImageFromMemory,
|
900
|
+
:LoadImageFromTexture,
|
901
|
+
:LoadImageFromScreen,
|
902
|
+
:UnloadImage,
|
903
|
+
:ExportImage,
|
904
|
+
:ExportImageAsCode,
|
905
|
+
:GenImageColor,
|
906
|
+
:GenImageGradientV,
|
907
|
+
:GenImageGradientH,
|
908
|
+
:GenImageGradientRadial,
|
909
|
+
:GenImageChecked,
|
910
|
+
:GenImageWhiteNoise,
|
911
|
+
:GenImageCellular,
|
912
|
+
:ImageCopy,
|
913
|
+
:ImageFromImage,
|
914
|
+
:ImageText,
|
915
|
+
:ImageTextEx,
|
916
|
+
:ImageFormat,
|
917
|
+
:ImageToPOT,
|
918
|
+
:ImageCrop,
|
919
|
+
:ImageAlphaCrop,
|
920
|
+
:ImageAlphaClear,
|
921
|
+
:ImageAlphaMask,
|
922
|
+
:ImageAlphaPremultiply,
|
923
|
+
:ImageResize,
|
924
|
+
:ImageResizeNN,
|
925
|
+
:ImageResizeCanvas,
|
926
|
+
:ImageMipmaps,
|
927
|
+
:ImageDither,
|
928
|
+
:ImageFlipVertical,
|
929
|
+
:ImageFlipHorizontal,
|
930
|
+
:ImageRotateCW,
|
931
|
+
:ImageRotateCCW,
|
932
|
+
:ImageColorTint,
|
933
|
+
:ImageColorInvert,
|
934
|
+
:ImageColorGrayscale,
|
935
|
+
:ImageColorContrast,
|
936
|
+
:ImageColorBrightness,
|
937
|
+
:ImageColorReplace,
|
938
|
+
:LoadImageColors,
|
939
|
+
:LoadImagePalette,
|
940
|
+
:UnloadImageColors,
|
941
|
+
:UnloadImagePalette,
|
942
|
+
:GetImageAlphaBorder,
|
943
|
+
:GetImageColor,
|
944
|
+
:ImageClearBackground,
|
945
|
+
:ImageDrawPixel,
|
946
|
+
:ImageDrawPixelV,
|
947
|
+
:ImageDrawLine,
|
948
|
+
:ImageDrawLineV,
|
949
|
+
:ImageDrawCircle,
|
950
|
+
:ImageDrawCircleV,
|
951
|
+
:ImageDrawRectangle,
|
952
|
+
:ImageDrawRectangleV,
|
953
|
+
:ImageDrawRectangleRec,
|
954
|
+
:ImageDrawRectangleLines,
|
955
|
+
:ImageDraw,
|
956
|
+
:ImageDrawText,
|
957
|
+
:ImageDrawTextEx,
|
958
|
+
:LoadTexture,
|
959
|
+
:LoadTextureFromImage,
|
960
|
+
:LoadTextureCubemap,
|
961
|
+
:LoadRenderTexture,
|
962
|
+
:UnloadTexture,
|
963
|
+
:UnloadRenderTexture,
|
964
|
+
:UpdateTexture,
|
965
|
+
:UpdateTextureRec,
|
966
|
+
:GenTextureMipmaps,
|
967
|
+
:SetTextureFilter,
|
968
|
+
:SetTextureWrap,
|
969
|
+
:DrawTexture,
|
970
|
+
:DrawTextureV,
|
971
|
+
:DrawTextureEx,
|
972
|
+
:DrawTextureRec,
|
973
|
+
:DrawTextureQuad,
|
974
|
+
:DrawTextureTiled,
|
975
|
+
:DrawTexturePro,
|
976
|
+
:DrawTextureNPatch,
|
977
|
+
:DrawTexturePoly,
|
978
|
+
:Fade,
|
979
|
+
:ColorToInt,
|
980
|
+
:ColorNormalize,
|
981
|
+
:ColorFromNormalized,
|
982
|
+
:ColorToHSV,
|
983
|
+
:ColorFromHSV,
|
984
|
+
:ColorAlpha,
|
985
|
+
:ColorAlphaBlend,
|
986
|
+
:GetColor,
|
987
|
+
:GetPixelColor,
|
988
|
+
:SetPixelColor,
|
989
|
+
:GetPixelDataSize,
|
990
|
+
:GetFontDefault,
|
991
|
+
:LoadFont,
|
992
|
+
:LoadFontEx,
|
993
|
+
:LoadFontFromImage,
|
994
|
+
:LoadFontFromMemory,
|
995
|
+
:LoadFontData,
|
996
|
+
:GenImageFontAtlas,
|
997
|
+
:UnloadFontData,
|
998
|
+
:UnloadFont,
|
999
|
+
:ExportFontAsCode,
|
1000
|
+
:DrawFPS,
|
1001
|
+
:DrawText,
|
1002
|
+
:DrawTextEx,
|
1003
|
+
:DrawTextPro,
|
1004
|
+
:DrawTextCodepoint,
|
1005
|
+
:MeasureText,
|
1006
|
+
:MeasureTextEx,
|
1007
|
+
:GetGlyphIndex,
|
1008
|
+
:GetGlyphInfo,
|
1009
|
+
:GetGlyphAtlasRec,
|
1010
|
+
:LoadCodepoints,
|
1011
|
+
:UnloadCodepoints,
|
1012
|
+
:GetCodepointCount,
|
1013
|
+
:GetCodepoint,
|
1014
|
+
:CodepointToUTF8,
|
1015
|
+
:TextCodepointsToUTF8,
|
1016
|
+
:TextCopy,
|
1017
|
+
:TextIsEqual,
|
1018
|
+
:TextLength,
|
1019
|
+
:TextFormat,
|
1020
|
+
:TextSubtext,
|
1021
|
+
:TextReplace,
|
1022
|
+
:TextInsert,
|
1023
|
+
:TextJoin,
|
1024
|
+
:TextSplit,
|
1025
|
+
:TextAppend,
|
1026
|
+
:TextFindIndex,
|
1027
|
+
:TextToUpper,
|
1028
|
+
:TextToLower,
|
1029
|
+
:TextToPascal,
|
1030
|
+
:TextToInteger,
|
1031
|
+
:DrawLine3D,
|
1032
|
+
:DrawPoint3D,
|
1033
|
+
:DrawCircle3D,
|
1034
|
+
:DrawTriangle3D,
|
1035
|
+
:DrawTriangleStrip3D,
|
1036
|
+
:DrawCube,
|
1037
|
+
:DrawCubeV,
|
1038
|
+
:DrawCubeWires,
|
1039
|
+
:DrawCubeWiresV,
|
1040
|
+
:DrawCubeTexture,
|
1041
|
+
:DrawCubeTextureRec,
|
1042
|
+
:DrawSphere,
|
1043
|
+
:DrawSphereEx,
|
1044
|
+
:DrawSphereWires,
|
1045
|
+
:DrawCylinder,
|
1046
|
+
:DrawCylinderEx,
|
1047
|
+
:DrawCylinderWires,
|
1048
|
+
:DrawCylinderWiresEx,
|
1049
|
+
:DrawPlane,
|
1050
|
+
:DrawRay,
|
1051
|
+
:DrawGrid,
|
1052
|
+
:LoadModel,
|
1053
|
+
:LoadModelFromMesh,
|
1054
|
+
:UnloadModel,
|
1055
|
+
:UnloadModelKeepMeshes,
|
1056
|
+
:GetModelBoundingBox,
|
1057
|
+
:DrawModel,
|
1058
|
+
:DrawModelEx,
|
1059
|
+
:DrawModelWires,
|
1060
|
+
:DrawModelWiresEx,
|
1061
|
+
:DrawBoundingBox,
|
1062
|
+
:DrawBillboard,
|
1063
|
+
:DrawBillboardRec,
|
1064
|
+
:DrawBillboardPro,
|
1065
|
+
:UploadMesh,
|
1066
|
+
:UpdateMeshBuffer,
|
1067
|
+
:UnloadMesh,
|
1068
|
+
:DrawMesh,
|
1069
|
+
:DrawMeshInstanced,
|
1070
|
+
:ExportMesh,
|
1071
|
+
:GetMeshBoundingBox,
|
1072
|
+
:GenMeshTangents,
|
1073
|
+
:GenMeshBinormals,
|
1074
|
+
:GenMeshPoly,
|
1075
|
+
:GenMeshPlane,
|
1076
|
+
:GenMeshCube,
|
1077
|
+
:GenMeshSphere,
|
1078
|
+
:GenMeshHemiSphere,
|
1079
|
+
:GenMeshCylinder,
|
1080
|
+
:GenMeshCone,
|
1081
|
+
:GenMeshTorus,
|
1082
|
+
:GenMeshKnot,
|
1083
|
+
:GenMeshHeightmap,
|
1084
|
+
:GenMeshCubicmap,
|
1085
|
+
:LoadMaterials,
|
1086
|
+
:LoadMaterialDefault,
|
1087
|
+
:UnloadMaterial,
|
1088
|
+
:SetMaterialTexture,
|
1089
|
+
:SetModelMeshMaterial,
|
1090
|
+
:LoadModelAnimations,
|
1091
|
+
:UpdateModelAnimation,
|
1092
|
+
:UnloadModelAnimation,
|
1093
|
+
:UnloadModelAnimations,
|
1094
|
+
:IsModelAnimationValid,
|
1095
|
+
:CheckCollisionSpheres,
|
1096
|
+
:CheckCollisionBoxes,
|
1097
|
+
:CheckCollisionBoxSphere,
|
1098
|
+
:GetRayCollisionSphere,
|
1099
|
+
:GetRayCollisionBox,
|
1100
|
+
:GetRayCollisionModel,
|
1101
|
+
:GetRayCollisionMesh,
|
1102
|
+
:GetRayCollisionTriangle,
|
1103
|
+
:GetRayCollisionQuad,
|
1104
|
+
:InitAudioDevice,
|
1105
|
+
:CloseAudioDevice,
|
1106
|
+
:IsAudioDeviceReady,
|
1107
|
+
:SetMasterVolume,
|
1108
|
+
:LoadWave,
|
1109
|
+
:LoadWaveFromMemory,
|
1110
|
+
:LoadSound,
|
1111
|
+
:LoadSoundFromWave,
|
1112
|
+
:UpdateSound,
|
1113
|
+
:UnloadWave,
|
1114
|
+
:UnloadSound,
|
1115
|
+
:ExportWave,
|
1116
|
+
:ExportWaveAsCode,
|
1117
|
+
:PlaySound,
|
1118
|
+
:StopSound,
|
1119
|
+
:PauseSound,
|
1120
|
+
:ResumeSound,
|
1121
|
+
:PlaySoundMulti,
|
1122
|
+
:StopSoundMulti,
|
1123
|
+
:GetSoundsPlaying,
|
1124
|
+
:IsSoundPlaying,
|
1125
|
+
:SetSoundVolume,
|
1126
|
+
:SetSoundPitch,
|
1127
|
+
:WaveFormat,
|
1128
|
+
:WaveCopy,
|
1129
|
+
:WaveCrop,
|
1130
|
+
:LoadWaveSamples,
|
1131
|
+
:UnloadWaveSamples,
|
1132
|
+
:LoadMusicStream,
|
1133
|
+
:LoadMusicStreamFromMemory,
|
1134
|
+
:UnloadMusicStream,
|
1135
|
+
:PlayMusicStream,
|
1136
|
+
:IsMusicStreamPlaying,
|
1137
|
+
:UpdateMusicStream,
|
1138
|
+
:StopMusicStream,
|
1139
|
+
:PauseMusicStream,
|
1140
|
+
:ResumeMusicStream,
|
1141
|
+
:SeekMusicStream,
|
1142
|
+
:SetMusicVolume,
|
1143
|
+
:SetMusicPitch,
|
1144
|
+
:GetMusicTimeLength,
|
1145
|
+
:GetMusicTimePlayed,
|
1146
|
+
:LoadAudioStream,
|
1147
|
+
:UnloadAudioStream,
|
1148
|
+
:UpdateAudioStream,
|
1149
|
+
:IsAudioStreamProcessed,
|
1150
|
+
:PlayAudioStream,
|
1151
|
+
:PauseAudioStream,
|
1152
|
+
:ResumeAudioStream,
|
1153
|
+
:IsAudioStreamPlaying,
|
1154
|
+
:StopAudioStream,
|
1155
|
+
:SetAudioStreamVolume,
|
1156
|
+
:SetAudioStreamPitch,
|
1157
|
+
:SetAudioStreamBufferSizeDefault,
|
1158
|
+
]
|
1159
|
+
args = {
|
1160
|
+
:InitWindow => [:int, :int, :pointer],
|
1161
|
+
:WindowShouldClose => [],
|
1162
|
+
:CloseWindow => [],
|
1163
|
+
:IsWindowReady => [],
|
1164
|
+
:IsWindowFullscreen => [],
|
1165
|
+
:IsWindowHidden => [],
|
1166
|
+
:IsWindowMinimized => [],
|
1167
|
+
:IsWindowMaximized => [],
|
1168
|
+
:IsWindowFocused => [],
|
1169
|
+
:IsWindowResized => [],
|
1170
|
+
:IsWindowState => [:uint],
|
1171
|
+
:SetWindowState => [:uint],
|
1172
|
+
:ClearWindowState => [:uint],
|
1173
|
+
:ToggleFullscreen => [],
|
1174
|
+
:MaximizeWindow => [],
|
1175
|
+
:MinimizeWindow => [],
|
1176
|
+
:RestoreWindow => [],
|
1177
|
+
:SetWindowIcon => [Image.by_value],
|
1178
|
+
:SetWindowTitle => [:pointer],
|
1179
|
+
:SetWindowPosition => [:int, :int],
|
1180
|
+
:SetWindowMonitor => [:int],
|
1181
|
+
:SetWindowMinSize => [:int, :int],
|
1182
|
+
:SetWindowSize => [:int, :int],
|
1183
|
+
:SetWindowOpacity => [:float],
|
1184
|
+
:GetWindowHandle => [],
|
1185
|
+
:GetScreenWidth => [],
|
1186
|
+
:GetScreenHeight => [],
|
1187
|
+
:GetRenderWidth => [],
|
1188
|
+
:GetRenderHeight => [],
|
1189
|
+
:GetMonitorCount => [],
|
1190
|
+
:GetCurrentMonitor => [],
|
1191
|
+
:GetMonitorPosition => [:int],
|
1192
|
+
:GetMonitorWidth => [:int],
|
1193
|
+
:GetMonitorHeight => [:int],
|
1194
|
+
:GetMonitorPhysicalWidth => [:int],
|
1195
|
+
:GetMonitorPhysicalHeight => [:int],
|
1196
|
+
:GetMonitorRefreshRate => [:int],
|
1197
|
+
:GetWindowPosition => [],
|
1198
|
+
:GetWindowScaleDPI => [],
|
1199
|
+
:GetMonitorName => [:int],
|
1200
|
+
:SetClipboardText => [:pointer],
|
1201
|
+
:GetClipboardText => [],
|
1202
|
+
:SwapScreenBuffer => [],
|
1203
|
+
:PollInputEvents => [],
|
1204
|
+
:WaitTime => [:float],
|
1205
|
+
:ShowCursor => [],
|
1206
|
+
:HideCursor => [],
|
1207
|
+
:IsCursorHidden => [],
|
1208
|
+
:EnableCursor => [],
|
1209
|
+
:DisableCursor => [],
|
1210
|
+
:IsCursorOnScreen => [],
|
1211
|
+
:ClearBackground => [Color.by_value],
|
1212
|
+
:BeginDrawing => [],
|
1213
|
+
:EndDrawing => [],
|
1214
|
+
:BeginMode2D => [Camera2D.by_value],
|
1215
|
+
:EndMode2D => [],
|
1216
|
+
:BeginMode3D => [Camera3D.by_value],
|
1217
|
+
:EndMode3D => [],
|
1218
|
+
:BeginTextureMode => [RenderTexture2D.by_value],
|
1219
|
+
:EndTextureMode => [],
|
1220
|
+
:BeginShaderMode => [Shader.by_value],
|
1221
|
+
:EndShaderMode => [],
|
1222
|
+
:BeginBlendMode => [:int],
|
1223
|
+
:EndBlendMode => [],
|
1224
|
+
:BeginScissorMode => [:int, :int, :int, :int],
|
1225
|
+
:EndScissorMode => [],
|
1226
|
+
:BeginVrStereoMode => [VrStereoConfig.by_value],
|
1227
|
+
:EndVrStereoMode => [],
|
1228
|
+
:LoadVrStereoConfig => [VrDeviceInfo.by_value],
|
1229
|
+
:UnloadVrStereoConfig => [VrStereoConfig.by_value],
|
1230
|
+
:LoadShader => [:pointer, :pointer],
|
1231
|
+
:LoadShaderFromMemory => [:pointer, :pointer],
|
1232
|
+
:GetShaderLocation => [Shader.by_value, :pointer],
|
1233
|
+
:GetShaderLocationAttrib => [Shader.by_value, :pointer],
|
1234
|
+
:SetShaderValue => [Shader.by_value, :int, :pointer, :int],
|
1235
|
+
:SetShaderValueV => [Shader.by_value, :int, :pointer, :int, :int],
|
1236
|
+
:SetShaderValueMatrix => [Shader.by_value, :int, Matrix.by_value],
|
1237
|
+
:SetShaderValueTexture => [Shader.by_value, :int, Texture2D.by_value],
|
1238
|
+
:UnloadShader => [Shader.by_value],
|
1239
|
+
:GetMouseRay => [Vector2.by_value, Camera.by_value],
|
1240
|
+
:GetCameraMatrix => [Camera.by_value],
|
1241
|
+
:GetCameraMatrix2D => [Camera2D.by_value],
|
1242
|
+
:GetWorldToScreen => [Vector3.by_value, Camera.by_value],
|
1243
|
+
:GetWorldToScreenEx => [Vector3.by_value, Camera.by_value, :int, :int],
|
1244
|
+
:GetWorldToScreen2D => [Vector2.by_value, Camera2D.by_value],
|
1245
|
+
:GetScreenToWorld2D => [Vector2.by_value, Camera2D.by_value],
|
1246
|
+
:SetTargetFPS => [:int],
|
1247
|
+
:GetFPS => [],
|
1248
|
+
:GetFrameTime => [],
|
1249
|
+
:GetTime => [],
|
1250
|
+
:GetRandomValue => [:int, :int],
|
1251
|
+
:SetRandomSeed => [:uint],
|
1252
|
+
:TakeScreenshot => [:pointer],
|
1253
|
+
:SetConfigFlags => [:uint],
|
1254
|
+
:TraceLog => [:int, :pointer, :varargs],
|
1255
|
+
:SetTraceLogLevel => [:int],
|
1256
|
+
:MemAlloc => [:int],
|
1257
|
+
:MemRealloc => [:pointer, :int],
|
1258
|
+
:MemFree => [:pointer],
|
1259
|
+
:SetTraceLogCallback => [:TraceLogCallback],
|
1260
|
+
:SetLoadFileDataCallback => [:LoadFileDataCallback],
|
1261
|
+
:SetSaveFileDataCallback => [:SaveFileDataCallback],
|
1262
|
+
:SetLoadFileTextCallback => [:LoadFileTextCallback],
|
1263
|
+
:SetSaveFileTextCallback => [:SaveFileTextCallback],
|
1264
|
+
:LoadFileData => [:pointer, :pointer],
|
1265
|
+
:UnloadFileData => [:pointer],
|
1266
|
+
:SaveFileData => [:pointer, :pointer, :uint],
|
1267
|
+
:LoadFileText => [:pointer],
|
1268
|
+
:UnloadFileText => [:pointer],
|
1269
|
+
:SaveFileText => [:pointer, :pointer],
|
1270
|
+
:FileExists => [:pointer],
|
1271
|
+
:DirectoryExists => [:pointer],
|
1272
|
+
:IsFileExtension => [:pointer, :pointer],
|
1273
|
+
:GetFileExtension => [:pointer],
|
1274
|
+
:GetFileName => [:pointer],
|
1275
|
+
:GetFileNameWithoutExt => [:pointer],
|
1276
|
+
:GetDirectoryPath => [:pointer],
|
1277
|
+
:GetPrevDirectoryPath => [:pointer],
|
1278
|
+
:GetWorkingDirectory => [],
|
1279
|
+
:GetApplicationDirectory => [],
|
1280
|
+
:GetDirectoryFiles => [:pointer, :pointer],
|
1281
|
+
:ClearDirectoryFiles => [],
|
1282
|
+
:ChangeDirectory => [:pointer],
|
1283
|
+
:IsFileDropped => [],
|
1284
|
+
:GetDroppedFiles => [:pointer],
|
1285
|
+
:ClearDroppedFiles => [],
|
1286
|
+
:GetFileModTime => [:pointer],
|
1287
|
+
:CompressData => [:pointer, :int, :pointer],
|
1288
|
+
:DecompressData => [:pointer, :int, :pointer],
|
1289
|
+
:EncodeDataBase64 => [:pointer, :int, :pointer],
|
1290
|
+
:DecodeDataBase64 => [:pointer, :pointer],
|
1291
|
+
:SaveStorageValue => [:uint, :int],
|
1292
|
+
:LoadStorageValue => [:uint],
|
1293
|
+
:OpenURL => [:pointer],
|
1294
|
+
:IsKeyPressed => [:int],
|
1295
|
+
:IsKeyDown => [:int],
|
1296
|
+
:IsKeyReleased => [:int],
|
1297
|
+
:IsKeyUp => [:int],
|
1298
|
+
:SetExitKey => [:int],
|
1299
|
+
:GetKeyPressed => [],
|
1300
|
+
:GetCharPressed => [],
|
1301
|
+
:IsGamepadAvailable => [:int],
|
1302
|
+
:GetGamepadName => [:int],
|
1303
|
+
:IsGamepadButtonPressed => [:int, :int],
|
1304
|
+
:IsGamepadButtonDown => [:int, :int],
|
1305
|
+
:IsGamepadButtonReleased => [:int, :int],
|
1306
|
+
:IsGamepadButtonUp => [:int, :int],
|
1307
|
+
:GetGamepadButtonPressed => [],
|
1308
|
+
:GetGamepadAxisCount => [:int],
|
1309
|
+
:GetGamepadAxisMovement => [:int, :int],
|
1310
|
+
:SetGamepadMappings => [:pointer],
|
1311
|
+
:IsMouseButtonPressed => [:int],
|
1312
|
+
:IsMouseButtonDown => [:int],
|
1313
|
+
:IsMouseButtonReleased => [:int],
|
1314
|
+
:IsMouseButtonUp => [:int],
|
1315
|
+
:GetMouseX => [],
|
1316
|
+
:GetMouseY => [],
|
1317
|
+
:GetMousePosition => [],
|
1318
|
+
:GetMouseDelta => [],
|
1319
|
+
:SetMousePosition => [:int, :int],
|
1320
|
+
:SetMouseOffset => [:int, :int],
|
1321
|
+
:SetMouseScale => [:float, :float],
|
1322
|
+
:GetMouseWheelMove => [],
|
1323
|
+
:SetMouseCursor => [:int],
|
1324
|
+
:GetTouchX => [],
|
1325
|
+
:GetTouchY => [],
|
1326
|
+
:GetTouchPosition => [:int],
|
1327
|
+
:GetTouchPointId => [:int],
|
1328
|
+
:GetTouchPointCount => [],
|
1329
|
+
:SetGesturesEnabled => [:uint],
|
1330
|
+
:IsGestureDetected => [:int],
|
1331
|
+
:GetGestureDetected => [],
|
1332
|
+
:GetGestureHoldDuration => [],
|
1333
|
+
:GetGestureDragVector => [],
|
1334
|
+
:GetGestureDragAngle => [],
|
1335
|
+
:GetGesturePinchVector => [],
|
1336
|
+
:GetGesturePinchAngle => [],
|
1337
|
+
:SetCameraMode => [Camera.by_value, :int],
|
1338
|
+
:UpdateCamera => [:pointer],
|
1339
|
+
:SetCameraPanControl => [:int],
|
1340
|
+
:SetCameraAltControl => [:int],
|
1341
|
+
:SetCameraSmoothZoomControl => [:int],
|
1342
|
+
:SetCameraMoveControls => [:int, :int, :int, :int, :int, :int],
|
1343
|
+
:SetShapesTexture => [Texture2D.by_value, Rectangle.by_value],
|
1344
|
+
:DrawPixel => [:int, :int, Color.by_value],
|
1345
|
+
:DrawPixelV => [Vector2.by_value, Color.by_value],
|
1346
|
+
:DrawLine => [:int, :int, :int, :int, Color.by_value],
|
1347
|
+
:DrawLineV => [Vector2.by_value, Vector2.by_value, Color.by_value],
|
1348
|
+
:DrawLineEx => [Vector2.by_value, Vector2.by_value, :float, Color.by_value],
|
1349
|
+
:DrawLineBezier => [Vector2.by_value, Vector2.by_value, :float, Color.by_value],
|
1350
|
+
:DrawLineBezierQuad => [Vector2.by_value, Vector2.by_value, Vector2.by_value, :float, Color.by_value],
|
1351
|
+
:DrawLineBezierCubic => [Vector2.by_value, Vector2.by_value, Vector2.by_value, Vector2.by_value, :float, Color.by_value],
|
1352
|
+
:DrawLineStrip => [:pointer, :int, Color.by_value],
|
1353
|
+
:DrawCircle => [:int, :int, :float, Color.by_value],
|
1354
|
+
:DrawCircleSector => [Vector2.by_value, :float, :float, :float, :int, Color.by_value],
|
1355
|
+
:DrawCircleSectorLines => [Vector2.by_value, :float, :float, :float, :int, Color.by_value],
|
1356
|
+
:DrawCircleGradient => [:int, :int, :float, Color.by_value, Color.by_value],
|
1357
|
+
:DrawCircleV => [Vector2.by_value, :float, Color.by_value],
|
1358
|
+
:DrawCircleLines => [:int, :int, :float, Color.by_value],
|
1359
|
+
:DrawEllipse => [:int, :int, :float, :float, Color.by_value],
|
1360
|
+
:DrawEllipseLines => [:int, :int, :float, :float, Color.by_value],
|
1361
|
+
:DrawRing => [Vector2.by_value, :float, :float, :float, :float, :int, Color.by_value],
|
1362
|
+
:DrawRingLines => [Vector2.by_value, :float, :float, :float, :float, :int, Color.by_value],
|
1363
|
+
:DrawRectangle => [:int, :int, :int, :int, Color.by_value],
|
1364
|
+
:DrawRectangleV => [Vector2.by_value, Vector2.by_value, Color.by_value],
|
1365
|
+
:DrawRectangleRec => [Rectangle.by_value, Color.by_value],
|
1366
|
+
:DrawRectanglePro => [Rectangle.by_value, Vector2.by_value, :float, Color.by_value],
|
1367
|
+
:DrawRectangleGradientV => [:int, :int, :int, :int, Color.by_value, Color.by_value],
|
1368
|
+
:DrawRectangleGradientH => [:int, :int, :int, :int, Color.by_value, Color.by_value],
|
1369
|
+
:DrawRectangleGradientEx => [Rectangle.by_value, Color.by_value, Color.by_value, Color.by_value, Color.by_value],
|
1370
|
+
:DrawRectangleLines => [:int, :int, :int, :int, Color.by_value],
|
1371
|
+
:DrawRectangleLinesEx => [Rectangle.by_value, :float, Color.by_value],
|
1372
|
+
:DrawRectangleRounded => [Rectangle.by_value, :float, :int, Color.by_value],
|
1373
|
+
:DrawRectangleRoundedLines => [Rectangle.by_value, :float, :int, :float, Color.by_value],
|
1374
|
+
:DrawTriangle => [Vector2.by_value, Vector2.by_value, Vector2.by_value, Color.by_value],
|
1375
|
+
:DrawTriangleLines => [Vector2.by_value, Vector2.by_value, Vector2.by_value, Color.by_value],
|
1376
|
+
:DrawTriangleFan => [:pointer, :int, Color.by_value],
|
1377
|
+
:DrawTriangleStrip => [:pointer, :int, Color.by_value],
|
1378
|
+
:DrawPoly => [Vector2.by_value, :int, :float, :float, Color.by_value],
|
1379
|
+
:DrawPolyLines => [Vector2.by_value, :int, :float, :float, Color.by_value],
|
1380
|
+
:DrawPolyLinesEx => [Vector2.by_value, :int, :float, :float, :float, Color.by_value],
|
1381
|
+
:CheckCollisionRecs => [Rectangle.by_value, Rectangle.by_value],
|
1382
|
+
:CheckCollisionCircles => [Vector2.by_value, :float, Vector2.by_value, :float],
|
1383
|
+
:CheckCollisionCircleRec => [Vector2.by_value, :float, Rectangle.by_value],
|
1384
|
+
:CheckCollisionPointRec => [Vector2.by_value, Rectangle.by_value],
|
1385
|
+
:CheckCollisionPointCircle => [Vector2.by_value, Vector2.by_value, :float],
|
1386
|
+
:CheckCollisionPointTriangle => [Vector2.by_value, Vector2.by_value, Vector2.by_value, Vector2.by_value],
|
1387
|
+
:CheckCollisionLines => [Vector2.by_value, Vector2.by_value, Vector2.by_value, Vector2.by_value, :pointer],
|
1388
|
+
:CheckCollisionPointLine => [Vector2.by_value, Vector2.by_value, Vector2.by_value, :int],
|
1389
|
+
:GetCollisionRec => [Rectangle.by_value, Rectangle.by_value],
|
1390
|
+
:LoadImage => [:pointer],
|
1391
|
+
:LoadImageRaw => [:pointer, :int, :int, :int, :int],
|
1392
|
+
:LoadImageAnim => [:pointer, :pointer],
|
1393
|
+
:LoadImageFromMemory => [:pointer, :pointer, :int],
|
1394
|
+
:LoadImageFromTexture => [Texture2D.by_value],
|
1395
|
+
:LoadImageFromScreen => [],
|
1396
|
+
:UnloadImage => [Image.by_value],
|
1397
|
+
:ExportImage => [Image.by_value, :pointer],
|
1398
|
+
:ExportImageAsCode => [Image.by_value, :pointer],
|
1399
|
+
:GenImageColor => [:int, :int, Color.by_value],
|
1400
|
+
:GenImageGradientV => [:int, :int, Color.by_value, Color.by_value],
|
1401
|
+
:GenImageGradientH => [:int, :int, Color.by_value, Color.by_value],
|
1402
|
+
:GenImageGradientRadial => [:int, :int, :float, Color.by_value, Color.by_value],
|
1403
|
+
:GenImageChecked => [:int, :int, :int, :int, Color.by_value, Color.by_value],
|
1404
|
+
:GenImageWhiteNoise => [:int, :int, :float],
|
1405
|
+
:GenImageCellular => [:int, :int, :int],
|
1406
|
+
:ImageCopy => [Image.by_value],
|
1407
|
+
:ImageFromImage => [Image.by_value, Rectangle.by_value],
|
1408
|
+
:ImageText => [:pointer, :int, Color.by_value],
|
1409
|
+
:ImageTextEx => [Font.by_value, :pointer, :float, :float, Color.by_value],
|
1410
|
+
:ImageFormat => [:pointer, :int],
|
1411
|
+
:ImageToPOT => [:pointer, Color.by_value],
|
1412
|
+
:ImageCrop => [:pointer, Rectangle.by_value],
|
1413
|
+
:ImageAlphaCrop => [:pointer, :float],
|
1414
|
+
:ImageAlphaClear => [:pointer, Color.by_value, :float],
|
1415
|
+
:ImageAlphaMask => [:pointer, Image.by_value],
|
1416
|
+
:ImageAlphaPremultiply => [:pointer],
|
1417
|
+
:ImageResize => [:pointer, :int, :int],
|
1418
|
+
:ImageResizeNN => [:pointer, :int, :int],
|
1419
|
+
:ImageResizeCanvas => [:pointer, :int, :int, :int, :int, Color.by_value],
|
1420
|
+
:ImageMipmaps => [:pointer],
|
1421
|
+
:ImageDither => [:pointer, :int, :int, :int, :int],
|
1422
|
+
:ImageFlipVertical => [:pointer],
|
1423
|
+
:ImageFlipHorizontal => [:pointer],
|
1424
|
+
:ImageRotateCW => [:pointer],
|
1425
|
+
:ImageRotateCCW => [:pointer],
|
1426
|
+
:ImageColorTint => [:pointer, Color.by_value],
|
1427
|
+
:ImageColorInvert => [:pointer],
|
1428
|
+
:ImageColorGrayscale => [:pointer],
|
1429
|
+
:ImageColorContrast => [:pointer, :float],
|
1430
|
+
:ImageColorBrightness => [:pointer, :int],
|
1431
|
+
:ImageColorReplace => [:pointer, Color.by_value, Color.by_value],
|
1432
|
+
:LoadImageColors => [Image.by_value],
|
1433
|
+
:LoadImagePalette => [Image.by_value, :int, :pointer],
|
1434
|
+
:UnloadImageColors => [:pointer],
|
1435
|
+
:UnloadImagePalette => [:pointer],
|
1436
|
+
:GetImageAlphaBorder => [Image.by_value, :float],
|
1437
|
+
:GetImageColor => [Image.by_value, :int, :int],
|
1438
|
+
:ImageClearBackground => [:pointer, Color.by_value],
|
1439
|
+
:ImageDrawPixel => [:pointer, :int, :int, Color.by_value],
|
1440
|
+
:ImageDrawPixelV => [:pointer, Vector2.by_value, Color.by_value],
|
1441
|
+
:ImageDrawLine => [:pointer, :int, :int, :int, :int, Color.by_value],
|
1442
|
+
:ImageDrawLineV => [:pointer, Vector2.by_value, Vector2.by_value, Color.by_value],
|
1443
|
+
:ImageDrawCircle => [:pointer, :int, :int, :int, Color.by_value],
|
1444
|
+
:ImageDrawCircleV => [:pointer, Vector2.by_value, :int, Color.by_value],
|
1445
|
+
:ImageDrawRectangle => [:pointer, :int, :int, :int, :int, Color.by_value],
|
1446
|
+
:ImageDrawRectangleV => [:pointer, Vector2.by_value, Vector2.by_value, Color.by_value],
|
1447
|
+
:ImageDrawRectangleRec => [:pointer, Rectangle.by_value, Color.by_value],
|
1448
|
+
:ImageDrawRectangleLines => [:pointer, Rectangle.by_value, :int, Color.by_value],
|
1449
|
+
:ImageDraw => [:pointer, Image.by_value, Rectangle.by_value, Rectangle.by_value, Color.by_value],
|
1450
|
+
:ImageDrawText => [:pointer, :pointer, :int, :int, :int, Color.by_value],
|
1451
|
+
:ImageDrawTextEx => [:pointer, Font.by_value, :pointer, Vector2.by_value, :float, :float, Color.by_value],
|
1452
|
+
:LoadTexture => [:pointer],
|
1453
|
+
:LoadTextureFromImage => [Image.by_value],
|
1454
|
+
:LoadTextureCubemap => [Image.by_value, :int],
|
1455
|
+
:LoadRenderTexture => [:int, :int],
|
1456
|
+
:UnloadTexture => [Texture2D.by_value],
|
1457
|
+
:UnloadRenderTexture => [RenderTexture2D.by_value],
|
1458
|
+
:UpdateTexture => [Texture2D.by_value, :pointer],
|
1459
|
+
:UpdateTextureRec => [Texture2D.by_value, Rectangle.by_value, :pointer],
|
1460
|
+
:GenTextureMipmaps => [:pointer],
|
1461
|
+
:SetTextureFilter => [Texture2D.by_value, :int],
|
1462
|
+
:SetTextureWrap => [Texture2D.by_value, :int],
|
1463
|
+
:DrawTexture => [Texture2D.by_value, :int, :int, Color.by_value],
|
1464
|
+
:DrawTextureV => [Texture2D.by_value, Vector2.by_value, Color.by_value],
|
1465
|
+
:DrawTextureEx => [Texture2D.by_value, Vector2.by_value, :float, :float, Color.by_value],
|
1466
|
+
:DrawTextureRec => [Texture2D.by_value, Rectangle.by_value, Vector2.by_value, Color.by_value],
|
1467
|
+
:DrawTextureQuad => [Texture2D.by_value, Vector2.by_value, Vector2.by_value, Rectangle.by_value, Color.by_value],
|
1468
|
+
:DrawTextureTiled => [Texture2D.by_value, Rectangle.by_value, Rectangle.by_value, Vector2.by_value, :float, :float, Color.by_value],
|
1469
|
+
:DrawTexturePro => [Texture2D.by_value, Rectangle.by_value, Rectangle.by_value, Vector2.by_value, :float, Color.by_value],
|
1470
|
+
:DrawTextureNPatch => [Texture2D.by_value, NPatchInfo.by_value, Rectangle.by_value, Vector2.by_value, :float, Color.by_value],
|
1471
|
+
:DrawTexturePoly => [Texture2D.by_value, Vector2.by_value, :pointer, :pointer, :int, Color.by_value],
|
1472
|
+
:Fade => [Color.by_value, :float],
|
1473
|
+
:ColorToInt => [Color.by_value],
|
1474
|
+
:ColorNormalize => [Color.by_value],
|
1475
|
+
:ColorFromNormalized => [Vector4.by_value],
|
1476
|
+
:ColorToHSV => [Color.by_value],
|
1477
|
+
:ColorFromHSV => [:float, :float, :float],
|
1478
|
+
:ColorAlpha => [Color.by_value, :float],
|
1479
|
+
:ColorAlphaBlend => [Color.by_value, Color.by_value, Color.by_value],
|
1480
|
+
:GetColor => [:uint],
|
1481
|
+
:GetPixelColor => [:pointer, :int],
|
1482
|
+
:SetPixelColor => [:pointer, Color.by_value, :int],
|
1483
|
+
:GetPixelDataSize => [:int, :int, :int],
|
1484
|
+
:GetFontDefault => [],
|
1485
|
+
:LoadFont => [:pointer],
|
1486
|
+
:LoadFontEx => [:pointer, :int, :pointer, :int],
|
1487
|
+
:LoadFontFromImage => [Image.by_value, Color.by_value, :int],
|
1488
|
+
:LoadFontFromMemory => [:pointer, :pointer, :int, :int, :pointer, :int],
|
1489
|
+
:LoadFontData => [:pointer, :int, :int, :pointer, :int, :int],
|
1490
|
+
:GenImageFontAtlas => [:pointer, :pointer, :int, :int, :int, :int],
|
1491
|
+
:UnloadFontData => [:pointer, :int],
|
1492
|
+
:UnloadFont => [Font.by_value],
|
1493
|
+
:ExportFontAsCode => [Font.by_value, :pointer],
|
1494
|
+
:DrawFPS => [:int, :int],
|
1495
|
+
:DrawText => [:pointer, :int, :int, :int, Color.by_value],
|
1496
|
+
:DrawTextEx => [Font.by_value, :pointer, Vector2.by_value, :float, :float, Color.by_value],
|
1497
|
+
:DrawTextPro => [Font.by_value, :pointer, Vector2.by_value, Vector2.by_value, :float, :float, :float, Color.by_value],
|
1498
|
+
:DrawTextCodepoint => [Font.by_value, :int, Vector2.by_value, :float, Color.by_value],
|
1499
|
+
:MeasureText => [:pointer, :int],
|
1500
|
+
:MeasureTextEx => [Font.by_value, :pointer, :float, :float],
|
1501
|
+
:GetGlyphIndex => [Font.by_value, :int],
|
1502
|
+
:GetGlyphInfo => [Font.by_value, :int],
|
1503
|
+
:GetGlyphAtlasRec => [Font.by_value, :int],
|
1504
|
+
:LoadCodepoints => [:pointer, :pointer],
|
1505
|
+
:UnloadCodepoints => [:pointer],
|
1506
|
+
:GetCodepointCount => [:pointer],
|
1507
|
+
:GetCodepoint => [:pointer, :pointer],
|
1508
|
+
:CodepointToUTF8 => [:int, :pointer],
|
1509
|
+
:TextCodepointsToUTF8 => [:pointer, :int],
|
1510
|
+
:TextCopy => [:pointer, :pointer],
|
1511
|
+
:TextIsEqual => [:pointer, :pointer],
|
1512
|
+
:TextLength => [:pointer],
|
1513
|
+
:TextFormat => [:pointer, :varargs],
|
1514
|
+
:TextSubtext => [:pointer, :int, :int],
|
1515
|
+
:TextReplace => [:pointer, :pointer, :pointer],
|
1516
|
+
:TextInsert => [:pointer, :pointer, :int],
|
1517
|
+
:TextJoin => [:pointer, :int, :pointer],
|
1518
|
+
:TextSplit => [:pointer, :char, :pointer],
|
1519
|
+
:TextAppend => [:pointer, :pointer, :pointer],
|
1520
|
+
:TextFindIndex => [:pointer, :pointer],
|
1521
|
+
:TextToUpper => [:pointer],
|
1522
|
+
:TextToLower => [:pointer],
|
1523
|
+
:TextToPascal => [:pointer],
|
1524
|
+
:TextToInteger => [:pointer],
|
1525
|
+
:DrawLine3D => [Vector3.by_value, Vector3.by_value, Color.by_value],
|
1526
|
+
:DrawPoint3D => [Vector3.by_value, Color.by_value],
|
1527
|
+
:DrawCircle3D => [Vector3.by_value, :float, Vector3.by_value, :float, Color.by_value],
|
1528
|
+
:DrawTriangle3D => [Vector3.by_value, Vector3.by_value, Vector3.by_value, Color.by_value],
|
1529
|
+
:DrawTriangleStrip3D => [:pointer, :int, Color.by_value],
|
1530
|
+
:DrawCube => [Vector3.by_value, :float, :float, :float, Color.by_value],
|
1531
|
+
:DrawCubeV => [Vector3.by_value, Vector3.by_value, Color.by_value],
|
1532
|
+
:DrawCubeWires => [Vector3.by_value, :float, :float, :float, Color.by_value],
|
1533
|
+
:DrawCubeWiresV => [Vector3.by_value, Vector3.by_value, Color.by_value],
|
1534
|
+
:DrawCubeTexture => [Texture2D.by_value, Vector3.by_value, :float, :float, :float, Color.by_value],
|
1535
|
+
:DrawCubeTextureRec => [Texture2D.by_value, Rectangle.by_value, Vector3.by_value, :float, :float, :float, Color.by_value],
|
1536
|
+
:DrawSphere => [Vector3.by_value, :float, Color.by_value],
|
1537
|
+
:DrawSphereEx => [Vector3.by_value, :float, :int, :int, Color.by_value],
|
1538
|
+
:DrawSphereWires => [Vector3.by_value, :float, :int, :int, Color.by_value],
|
1539
|
+
:DrawCylinder => [Vector3.by_value, :float, :float, :float, :int, Color.by_value],
|
1540
|
+
:DrawCylinderEx => [Vector3.by_value, Vector3.by_value, :float, :float, :int, Color.by_value],
|
1541
|
+
:DrawCylinderWires => [Vector3.by_value, :float, :float, :float, :int, Color.by_value],
|
1542
|
+
:DrawCylinderWiresEx => [Vector3.by_value, Vector3.by_value, :float, :float, :int, Color.by_value],
|
1543
|
+
:DrawPlane => [Vector3.by_value, Vector2.by_value, Color.by_value],
|
1544
|
+
:DrawRay => [Ray.by_value, Color.by_value],
|
1545
|
+
:DrawGrid => [:int, :float],
|
1546
|
+
:LoadModel => [:pointer],
|
1547
|
+
:LoadModelFromMesh => [Mesh.by_value],
|
1548
|
+
:UnloadModel => [Model.by_value],
|
1549
|
+
:UnloadModelKeepMeshes => [Model.by_value],
|
1550
|
+
:GetModelBoundingBox => [Model.by_value],
|
1551
|
+
:DrawModel => [Model.by_value, Vector3.by_value, :float, Color.by_value],
|
1552
|
+
:DrawModelEx => [Model.by_value, Vector3.by_value, Vector3.by_value, :float, Vector3.by_value, Color.by_value],
|
1553
|
+
:DrawModelWires => [Model.by_value, Vector3.by_value, :float, Color.by_value],
|
1554
|
+
:DrawModelWiresEx => [Model.by_value, Vector3.by_value, Vector3.by_value, :float, Vector3.by_value, Color.by_value],
|
1555
|
+
:DrawBoundingBox => [BoundingBox.by_value, Color.by_value],
|
1556
|
+
:DrawBillboard => [Camera.by_value, Texture2D.by_value, Vector3.by_value, :float, Color.by_value],
|
1557
|
+
:DrawBillboardRec => [Camera.by_value, Texture2D.by_value, Rectangle.by_value, Vector3.by_value, Vector2.by_value, Color.by_value],
|
1558
|
+
:DrawBillboardPro => [Camera.by_value, Texture2D.by_value, Rectangle.by_value, Vector3.by_value, Vector3.by_value, Vector2.by_value, Vector2.by_value, :float, Color.by_value],
|
1559
|
+
:UploadMesh => [:pointer, :bool],
|
1560
|
+
:UpdateMeshBuffer => [Mesh.by_value, :int, :pointer, :int, :int],
|
1561
|
+
:UnloadMesh => [Mesh.by_value],
|
1562
|
+
:DrawMesh => [Mesh.by_value, Material.by_value, Matrix.by_value],
|
1563
|
+
:DrawMeshInstanced => [Mesh.by_value, Material.by_value, :pointer, :int],
|
1564
|
+
:ExportMesh => [Mesh.by_value, :pointer],
|
1565
|
+
:GetMeshBoundingBox => [Mesh.by_value],
|
1566
|
+
:GenMeshTangents => [:pointer],
|
1567
|
+
:GenMeshBinormals => [:pointer],
|
1568
|
+
:GenMeshPoly => [:int, :float],
|
1569
|
+
:GenMeshPlane => [:float, :float, :int, :int],
|
1570
|
+
:GenMeshCube => [:float, :float, :float],
|
1571
|
+
:GenMeshSphere => [:float, :int, :int],
|
1572
|
+
:GenMeshHemiSphere => [:float, :int, :int],
|
1573
|
+
:GenMeshCylinder => [:float, :float, :int],
|
1574
|
+
:GenMeshCone => [:float, :float, :int],
|
1575
|
+
:GenMeshTorus => [:float, :float, :int, :int],
|
1576
|
+
:GenMeshKnot => [:float, :float, :int, :int],
|
1577
|
+
:GenMeshHeightmap => [Image.by_value, Vector3.by_value],
|
1578
|
+
:GenMeshCubicmap => [Image.by_value, Vector3.by_value],
|
1579
|
+
:LoadMaterials => [:pointer, :pointer],
|
1580
|
+
:LoadMaterialDefault => [],
|
1581
|
+
:UnloadMaterial => [Material.by_value],
|
1582
|
+
:SetMaterialTexture => [:pointer, :int, Texture2D.by_value],
|
1583
|
+
:SetModelMeshMaterial => [:pointer, :int, :int],
|
1584
|
+
:LoadModelAnimations => [:pointer, :pointer],
|
1585
|
+
:UpdateModelAnimation => [Model.by_value, ModelAnimation.by_value, :int],
|
1586
|
+
:UnloadModelAnimation => [ModelAnimation.by_value],
|
1587
|
+
:UnloadModelAnimations => [:pointer, :uint],
|
1588
|
+
:IsModelAnimationValid => [Model.by_value, ModelAnimation.by_value],
|
1589
|
+
:CheckCollisionSpheres => [Vector3.by_value, :float, Vector3.by_value, :float],
|
1590
|
+
:CheckCollisionBoxes => [BoundingBox.by_value, BoundingBox.by_value],
|
1591
|
+
:CheckCollisionBoxSphere => [BoundingBox.by_value, Vector3.by_value, :float],
|
1592
|
+
:GetRayCollisionSphere => [Ray.by_value, Vector3.by_value, :float],
|
1593
|
+
:GetRayCollisionBox => [Ray.by_value, BoundingBox.by_value],
|
1594
|
+
:GetRayCollisionModel => [Ray.by_value, Model.by_value],
|
1595
|
+
:GetRayCollisionMesh => [Ray.by_value, Mesh.by_value, Matrix.by_value],
|
1596
|
+
:GetRayCollisionTriangle => [Ray.by_value, Vector3.by_value, Vector3.by_value, Vector3.by_value],
|
1597
|
+
:GetRayCollisionQuad => [Ray.by_value, Vector3.by_value, Vector3.by_value, Vector3.by_value, Vector3.by_value],
|
1598
|
+
:InitAudioDevice => [],
|
1599
|
+
:CloseAudioDevice => [],
|
1600
|
+
:IsAudioDeviceReady => [],
|
1601
|
+
:SetMasterVolume => [:float],
|
1602
|
+
:LoadWave => [:pointer],
|
1603
|
+
:LoadWaveFromMemory => [:pointer, :pointer, :int],
|
1604
|
+
:LoadSound => [:pointer],
|
1605
|
+
:LoadSoundFromWave => [Wave.by_value],
|
1606
|
+
:UpdateSound => [Sound.by_value, :pointer, :int],
|
1607
|
+
:UnloadWave => [Wave.by_value],
|
1608
|
+
:UnloadSound => [Sound.by_value],
|
1609
|
+
:ExportWave => [Wave.by_value, :pointer],
|
1610
|
+
:ExportWaveAsCode => [Wave.by_value, :pointer],
|
1611
|
+
:PlaySound => [Sound.by_value],
|
1612
|
+
:StopSound => [Sound.by_value],
|
1613
|
+
:PauseSound => [Sound.by_value],
|
1614
|
+
:ResumeSound => [Sound.by_value],
|
1615
|
+
:PlaySoundMulti => [Sound.by_value],
|
1616
|
+
:StopSoundMulti => [],
|
1617
|
+
:GetSoundsPlaying => [],
|
1618
|
+
:IsSoundPlaying => [Sound.by_value],
|
1619
|
+
:SetSoundVolume => [Sound.by_value, :float],
|
1620
|
+
:SetSoundPitch => [Sound.by_value, :float],
|
1621
|
+
:WaveFormat => [:pointer, :int, :int, :int],
|
1622
|
+
:WaveCopy => [Wave.by_value],
|
1623
|
+
:WaveCrop => [:pointer, :int, :int],
|
1624
|
+
:LoadWaveSamples => [Wave.by_value],
|
1625
|
+
:UnloadWaveSamples => [:pointer],
|
1626
|
+
:LoadMusicStream => [:pointer],
|
1627
|
+
:LoadMusicStreamFromMemory => [:pointer, :pointer, :int],
|
1628
|
+
:UnloadMusicStream => [Music.by_value],
|
1629
|
+
:PlayMusicStream => [Music.by_value],
|
1630
|
+
:IsMusicStreamPlaying => [Music.by_value],
|
1631
|
+
:UpdateMusicStream => [Music.by_value],
|
1632
|
+
:StopMusicStream => [Music.by_value],
|
1633
|
+
:PauseMusicStream => [Music.by_value],
|
1634
|
+
:ResumeMusicStream => [Music.by_value],
|
1635
|
+
:SeekMusicStream => [Music.by_value, :float],
|
1636
|
+
:SetMusicVolume => [Music.by_value, :float],
|
1637
|
+
:SetMusicPitch => [Music.by_value, :float],
|
1638
|
+
:GetMusicTimeLength => [Music.by_value],
|
1639
|
+
:GetMusicTimePlayed => [Music.by_value],
|
1640
|
+
:LoadAudioStream => [:uint, :uint, :uint],
|
1641
|
+
:UnloadAudioStream => [AudioStream.by_value],
|
1642
|
+
:UpdateAudioStream => [AudioStream.by_value, :pointer, :int],
|
1643
|
+
:IsAudioStreamProcessed => [AudioStream.by_value],
|
1644
|
+
:PlayAudioStream => [AudioStream.by_value],
|
1645
|
+
:PauseAudioStream => [AudioStream.by_value],
|
1646
|
+
:ResumeAudioStream => [AudioStream.by_value],
|
1647
|
+
:IsAudioStreamPlaying => [AudioStream.by_value],
|
1648
|
+
:StopAudioStream => [AudioStream.by_value],
|
1649
|
+
:SetAudioStreamVolume => [AudioStream.by_value, :float],
|
1650
|
+
:SetAudioStreamPitch => [AudioStream.by_value, :float],
|
1651
|
+
:SetAudioStreamBufferSizeDefault => [:int],
|
1652
|
+
}
|
1653
|
+
retvals = {
|
1654
|
+
:InitWindow => :void,
|
1655
|
+
:WindowShouldClose => :bool,
|
1656
|
+
:CloseWindow => :void,
|
1657
|
+
:IsWindowReady => :bool,
|
1658
|
+
:IsWindowFullscreen => :bool,
|
1659
|
+
:IsWindowHidden => :bool,
|
1660
|
+
:IsWindowMinimized => :bool,
|
1661
|
+
:IsWindowMaximized => :bool,
|
1662
|
+
:IsWindowFocused => :bool,
|
1663
|
+
:IsWindowResized => :bool,
|
1664
|
+
:IsWindowState => :bool,
|
1665
|
+
:SetWindowState => :void,
|
1666
|
+
:ClearWindowState => :void,
|
1667
|
+
:ToggleFullscreen => :void,
|
1668
|
+
:MaximizeWindow => :void,
|
1669
|
+
:MinimizeWindow => :void,
|
1670
|
+
:RestoreWindow => :void,
|
1671
|
+
:SetWindowIcon => :void,
|
1672
|
+
:SetWindowTitle => :void,
|
1673
|
+
:SetWindowPosition => :void,
|
1674
|
+
:SetWindowMonitor => :void,
|
1675
|
+
:SetWindowMinSize => :void,
|
1676
|
+
:SetWindowSize => :void,
|
1677
|
+
:SetWindowOpacity => :void,
|
1678
|
+
:GetWindowHandle => :pointer,
|
1679
|
+
:GetScreenWidth => :int,
|
1680
|
+
:GetScreenHeight => :int,
|
1681
|
+
:GetRenderWidth => :int,
|
1682
|
+
:GetRenderHeight => :int,
|
1683
|
+
:GetMonitorCount => :int,
|
1684
|
+
:GetCurrentMonitor => :int,
|
1685
|
+
:GetMonitorPosition => Vector2.by_value,
|
1686
|
+
:GetMonitorWidth => :int,
|
1687
|
+
:GetMonitorHeight => :int,
|
1688
|
+
:GetMonitorPhysicalWidth => :int,
|
1689
|
+
:GetMonitorPhysicalHeight => :int,
|
1690
|
+
:GetMonitorRefreshRate => :int,
|
1691
|
+
:GetWindowPosition => Vector2.by_value,
|
1692
|
+
:GetWindowScaleDPI => Vector2.by_value,
|
1693
|
+
:GetMonitorName => :pointer,
|
1694
|
+
:SetClipboardText => :void,
|
1695
|
+
:GetClipboardText => :pointer,
|
1696
|
+
:SwapScreenBuffer => :void,
|
1697
|
+
:PollInputEvents => :void,
|
1698
|
+
:WaitTime => :void,
|
1699
|
+
:ShowCursor => :void,
|
1700
|
+
:HideCursor => :void,
|
1701
|
+
:IsCursorHidden => :bool,
|
1702
|
+
:EnableCursor => :void,
|
1703
|
+
:DisableCursor => :void,
|
1704
|
+
:IsCursorOnScreen => :bool,
|
1705
|
+
:ClearBackground => :void,
|
1706
|
+
:BeginDrawing => :void,
|
1707
|
+
:EndDrawing => :void,
|
1708
|
+
:BeginMode2D => :void,
|
1709
|
+
:EndMode2D => :void,
|
1710
|
+
:BeginMode3D => :void,
|
1711
|
+
:EndMode3D => :void,
|
1712
|
+
:BeginTextureMode => :void,
|
1713
|
+
:EndTextureMode => :void,
|
1714
|
+
:BeginShaderMode => :void,
|
1715
|
+
:EndShaderMode => :void,
|
1716
|
+
:BeginBlendMode => :void,
|
1717
|
+
:EndBlendMode => :void,
|
1718
|
+
:BeginScissorMode => :void,
|
1719
|
+
:EndScissorMode => :void,
|
1720
|
+
:BeginVrStereoMode => :void,
|
1721
|
+
:EndVrStereoMode => :void,
|
1722
|
+
:LoadVrStereoConfig => VrStereoConfig.by_value,
|
1723
|
+
:UnloadVrStereoConfig => :void,
|
1724
|
+
:LoadShader => Shader.by_value,
|
1725
|
+
:LoadShaderFromMemory => Shader.by_value,
|
1726
|
+
:GetShaderLocation => :int,
|
1727
|
+
:GetShaderLocationAttrib => :int,
|
1728
|
+
:SetShaderValue => :void,
|
1729
|
+
:SetShaderValueV => :void,
|
1730
|
+
:SetShaderValueMatrix => :void,
|
1731
|
+
:SetShaderValueTexture => :void,
|
1732
|
+
:UnloadShader => :void,
|
1733
|
+
:GetMouseRay => Ray.by_value,
|
1734
|
+
:GetCameraMatrix => Matrix.by_value,
|
1735
|
+
:GetCameraMatrix2D => Matrix.by_value,
|
1736
|
+
:GetWorldToScreen => Vector2.by_value,
|
1737
|
+
:GetWorldToScreenEx => Vector2.by_value,
|
1738
|
+
:GetWorldToScreen2D => Vector2.by_value,
|
1739
|
+
:GetScreenToWorld2D => Vector2.by_value,
|
1740
|
+
:SetTargetFPS => :void,
|
1741
|
+
:GetFPS => :int,
|
1742
|
+
:GetFrameTime => :float,
|
1743
|
+
:GetTime => :double,
|
1744
|
+
:GetRandomValue => :int,
|
1745
|
+
:SetRandomSeed => :void,
|
1746
|
+
:TakeScreenshot => :void,
|
1747
|
+
:SetConfigFlags => :void,
|
1748
|
+
:TraceLog => :void,
|
1749
|
+
:SetTraceLogLevel => :void,
|
1750
|
+
:MemAlloc => :pointer,
|
1751
|
+
:MemRealloc => :pointer,
|
1752
|
+
:MemFree => :void,
|
1753
|
+
:SetTraceLogCallback => :void,
|
1754
|
+
:SetLoadFileDataCallback => :void,
|
1755
|
+
:SetSaveFileDataCallback => :void,
|
1756
|
+
:SetLoadFileTextCallback => :void,
|
1757
|
+
:SetSaveFileTextCallback => :void,
|
1758
|
+
:LoadFileData => :pointer,
|
1759
|
+
:UnloadFileData => :void,
|
1760
|
+
:SaveFileData => :bool,
|
1761
|
+
:LoadFileText => :pointer,
|
1762
|
+
:UnloadFileText => :void,
|
1763
|
+
:SaveFileText => :bool,
|
1764
|
+
:FileExists => :bool,
|
1765
|
+
:DirectoryExists => :bool,
|
1766
|
+
:IsFileExtension => :bool,
|
1767
|
+
:GetFileExtension => :pointer,
|
1768
|
+
:GetFileName => :pointer,
|
1769
|
+
:GetFileNameWithoutExt => :pointer,
|
1770
|
+
:GetDirectoryPath => :pointer,
|
1771
|
+
:GetPrevDirectoryPath => :pointer,
|
1772
|
+
:GetWorkingDirectory => :pointer,
|
1773
|
+
:GetApplicationDirectory => :pointer,
|
1774
|
+
:GetDirectoryFiles => :pointer,
|
1775
|
+
:ClearDirectoryFiles => :void,
|
1776
|
+
:ChangeDirectory => :bool,
|
1777
|
+
:IsFileDropped => :bool,
|
1778
|
+
:GetDroppedFiles => :pointer,
|
1779
|
+
:ClearDroppedFiles => :void,
|
1780
|
+
:GetFileModTime => :long,
|
1781
|
+
:CompressData => :pointer,
|
1782
|
+
:DecompressData => :pointer,
|
1783
|
+
:EncodeDataBase64 => :pointer,
|
1784
|
+
:DecodeDataBase64 => :pointer,
|
1785
|
+
:SaveStorageValue => :bool,
|
1786
|
+
:LoadStorageValue => :int,
|
1787
|
+
:OpenURL => :void,
|
1788
|
+
:IsKeyPressed => :bool,
|
1789
|
+
:IsKeyDown => :bool,
|
1790
|
+
:IsKeyReleased => :bool,
|
1791
|
+
:IsKeyUp => :bool,
|
1792
|
+
:SetExitKey => :void,
|
1793
|
+
:GetKeyPressed => :int,
|
1794
|
+
:GetCharPressed => :int,
|
1795
|
+
:IsGamepadAvailable => :bool,
|
1796
|
+
:GetGamepadName => :pointer,
|
1797
|
+
:IsGamepadButtonPressed => :bool,
|
1798
|
+
:IsGamepadButtonDown => :bool,
|
1799
|
+
:IsGamepadButtonReleased => :bool,
|
1800
|
+
:IsGamepadButtonUp => :bool,
|
1801
|
+
:GetGamepadButtonPressed => :int,
|
1802
|
+
:GetGamepadAxisCount => :int,
|
1803
|
+
:GetGamepadAxisMovement => :float,
|
1804
|
+
:SetGamepadMappings => :int,
|
1805
|
+
:IsMouseButtonPressed => :bool,
|
1806
|
+
:IsMouseButtonDown => :bool,
|
1807
|
+
:IsMouseButtonReleased => :bool,
|
1808
|
+
:IsMouseButtonUp => :bool,
|
1809
|
+
:GetMouseX => :int,
|
1810
|
+
:GetMouseY => :int,
|
1811
|
+
:GetMousePosition => Vector2.by_value,
|
1812
|
+
:GetMouseDelta => Vector2.by_value,
|
1813
|
+
:SetMousePosition => :void,
|
1814
|
+
:SetMouseOffset => :void,
|
1815
|
+
:SetMouseScale => :void,
|
1816
|
+
:GetMouseWheelMove => :float,
|
1817
|
+
:SetMouseCursor => :void,
|
1818
|
+
:GetTouchX => :int,
|
1819
|
+
:GetTouchY => :int,
|
1820
|
+
:GetTouchPosition => Vector2.by_value,
|
1821
|
+
:GetTouchPointId => :int,
|
1822
|
+
:GetTouchPointCount => :int,
|
1823
|
+
:SetGesturesEnabled => :void,
|
1824
|
+
:IsGestureDetected => :bool,
|
1825
|
+
:GetGestureDetected => :int,
|
1826
|
+
:GetGestureHoldDuration => :float,
|
1827
|
+
:GetGestureDragVector => Vector2.by_value,
|
1828
|
+
:GetGestureDragAngle => :float,
|
1829
|
+
:GetGesturePinchVector => Vector2.by_value,
|
1830
|
+
:GetGesturePinchAngle => :float,
|
1831
|
+
:SetCameraMode => :void,
|
1832
|
+
:UpdateCamera => :void,
|
1833
|
+
:SetCameraPanControl => :void,
|
1834
|
+
:SetCameraAltControl => :void,
|
1835
|
+
:SetCameraSmoothZoomControl => :void,
|
1836
|
+
:SetCameraMoveControls => :void,
|
1837
|
+
:SetShapesTexture => :void,
|
1838
|
+
:DrawPixel => :void,
|
1839
|
+
:DrawPixelV => :void,
|
1840
|
+
:DrawLine => :void,
|
1841
|
+
:DrawLineV => :void,
|
1842
|
+
:DrawLineEx => :void,
|
1843
|
+
:DrawLineBezier => :void,
|
1844
|
+
:DrawLineBezierQuad => :void,
|
1845
|
+
:DrawLineBezierCubic => :void,
|
1846
|
+
:DrawLineStrip => :void,
|
1847
|
+
:DrawCircle => :void,
|
1848
|
+
:DrawCircleSector => :void,
|
1849
|
+
:DrawCircleSectorLines => :void,
|
1850
|
+
:DrawCircleGradient => :void,
|
1851
|
+
:DrawCircleV => :void,
|
1852
|
+
:DrawCircleLines => :void,
|
1853
|
+
:DrawEllipse => :void,
|
1854
|
+
:DrawEllipseLines => :void,
|
1855
|
+
:DrawRing => :void,
|
1856
|
+
:DrawRingLines => :void,
|
1857
|
+
:DrawRectangle => :void,
|
1858
|
+
:DrawRectangleV => :void,
|
1859
|
+
:DrawRectangleRec => :void,
|
1860
|
+
:DrawRectanglePro => :void,
|
1861
|
+
:DrawRectangleGradientV => :void,
|
1862
|
+
:DrawRectangleGradientH => :void,
|
1863
|
+
:DrawRectangleGradientEx => :void,
|
1864
|
+
:DrawRectangleLines => :void,
|
1865
|
+
:DrawRectangleLinesEx => :void,
|
1866
|
+
:DrawRectangleRounded => :void,
|
1867
|
+
:DrawRectangleRoundedLines => :void,
|
1868
|
+
:DrawTriangle => :void,
|
1869
|
+
:DrawTriangleLines => :void,
|
1870
|
+
:DrawTriangleFan => :void,
|
1871
|
+
:DrawTriangleStrip => :void,
|
1872
|
+
:DrawPoly => :void,
|
1873
|
+
:DrawPolyLines => :void,
|
1874
|
+
:DrawPolyLinesEx => :void,
|
1875
|
+
:CheckCollisionRecs => :bool,
|
1876
|
+
:CheckCollisionCircles => :bool,
|
1877
|
+
:CheckCollisionCircleRec => :bool,
|
1878
|
+
:CheckCollisionPointRec => :bool,
|
1879
|
+
:CheckCollisionPointCircle => :bool,
|
1880
|
+
:CheckCollisionPointTriangle => :bool,
|
1881
|
+
:CheckCollisionLines => :bool,
|
1882
|
+
:CheckCollisionPointLine => :bool,
|
1883
|
+
:GetCollisionRec => Rectangle.by_value,
|
1884
|
+
:LoadImage => Image.by_value,
|
1885
|
+
:LoadImageRaw => Image.by_value,
|
1886
|
+
:LoadImageAnim => Image.by_value,
|
1887
|
+
:LoadImageFromMemory => Image.by_value,
|
1888
|
+
:LoadImageFromTexture => Image.by_value,
|
1889
|
+
:LoadImageFromScreen => Image.by_value,
|
1890
|
+
:UnloadImage => :void,
|
1891
|
+
:ExportImage => :bool,
|
1892
|
+
:ExportImageAsCode => :bool,
|
1893
|
+
:GenImageColor => Image.by_value,
|
1894
|
+
:GenImageGradientV => Image.by_value,
|
1895
|
+
:GenImageGradientH => Image.by_value,
|
1896
|
+
:GenImageGradientRadial => Image.by_value,
|
1897
|
+
:GenImageChecked => Image.by_value,
|
1898
|
+
:GenImageWhiteNoise => Image.by_value,
|
1899
|
+
:GenImageCellular => Image.by_value,
|
1900
|
+
:ImageCopy => Image.by_value,
|
1901
|
+
:ImageFromImage => Image.by_value,
|
1902
|
+
:ImageText => Image.by_value,
|
1903
|
+
:ImageTextEx => Image.by_value,
|
1904
|
+
:ImageFormat => :void,
|
1905
|
+
:ImageToPOT => :void,
|
1906
|
+
:ImageCrop => :void,
|
1907
|
+
:ImageAlphaCrop => :void,
|
1908
|
+
:ImageAlphaClear => :void,
|
1909
|
+
:ImageAlphaMask => :void,
|
1910
|
+
:ImageAlphaPremultiply => :void,
|
1911
|
+
:ImageResize => :void,
|
1912
|
+
:ImageResizeNN => :void,
|
1913
|
+
:ImageResizeCanvas => :void,
|
1914
|
+
:ImageMipmaps => :void,
|
1915
|
+
:ImageDither => :void,
|
1916
|
+
:ImageFlipVertical => :void,
|
1917
|
+
:ImageFlipHorizontal => :void,
|
1918
|
+
:ImageRotateCW => :void,
|
1919
|
+
:ImageRotateCCW => :void,
|
1920
|
+
:ImageColorTint => :void,
|
1921
|
+
:ImageColorInvert => :void,
|
1922
|
+
:ImageColorGrayscale => :void,
|
1923
|
+
:ImageColorContrast => :void,
|
1924
|
+
:ImageColorBrightness => :void,
|
1925
|
+
:ImageColorReplace => :void,
|
1926
|
+
:LoadImageColors => :pointer,
|
1927
|
+
:LoadImagePalette => :pointer,
|
1928
|
+
:UnloadImageColors => :void,
|
1929
|
+
:UnloadImagePalette => :void,
|
1930
|
+
:GetImageAlphaBorder => Rectangle.by_value,
|
1931
|
+
:GetImageColor => Color.by_value,
|
1932
|
+
:ImageClearBackground => :void,
|
1933
|
+
:ImageDrawPixel => :void,
|
1934
|
+
:ImageDrawPixelV => :void,
|
1935
|
+
:ImageDrawLine => :void,
|
1936
|
+
:ImageDrawLineV => :void,
|
1937
|
+
:ImageDrawCircle => :void,
|
1938
|
+
:ImageDrawCircleV => :void,
|
1939
|
+
:ImageDrawRectangle => :void,
|
1940
|
+
:ImageDrawRectangleV => :void,
|
1941
|
+
:ImageDrawRectangleRec => :void,
|
1942
|
+
:ImageDrawRectangleLines => :void,
|
1943
|
+
:ImageDraw => :void,
|
1944
|
+
:ImageDrawText => :void,
|
1945
|
+
:ImageDrawTextEx => :void,
|
1946
|
+
:LoadTexture => Texture2D.by_value,
|
1947
|
+
:LoadTextureFromImage => Texture2D.by_value,
|
1948
|
+
:LoadTextureCubemap => TextureCubemap.by_value,
|
1949
|
+
:LoadRenderTexture => RenderTexture2D.by_value,
|
1950
|
+
:UnloadTexture => :void,
|
1951
|
+
:UnloadRenderTexture => :void,
|
1952
|
+
:UpdateTexture => :void,
|
1953
|
+
:UpdateTextureRec => :void,
|
1954
|
+
:GenTextureMipmaps => :void,
|
1955
|
+
:SetTextureFilter => :void,
|
1956
|
+
:SetTextureWrap => :void,
|
1957
|
+
:DrawTexture => :void,
|
1958
|
+
:DrawTextureV => :void,
|
1959
|
+
:DrawTextureEx => :void,
|
1960
|
+
:DrawTextureRec => :void,
|
1961
|
+
:DrawTextureQuad => :void,
|
1962
|
+
:DrawTextureTiled => :void,
|
1963
|
+
:DrawTexturePro => :void,
|
1964
|
+
:DrawTextureNPatch => :void,
|
1965
|
+
:DrawTexturePoly => :void,
|
1966
|
+
:Fade => Color.by_value,
|
1967
|
+
:ColorToInt => :int,
|
1968
|
+
:ColorNormalize => Vector4.by_value,
|
1969
|
+
:ColorFromNormalized => Color.by_value,
|
1970
|
+
:ColorToHSV => Vector3.by_value,
|
1971
|
+
:ColorFromHSV => Color.by_value,
|
1972
|
+
:ColorAlpha => Color.by_value,
|
1973
|
+
:ColorAlphaBlend => Color.by_value,
|
1974
|
+
:GetColor => Color.by_value,
|
1975
|
+
:GetPixelColor => Color.by_value,
|
1976
|
+
:SetPixelColor => :void,
|
1977
|
+
:GetPixelDataSize => :int,
|
1978
|
+
:GetFontDefault => Font.by_value,
|
1979
|
+
:LoadFont => Font.by_value,
|
1980
|
+
:LoadFontEx => Font.by_value,
|
1981
|
+
:LoadFontFromImage => Font.by_value,
|
1982
|
+
:LoadFontFromMemory => Font.by_value,
|
1983
|
+
:LoadFontData => :pointer,
|
1984
|
+
:GenImageFontAtlas => Image.by_value,
|
1985
|
+
:UnloadFontData => :void,
|
1986
|
+
:UnloadFont => :void,
|
1987
|
+
:ExportFontAsCode => :bool,
|
1988
|
+
:DrawFPS => :void,
|
1989
|
+
:DrawText => :void,
|
1990
|
+
:DrawTextEx => :void,
|
1991
|
+
:DrawTextPro => :void,
|
1992
|
+
:DrawTextCodepoint => :void,
|
1993
|
+
:MeasureText => :int,
|
1994
|
+
:MeasureTextEx => Vector2.by_value,
|
1995
|
+
:GetGlyphIndex => :int,
|
1996
|
+
:GetGlyphInfo => GlyphInfo.by_value,
|
1997
|
+
:GetGlyphAtlasRec => Rectangle.by_value,
|
1998
|
+
:LoadCodepoints => :pointer,
|
1999
|
+
:UnloadCodepoints => :void,
|
2000
|
+
:GetCodepointCount => :int,
|
2001
|
+
:GetCodepoint => :int,
|
2002
|
+
:CodepointToUTF8 => :pointer,
|
2003
|
+
:TextCodepointsToUTF8 => :pointer,
|
2004
|
+
:TextCopy => :int,
|
2005
|
+
:TextIsEqual => :bool,
|
2006
|
+
:TextLength => :uint,
|
2007
|
+
:TextFormat => :pointer,
|
2008
|
+
:TextSubtext => :pointer,
|
2009
|
+
:TextReplace => :pointer,
|
2010
|
+
:TextInsert => :pointer,
|
2011
|
+
:TextJoin => :pointer,
|
2012
|
+
:TextSplit => :pointer,
|
2013
|
+
:TextAppend => :void,
|
2014
|
+
:TextFindIndex => :int,
|
2015
|
+
:TextToUpper => :pointer,
|
2016
|
+
:TextToLower => :pointer,
|
2017
|
+
:TextToPascal => :pointer,
|
2018
|
+
:TextToInteger => :int,
|
2019
|
+
:DrawLine3D => :void,
|
2020
|
+
:DrawPoint3D => :void,
|
2021
|
+
:DrawCircle3D => :void,
|
2022
|
+
:DrawTriangle3D => :void,
|
2023
|
+
:DrawTriangleStrip3D => :void,
|
2024
|
+
:DrawCube => :void,
|
2025
|
+
:DrawCubeV => :void,
|
2026
|
+
:DrawCubeWires => :void,
|
2027
|
+
:DrawCubeWiresV => :void,
|
2028
|
+
:DrawCubeTexture => :void,
|
2029
|
+
:DrawCubeTextureRec => :void,
|
2030
|
+
:DrawSphere => :void,
|
2031
|
+
:DrawSphereEx => :void,
|
2032
|
+
:DrawSphereWires => :void,
|
2033
|
+
:DrawCylinder => :void,
|
2034
|
+
:DrawCylinderEx => :void,
|
2035
|
+
:DrawCylinderWires => :void,
|
2036
|
+
:DrawCylinderWiresEx => :void,
|
2037
|
+
:DrawPlane => :void,
|
2038
|
+
:DrawRay => :void,
|
2039
|
+
:DrawGrid => :void,
|
2040
|
+
:LoadModel => Model.by_value,
|
2041
|
+
:LoadModelFromMesh => Model.by_value,
|
2042
|
+
:UnloadModel => :void,
|
2043
|
+
:UnloadModelKeepMeshes => :void,
|
2044
|
+
:GetModelBoundingBox => BoundingBox.by_value,
|
2045
|
+
:DrawModel => :void,
|
2046
|
+
:DrawModelEx => :void,
|
2047
|
+
:DrawModelWires => :void,
|
2048
|
+
:DrawModelWiresEx => :void,
|
2049
|
+
:DrawBoundingBox => :void,
|
2050
|
+
:DrawBillboard => :void,
|
2051
|
+
:DrawBillboardRec => :void,
|
2052
|
+
:DrawBillboardPro => :void,
|
2053
|
+
:UploadMesh => :void,
|
2054
|
+
:UpdateMeshBuffer => :void,
|
2055
|
+
:UnloadMesh => :void,
|
2056
|
+
:DrawMesh => :void,
|
2057
|
+
:DrawMeshInstanced => :void,
|
2058
|
+
:ExportMesh => :bool,
|
2059
|
+
:GetMeshBoundingBox => BoundingBox.by_value,
|
2060
|
+
:GenMeshTangents => :void,
|
2061
|
+
:GenMeshBinormals => :void,
|
2062
|
+
:GenMeshPoly => Mesh.by_value,
|
2063
|
+
:GenMeshPlane => Mesh.by_value,
|
2064
|
+
:GenMeshCube => Mesh.by_value,
|
2065
|
+
:GenMeshSphere => Mesh.by_value,
|
2066
|
+
:GenMeshHemiSphere => Mesh.by_value,
|
2067
|
+
:GenMeshCylinder => Mesh.by_value,
|
2068
|
+
:GenMeshCone => Mesh.by_value,
|
2069
|
+
:GenMeshTorus => Mesh.by_value,
|
2070
|
+
:GenMeshKnot => Mesh.by_value,
|
2071
|
+
:GenMeshHeightmap => Mesh.by_value,
|
2072
|
+
:GenMeshCubicmap => Mesh.by_value,
|
2073
|
+
:LoadMaterials => :pointer,
|
2074
|
+
:LoadMaterialDefault => Material.by_value,
|
2075
|
+
:UnloadMaterial => :void,
|
2076
|
+
:SetMaterialTexture => :void,
|
2077
|
+
:SetModelMeshMaterial => :void,
|
2078
|
+
:LoadModelAnimations => :pointer,
|
2079
|
+
:UpdateModelAnimation => :void,
|
2080
|
+
:UnloadModelAnimation => :void,
|
2081
|
+
:UnloadModelAnimations => :void,
|
2082
|
+
:IsModelAnimationValid => :bool,
|
2083
|
+
:CheckCollisionSpheres => :bool,
|
2084
|
+
:CheckCollisionBoxes => :bool,
|
2085
|
+
:CheckCollisionBoxSphere => :bool,
|
2086
|
+
:GetRayCollisionSphere => RayCollision.by_value,
|
2087
|
+
:GetRayCollisionBox => RayCollision.by_value,
|
2088
|
+
:GetRayCollisionModel => RayCollision.by_value,
|
2089
|
+
:GetRayCollisionMesh => RayCollision.by_value,
|
2090
|
+
:GetRayCollisionTriangle => RayCollision.by_value,
|
2091
|
+
:GetRayCollisionQuad => RayCollision.by_value,
|
2092
|
+
:InitAudioDevice => :void,
|
2093
|
+
:CloseAudioDevice => :void,
|
2094
|
+
:IsAudioDeviceReady => :bool,
|
2095
|
+
:SetMasterVolume => :void,
|
2096
|
+
:LoadWave => Wave.by_value,
|
2097
|
+
:LoadWaveFromMemory => Wave.by_value,
|
2098
|
+
:LoadSound => Sound.by_value,
|
2099
|
+
:LoadSoundFromWave => Sound.by_value,
|
2100
|
+
:UpdateSound => :void,
|
2101
|
+
:UnloadWave => :void,
|
2102
|
+
:UnloadSound => :void,
|
2103
|
+
:ExportWave => :bool,
|
2104
|
+
:ExportWaveAsCode => :bool,
|
2105
|
+
:PlaySound => :void,
|
2106
|
+
:StopSound => :void,
|
2107
|
+
:PauseSound => :void,
|
2108
|
+
:ResumeSound => :void,
|
2109
|
+
:PlaySoundMulti => :void,
|
2110
|
+
:StopSoundMulti => :void,
|
2111
|
+
:GetSoundsPlaying => :int,
|
2112
|
+
:IsSoundPlaying => :bool,
|
2113
|
+
:SetSoundVolume => :void,
|
2114
|
+
:SetSoundPitch => :void,
|
2115
|
+
:WaveFormat => :void,
|
2116
|
+
:WaveCopy => Wave.by_value,
|
2117
|
+
:WaveCrop => :void,
|
2118
|
+
:LoadWaveSamples => :pointer,
|
2119
|
+
:UnloadWaveSamples => :void,
|
2120
|
+
:LoadMusicStream => Music.by_value,
|
2121
|
+
:LoadMusicStreamFromMemory => Music.by_value,
|
2122
|
+
:UnloadMusicStream => :void,
|
2123
|
+
:PlayMusicStream => :void,
|
2124
|
+
:IsMusicStreamPlaying => :bool,
|
2125
|
+
:UpdateMusicStream => :void,
|
2126
|
+
:StopMusicStream => :void,
|
2127
|
+
:PauseMusicStream => :void,
|
2128
|
+
:ResumeMusicStream => :void,
|
2129
|
+
:SeekMusicStream => :void,
|
2130
|
+
:SetMusicVolume => :void,
|
2131
|
+
:SetMusicPitch => :void,
|
2132
|
+
:GetMusicTimeLength => :float,
|
2133
|
+
:GetMusicTimePlayed => :float,
|
2134
|
+
:LoadAudioStream => AudioStream.by_value,
|
2135
|
+
:UnloadAudioStream => :void,
|
2136
|
+
:UpdateAudioStream => :void,
|
2137
|
+
:IsAudioStreamProcessed => :bool,
|
2138
|
+
:PlayAudioStream => :void,
|
2139
|
+
:PauseAudioStream => :void,
|
2140
|
+
:ResumeAudioStream => :void,
|
2141
|
+
:IsAudioStreamPlaying => :bool,
|
2142
|
+
:StopAudioStream => :void,
|
2143
|
+
:SetAudioStreamVolume => :void,
|
2144
|
+
:SetAudioStreamPitch => :void,
|
2145
|
+
:SetAudioStreamBufferSizeDefault => :void,
|
2146
|
+
}
|
2147
|
+
symbols.each do |sym|
|
2148
|
+
begin
|
2149
|
+
attach_function sym, args[sym], retvals[sym]
|
2150
|
+
rescue FFI::NotFoundError => error
|
2151
|
+
$stderr.puts("[Warning] Failed to import #{sym} (#{error}).")
|
2152
|
+
end
|
2153
|
+
end
|
2154
|
+
end
|
2155
|
+
|
2156
|
+
end
|
2157
|
+
|