mt-lang 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. checksums.yaml +4 -4
  2. data/docs/index.html +4 -3
  3. data/lib/milk_tea/base.rb +1 -1
  4. data/std/asset_pack.mt +267 -0
  5. data/std/async/libuv_runtime.mt +539 -0
  6. data/std/async/mailbox.mt +191 -0
  7. data/std/async/runtime.mt +87 -0
  8. data/std/async.mt +87 -0
  9. data/std/base64.mt +185 -0
  10. data/std/behavior_tree.mt +396 -0
  11. data/std/binary.mt +314 -0
  12. data/std/binary_heap.mt +157 -0
  13. data/std/bitset.mt +239 -0
  14. data/std/box2d.mt +535 -0
  15. data/std/bytes.mt +46 -0
  16. data/std/c/box2d.mt +1254 -0
  17. data/std/c/cgltf.mt +647 -0
  18. data/std/c/cjson.mt +106 -0
  19. data/std/c/crypto.mt +11 -0
  20. data/std/c/crypto_support.h +51 -0
  21. data/std/c/ctype.mt +19 -0
  22. data/std/c/ctype_bindgen.h +29 -0
  23. data/std/c/curl.mt +1223 -0
  24. data/std/c/enet.mt +473 -0
  25. data/std/c/errno.mt +41 -0
  26. data/std/c/errno_bindgen.h +53 -0
  27. data/std/c/flecs.mt +2945 -0
  28. data/std/c/fs.linux.mt +43 -0
  29. data/std/c/fs.windows.mt +43 -0
  30. data/std/c/fs_support.h +954 -0
  31. data/std/c/gl.mt +2065 -0
  32. data/std/c/gl_registry_helpers.h +10748 -0
  33. data/std/c/glfw.mt +499 -0
  34. data/std/c/libc.mt +167 -0
  35. data/std/c/libuv.mt +1491 -0
  36. data/std/c/math.mt +22 -0
  37. data/std/c/math_bindgen.h +31 -0
  38. data/std/c/miniaudio.mt +3420 -0
  39. data/std/c/pcre2.mt +735 -0
  40. data/std/c/process.mt +58 -0
  41. data/std/c/process_support.h +1147 -0
  42. data/std/c/raygui.mt +1602 -0
  43. data/std/c/raylib.mt +1245 -0
  44. data/std/c/raymath.mt +163 -0
  45. data/std/c/rlgl.mt +434 -0
  46. data/std/c/rpng.mt +60 -0
  47. data/std/c/rres.mt +187 -0
  48. data/std/c/sdl3.mt +4132 -0
  49. data/std/c/sqlite3.mt +951 -0
  50. data/std/c/stb_image.mt +52 -0
  51. data/std/c/stb_image_resize2.mt +128 -0
  52. data/std/c/stb_image_write.mt +19 -0
  53. data/std/c/stb_rect_pack.mt +38 -0
  54. data/std/c/stb_truetype.mt +175 -0
  55. data/std/c/stb_vorbis.mt +31 -0
  56. data/std/c/stdio.mt +90 -0
  57. data/std/c/steamworks.h +5769 -0
  58. data/std/c/steamworks.mt +4771 -0
  59. data/std/c/string.mt +16 -0
  60. data/std/c/string_bindgen.h +36 -0
  61. data/std/c/sync.mt +33 -0
  62. data/std/c/sync_support.h +219 -0
  63. data/std/c/terminal.mt +24 -0
  64. data/std/c/terminal_support.h +408 -0
  65. data/std/c/time.mt +26 -0
  66. data/std/c/tls.mt +24 -0
  67. data/std/c/tls_support.h +626 -0
  68. data/std/c/tracy.mt +53 -0
  69. data/std/c/zlib.mt +20 -0
  70. data/std/c/zlib_support.h +239 -0
  71. data/std/c/zstd.mt +231 -0
  72. data/std/cell.mt +60 -0
  73. data/std/cgltf.mt +115 -0
  74. data/std/cjson.mt +90 -0
  75. data/std/cli.mt +768 -0
  76. data/std/cookie.mt +198 -0
  77. data/std/counter.mt +160 -0
  78. data/std/crypto.mt +74 -0
  79. data/std/cstring.mt +13 -0
  80. data/std/ctype.mt +52 -0
  81. data/std/curl/runtime.mt +261 -0
  82. data/std/curl.mt +38 -0
  83. data/std/deque.mt +348 -0
  84. data/std/encoding.mt +93 -0
  85. data/std/enet.mt +133 -0
  86. data/std/env.mt +41 -0
  87. data/std/errno.mt +47 -0
  88. data/std/flecs.mt +978 -0
  89. data/std/fmt.mt +271 -0
  90. data/std/fs.linux.mt +696 -0
  91. data/std/fs.windows.mt +711 -0
  92. data/std/fsm.mt +267 -0
  93. data/std/gl.mt +2062 -0
  94. data/std/glfw.mt +471 -0
  95. data/std/goap.mt +342 -0
  96. data/std/graph.mt +521 -0
  97. data/std/gzip.mt +77 -0
  98. data/std/hash.mt +429 -0
  99. data/std/http/server.mt +810 -0
  100. data/std/http.mt +1227 -0
  101. data/std/intern.mt +53 -0
  102. data/std/jobs.mt +288 -0
  103. data/std/json.mt +627 -0
  104. data/std/libc.mt +34 -0
  105. data/std/libuv.mt +554 -0
  106. data/std/linear_algebra.mt +243 -0
  107. data/std/linked_map.mt +372 -0
  108. data/std/linked_map_view.mt +49 -0
  109. data/std/linked_set.mt +117 -0
  110. data/std/log.mt +69 -0
  111. data/std/map.mt +418 -0
  112. data/std/math.mt +24 -0
  113. data/std/mem/arena.mt +137 -0
  114. data/std/mem/endian.mt +51 -0
  115. data/std/mem/heap.mt +298 -0
  116. data/std/mem/pool.mt +164 -0
  117. data/std/mem/stack.mt +47 -0
  118. data/std/mem/tracking.mt +119 -0
  119. data/std/miniaudio.mt +1299 -0
  120. data/std/multiset.mt +191 -0
  121. data/std/net/channel.mt +727 -0
  122. data/std/net/clock.mt +237 -0
  123. data/std/net/discovery.mt +277 -0
  124. data/std/net/lobby.mt +813 -0
  125. data/std/net/manager.mt +539 -0
  126. data/std/net/mux.mt +839 -0
  127. data/std/net/nat.mt +122 -0
  128. data/std/net/packet.mt +219 -0
  129. data/std/net/punch.mt +162 -0
  130. data/std/net/rpc.mt +119 -0
  131. data/std/net/session.mt +1157 -0
  132. data/std/net/stun.mt +252 -0
  133. data/std/net/sync.mt +183 -0
  134. data/std/net/turn.mt +459 -0
  135. data/std/net.mt +2944 -0
  136. data/std/oauth2.mt +408 -0
  137. data/std/option.mt +51 -0
  138. data/std/ordered_map.mt +497 -0
  139. data/std/ordered_set.mt +348 -0
  140. data/std/path.mt +368 -0
  141. data/std/pcre2/runtime.mt +35 -0
  142. data/std/pcre2.mt +78 -0
  143. data/std/priority_queue.mt +55 -0
  144. data/std/process.mt +837 -0
  145. data/std/queue.mt +55 -0
  146. data/std/random.mt +146 -0
  147. data/std/raygui.mt +99 -0
  148. data/std/raylib/debug_console.mt +71 -0
  149. data/std/raylib/easing.mt +388 -0
  150. data/std/raylib/packed_assets.mt +255 -0
  151. data/std/raylib/runtime.mt +30 -0
  152. data/std/raylib/tracy_gpu.mt +37 -0
  153. data/std/raylib.mt +1510 -0
  154. data/std/raymath.mt +153 -0
  155. data/std/result.mt +89 -0
  156. data/std/rlgl.mt +268 -0
  157. data/std/rpng.mt +46 -0
  158. data/std/rres.mt +36 -0
  159. data/std/sdl3/runtime.mt +54 -0
  160. data/std/sdl3.mt +1731 -0
  161. data/std/serialize.mt +68 -0
  162. data/std/set.mt +124 -0
  163. data/std/spatial.mt +176 -0
  164. data/std/sqlite3.mt +151 -0
  165. data/std/stack.mt +55 -0
  166. data/std/stb_image.mt +47 -0
  167. data/std/stb_image_resize2.mt +41 -0
  168. data/std/stb_image_write.mt +17 -0
  169. data/std/stb_rect_pack.mt +15 -0
  170. data/std/stb_truetype.mt +77 -0
  171. data/std/stb_vorbis.mt +16 -0
  172. data/std/stdio.mt +88 -0
  173. data/std/steamworks.mt +1542 -0
  174. data/std/str.mt +293 -0
  175. data/std/string.mt +234 -0
  176. data/std/sync.mt +194 -0
  177. data/std/tar.mt +704 -0
  178. data/std/terminal.mt +1002 -0
  179. data/std/testing.mt +266 -0
  180. data/std/thread.mt +120 -0
  181. data/std/time.mt +105 -0
  182. data/std/tls.mt +616 -0
  183. data/std/toml.mt +1310 -0
  184. data/std/tracy.mt +42 -0
  185. data/std/uri.mt +118 -0
  186. data/std/url.mt +372 -0
  187. data/std/vec.mt +433 -0
  188. data/std/zstd.mt +94 -0
  189. metadata +187 -2
data/std/c/raygui.mt ADDED
@@ -0,0 +1,1602 @@
1
+ # generated by mtc bindgen from /home/teefan/Projects/Ruby/mt-lang/third_party/raygui-upstream/src/raygui.h
2
+ external
3
+
4
+ link "raylib"
5
+ link "m"
6
+ include "raygui.h"
7
+
8
+ opaque va_list = c"va_list"
9
+
10
+ struct Vector2:
11
+ x: float
12
+ y: float
13
+
14
+ struct Vector3:
15
+ x: float
16
+ y: float
17
+ z: float
18
+
19
+ struct Vector4:
20
+ x: float
21
+ y: float
22
+ z: float
23
+ w: float
24
+
25
+ type Quaternion = Vector4
26
+
27
+ struct Matrix:
28
+ m0: float
29
+ m4: float
30
+ m8: float
31
+ m12: float
32
+ m1: float
33
+ m5: float
34
+ m9: float
35
+ m13: float
36
+ m2: float
37
+ m6: float
38
+ m10: float
39
+ m14: float
40
+ m3: float
41
+ m7: float
42
+ m11: float
43
+ m15: float
44
+
45
+ struct Color:
46
+ r: ubyte
47
+ g: ubyte
48
+ b: ubyte
49
+ a: ubyte
50
+
51
+ struct Rectangle:
52
+ x: float
53
+ y: float
54
+ width: float
55
+ height: float
56
+
57
+ struct Image:
58
+ data: ptr[void]
59
+ width: int
60
+ height: int
61
+ mipmaps: int
62
+ format: int
63
+
64
+ struct Texture:
65
+ id: uint
66
+ width: int
67
+ height: int
68
+ mipmaps: int
69
+ format: int
70
+
71
+ type Texture2D = Texture
72
+ type TextureCubemap = Texture
73
+
74
+ struct RenderTexture:
75
+ id: uint
76
+ texture: Texture
77
+ depth: Texture
78
+
79
+ type RenderTexture2D = RenderTexture
80
+
81
+ struct NPatchInfo:
82
+ source: Rectangle
83
+ left: int
84
+ top: int
85
+ right: int
86
+ bottom: int
87
+ layout: int
88
+
89
+ struct GlyphInfo:
90
+ value: int
91
+ offsetX: int
92
+ offsetY: int
93
+ advanceX: int
94
+ image: Image
95
+
96
+ struct Font:
97
+ baseSize: int
98
+ glyphCount: int
99
+ glyphPadding: int
100
+ texture: Texture
101
+ recs: ptr[Rectangle]
102
+ glyphs: ptr[GlyphInfo]
103
+
104
+ struct Camera3D:
105
+ position: Vector3
106
+ target: Vector3
107
+ up: Vector3
108
+ fovy: float
109
+ projection: int
110
+
111
+ type Camera = Camera3D
112
+
113
+ struct Camera2D:
114
+ offset: Vector2
115
+ target: Vector2
116
+ rotation: float
117
+ zoom: float
118
+
119
+ struct Mesh:
120
+ vertexCount: int
121
+ triangleCount: int
122
+ vertices: ptr[float]
123
+ texcoords: ptr[float]
124
+ texcoords2: ptr[float]
125
+ normals: ptr[float]
126
+ tangents: ptr[float]
127
+ colors: ptr[ubyte]
128
+ indices: ptr[ushort]
129
+ boneCount: int
130
+ boneIndices: ptr[ubyte]
131
+ boneWeights: ptr[float]
132
+ animVertices: ptr[float]
133
+ animNormals: ptr[float]
134
+ vaoId: uint
135
+ vboId: ptr[uint]
136
+
137
+ struct Shader:
138
+ id: uint
139
+ locs: ptr[int]
140
+
141
+ struct MaterialMap:
142
+ texture: Texture
143
+ color: Color
144
+ value: float
145
+
146
+ struct Material:
147
+ shader: Shader
148
+ maps: ptr[MaterialMap]
149
+ params: array[float, 4]
150
+
151
+ struct Transform:
152
+ translation: Vector3
153
+ rotation: Vector4
154
+ scale: Vector3
155
+
156
+ type ModelAnimPose = ptr[Transform]
157
+
158
+ struct BoneInfo:
159
+ name: array[char, 32]
160
+ parent: int
161
+
162
+ struct ModelSkeleton:
163
+ boneCount: int
164
+ bones: ptr[BoneInfo]
165
+ bindPose: ptr[Transform]
166
+
167
+ struct Model:
168
+ transform: Matrix
169
+ meshCount: int
170
+ materialCount: int
171
+ meshes: ptr[Mesh]
172
+ materials: ptr[Material]
173
+ meshMaterial: ptr[int]
174
+ skeleton: ModelSkeleton
175
+ currentPose: ptr[Transform]
176
+ boneMatrices: ptr[Matrix]
177
+
178
+ struct ModelAnimation:
179
+ name: array[char, 32]
180
+ boneCount: int
181
+ keyframeCount: int
182
+ keyframePoses: ptr[ModelAnimPose]
183
+
184
+ struct Ray:
185
+ position: Vector3
186
+ direction: Vector3
187
+
188
+ struct RayCollision:
189
+ hit: bool
190
+ distance: float
191
+ point: Vector3
192
+ normal: Vector3
193
+
194
+ struct BoundingBox:
195
+ min: Vector3
196
+ max: Vector3
197
+
198
+ struct Wave:
199
+ frameCount: uint
200
+ sampleRate: uint
201
+ sampleSize: uint
202
+ channels: uint
203
+ data: ptr[void]
204
+
205
+ opaque rAudioBuffer = c"rAudioBuffer"
206
+ opaque rAudioProcessor = c"rAudioProcessor"
207
+
208
+ struct AudioStream:
209
+ buffer: ptr[rAudioBuffer]
210
+ processor: ptr[rAudioProcessor]
211
+ sampleRate: uint
212
+ sampleSize: uint
213
+ channels: uint
214
+
215
+ struct Sound:
216
+ stream: AudioStream
217
+ frameCount: uint
218
+
219
+ struct Music:
220
+ stream: AudioStream
221
+ frameCount: uint
222
+ looping: bool
223
+ ctxType: int
224
+ ctxData: ptr[void]
225
+
226
+ struct VrDeviceInfo:
227
+ hResolution: int
228
+ vResolution: int
229
+ hScreenSize: float
230
+ vScreenSize: float
231
+ eyeToScreenDistance: float
232
+ lensSeparationDistance: float
233
+ interpupillaryDistance: float
234
+ lensDistortionValues: array[float, 4]
235
+ chromaAbCorrection: array[float, 4]
236
+
237
+ struct VrStereoConfig:
238
+ projection: array[Matrix, 2]
239
+ viewOffset: array[Matrix, 2]
240
+ leftLensCenter: array[float, 2]
241
+ rightLensCenter: array[float, 2]
242
+ leftScreenCenter: array[float, 2]
243
+ rightScreenCenter: array[float, 2]
244
+ scale: array[float, 2]
245
+ scaleIn: array[float, 2]
246
+
247
+ struct FilePathList:
248
+ count: uint
249
+ paths: ptr[ptr[char]]
250
+
251
+ struct AutomationEvent:
252
+ frame: uint
253
+ type_: uint
254
+ params: array[int, 4]
255
+
256
+ struct AutomationEventList:
257
+ capacity: uint
258
+ count: uint
259
+ events: ptr[AutomationEvent]
260
+
261
+ flags ConfigFlags: int
262
+ FLAG_VSYNC_HINT = 64
263
+ FLAG_FULLSCREEN_MODE = 2
264
+ FLAG_WINDOW_RESIZABLE = 4
265
+ FLAG_WINDOW_UNDECORATED = 8
266
+ FLAG_WINDOW_HIDDEN = 128
267
+ FLAG_WINDOW_MINIMIZED = 512
268
+ FLAG_WINDOW_MAXIMIZED = 1024
269
+ FLAG_WINDOW_UNFOCUSED = 2048
270
+ FLAG_WINDOW_TOPMOST = 4096
271
+ FLAG_WINDOW_ALWAYS_RUN = 256
272
+ FLAG_WINDOW_TRANSPARENT = 16
273
+ FLAG_WINDOW_HIGHDPI = 8192
274
+ FLAG_WINDOW_MOUSE_PASSTHROUGH = 16384
275
+ FLAG_BORDERLESS_WINDOWED_MODE = 32768
276
+ FLAG_MSAA_4X_HINT = 32
277
+ FLAG_INTERLACED_HINT = 65536
278
+
279
+ enum TraceLogLevel: int
280
+ LOG_ALL = 0
281
+ LOG_TRACE = 1
282
+ LOG_DEBUG = 2
283
+ LOG_INFO = 3
284
+ LOG_WARNING = 4
285
+ LOG_ERROR = 5
286
+ LOG_FATAL = 6
287
+ LOG_NONE = 7
288
+
289
+ enum KeyboardKey: int
290
+ KEY_NULL = 0
291
+ KEY_APOSTROPHE = 39
292
+ KEY_COMMA = 44
293
+ KEY_MINUS = 45
294
+ KEY_PERIOD = 46
295
+ KEY_SLASH = 47
296
+ KEY_ZERO = 48
297
+ KEY_ONE = 49
298
+ KEY_TWO = 50
299
+ KEY_THREE = 51
300
+ KEY_FOUR = 52
301
+ KEY_FIVE = 53
302
+ KEY_SIX = 54
303
+ KEY_SEVEN = 55
304
+ KEY_EIGHT = 56
305
+ KEY_NINE = 57
306
+ KEY_SEMICOLON = 59
307
+ KEY_EQUAL = 61
308
+ KEY_A = 65
309
+ KEY_B = 66
310
+ KEY_C = 67
311
+ KEY_D = 68
312
+ KEY_E = 69
313
+ KEY_F = 70
314
+ KEY_G = 71
315
+ KEY_H = 72
316
+ KEY_I = 73
317
+ KEY_J = 74
318
+ KEY_K = 75
319
+ KEY_L = 76
320
+ KEY_M = 77
321
+ KEY_N = 78
322
+ KEY_O = 79
323
+ KEY_P = 80
324
+ KEY_Q = 81
325
+ KEY_R = 82
326
+ KEY_S = 83
327
+ KEY_T = 84
328
+ KEY_U = 85
329
+ KEY_V = 86
330
+ KEY_W = 87
331
+ KEY_X = 88
332
+ KEY_Y = 89
333
+ KEY_Z = 90
334
+ KEY_LEFT_BRACKET = 91
335
+ KEY_BACKSLASH = 92
336
+ KEY_RIGHT_BRACKET = 93
337
+ KEY_GRAVE = 96
338
+ KEY_SPACE = 32
339
+ KEY_ESCAPE = 256
340
+ KEY_ENTER = 257
341
+ KEY_TAB = 258
342
+ KEY_BACKSPACE = 259
343
+ KEY_INSERT = 260
344
+ KEY_DELETE = 261
345
+ KEY_RIGHT = 262
346
+ KEY_LEFT = 263
347
+ KEY_DOWN = 264
348
+ KEY_UP = 265
349
+ KEY_PAGE_UP = 266
350
+ KEY_PAGE_DOWN = 267
351
+ KEY_HOME = 268
352
+ KEY_END = 269
353
+ KEY_CAPS_LOCK = 280
354
+ KEY_SCROLL_LOCK = 281
355
+ KEY_NUM_LOCK = 282
356
+ KEY_PRINT_SCREEN = 283
357
+ KEY_PAUSE = 284
358
+ KEY_F1 = 290
359
+ KEY_F2 = 291
360
+ KEY_F3 = 292
361
+ KEY_F4 = 293
362
+ KEY_F5 = 294
363
+ KEY_F6 = 295
364
+ KEY_F7 = 296
365
+ KEY_F8 = 297
366
+ KEY_F9 = 298
367
+ KEY_F10 = 299
368
+ KEY_F11 = 300
369
+ KEY_F12 = 301
370
+ KEY_LEFT_SHIFT = 340
371
+ KEY_LEFT_CONTROL = 341
372
+ KEY_LEFT_ALT = 342
373
+ KEY_LEFT_SUPER = 343
374
+ KEY_RIGHT_SHIFT = 344
375
+ KEY_RIGHT_CONTROL = 345
376
+ KEY_RIGHT_ALT = 346
377
+ KEY_RIGHT_SUPER = 347
378
+ KEY_KB_MENU = 348
379
+ KEY_KP_0 = 320
380
+ KEY_KP_1 = 321
381
+ KEY_KP_2 = 322
382
+ KEY_KP_3 = 323
383
+ KEY_KP_4 = 324
384
+ KEY_KP_5 = 325
385
+ KEY_KP_6 = 326
386
+ KEY_KP_7 = 327
387
+ KEY_KP_8 = 328
388
+ KEY_KP_9 = 329
389
+ KEY_KP_DECIMAL = 330
390
+ KEY_KP_DIVIDE = 331
391
+ KEY_KP_MULTIPLY = 332
392
+ KEY_KP_SUBTRACT = 333
393
+ KEY_KP_ADD = 334
394
+ KEY_KP_ENTER = 335
395
+ KEY_KP_EQUAL = 336
396
+ KEY_BACK = 4
397
+ KEY_MENU = 5
398
+ KEY_VOLUME_UP = 24
399
+ KEY_VOLUME_DOWN = 25
400
+
401
+ enum MouseButton: int
402
+ MOUSE_BUTTON_LEFT = 0
403
+ MOUSE_BUTTON_RIGHT = 1
404
+ MOUSE_BUTTON_MIDDLE = 2
405
+ MOUSE_BUTTON_SIDE = 3
406
+ MOUSE_BUTTON_EXTRA = 4
407
+ MOUSE_BUTTON_FORWARD = 5
408
+ MOUSE_BUTTON_BACK = 6
409
+
410
+ enum MouseCursor: int
411
+ MOUSE_CURSOR_DEFAULT = 0
412
+ MOUSE_CURSOR_ARROW = 1
413
+ MOUSE_CURSOR_IBEAM = 2
414
+ MOUSE_CURSOR_CROSSHAIR = 3
415
+ MOUSE_CURSOR_POINTING_HAND = 4
416
+ MOUSE_CURSOR_RESIZE_EW = 5
417
+ MOUSE_CURSOR_RESIZE_NS = 6
418
+ MOUSE_CURSOR_RESIZE_NWSE = 7
419
+ MOUSE_CURSOR_RESIZE_NESW = 8
420
+ MOUSE_CURSOR_RESIZE_ALL = 9
421
+ MOUSE_CURSOR_NOT_ALLOWED = 10
422
+
423
+ enum GamepadButton: int
424
+ GAMEPAD_BUTTON_UNKNOWN = 0
425
+ GAMEPAD_BUTTON_LEFT_FACE_UP = 1
426
+ GAMEPAD_BUTTON_LEFT_FACE_RIGHT = 2
427
+ GAMEPAD_BUTTON_LEFT_FACE_DOWN = 3
428
+ GAMEPAD_BUTTON_LEFT_FACE_LEFT = 4
429
+ GAMEPAD_BUTTON_RIGHT_FACE_UP = 5
430
+ GAMEPAD_BUTTON_RIGHT_FACE_RIGHT = 6
431
+ GAMEPAD_BUTTON_RIGHT_FACE_DOWN = 7
432
+ GAMEPAD_BUTTON_RIGHT_FACE_LEFT = 8
433
+ GAMEPAD_BUTTON_LEFT_TRIGGER_1 = 9
434
+ GAMEPAD_BUTTON_LEFT_TRIGGER_2 = 10
435
+ GAMEPAD_BUTTON_RIGHT_TRIGGER_1 = 11
436
+ GAMEPAD_BUTTON_RIGHT_TRIGGER_2 = 12
437
+ GAMEPAD_BUTTON_MIDDLE_LEFT = 13
438
+ GAMEPAD_BUTTON_MIDDLE = 14
439
+ GAMEPAD_BUTTON_MIDDLE_RIGHT = 15
440
+ GAMEPAD_BUTTON_LEFT_THUMB = 16
441
+ GAMEPAD_BUTTON_RIGHT_THUMB = 17
442
+
443
+ enum GamepadAxis: int
444
+ GAMEPAD_AXIS_LEFT_X = 0
445
+ GAMEPAD_AXIS_LEFT_Y = 1
446
+ GAMEPAD_AXIS_RIGHT_X = 2
447
+ GAMEPAD_AXIS_RIGHT_Y = 3
448
+ GAMEPAD_AXIS_LEFT_TRIGGER = 4
449
+ GAMEPAD_AXIS_RIGHT_TRIGGER = 5
450
+
451
+ enum MaterialMapIndex: int
452
+ MATERIAL_MAP_ALBEDO = 0
453
+ MATERIAL_MAP_METALNESS = 1
454
+ MATERIAL_MAP_NORMAL = 2
455
+ MATERIAL_MAP_ROUGHNESS = 3
456
+ MATERIAL_MAP_OCCLUSION = 4
457
+ MATERIAL_MAP_EMISSION = 5
458
+ MATERIAL_MAP_HEIGHT = 6
459
+ MATERIAL_MAP_CUBEMAP = 7
460
+ MATERIAL_MAP_IRRADIANCE = 8
461
+ MATERIAL_MAP_PREFILTER = 9
462
+ MATERIAL_MAP_BRDF = 10
463
+
464
+ enum ShaderLocationIndex: int
465
+ SHADER_LOC_VERTEX_POSITION = 0
466
+ SHADER_LOC_VERTEX_TEXCOORD01 = 1
467
+ SHADER_LOC_VERTEX_TEXCOORD02 = 2
468
+ SHADER_LOC_VERTEX_NORMAL = 3
469
+ SHADER_LOC_VERTEX_TANGENT = 4
470
+ SHADER_LOC_VERTEX_COLOR = 5
471
+ SHADER_LOC_MATRIX_MVP = 6
472
+ SHADER_LOC_MATRIX_VIEW = 7
473
+ SHADER_LOC_MATRIX_PROJECTION = 8
474
+ SHADER_LOC_MATRIX_MODEL = 9
475
+ SHADER_LOC_MATRIX_NORMAL = 10
476
+ SHADER_LOC_VECTOR_VIEW = 11
477
+ SHADER_LOC_COLOR_DIFFUSE = 12
478
+ SHADER_LOC_COLOR_SPECULAR = 13
479
+ SHADER_LOC_COLOR_AMBIENT = 14
480
+ SHADER_LOC_MAP_ALBEDO = 15
481
+ SHADER_LOC_MAP_METALNESS = 16
482
+ SHADER_LOC_MAP_NORMAL = 17
483
+ SHADER_LOC_MAP_ROUGHNESS = 18
484
+ SHADER_LOC_MAP_OCCLUSION = 19
485
+ SHADER_LOC_MAP_EMISSION = 20
486
+ SHADER_LOC_MAP_HEIGHT = 21
487
+ SHADER_LOC_MAP_CUBEMAP = 22
488
+ SHADER_LOC_MAP_IRRADIANCE = 23
489
+ SHADER_LOC_MAP_PREFILTER = 24
490
+ SHADER_LOC_MAP_BRDF = 25
491
+ SHADER_LOC_VERTEX_BONEIDS = 26
492
+ SHADER_LOC_VERTEX_BONEWEIGHTS = 27
493
+ SHADER_LOC_MATRIX_BONETRANSFORMS = 28
494
+ SHADER_LOC_VERTEX_INSTANCETRANSFORM = 29
495
+
496
+ enum ShaderUniformDataType: int
497
+ SHADER_UNIFORM_FLOAT = 0
498
+ SHADER_UNIFORM_VEC2 = 1
499
+ SHADER_UNIFORM_VEC3 = 2
500
+ SHADER_UNIFORM_VEC4 = 3
501
+ SHADER_UNIFORM_INT = 4
502
+ SHADER_UNIFORM_IVEC2 = 5
503
+ SHADER_UNIFORM_IVEC3 = 6
504
+ SHADER_UNIFORM_IVEC4 = 7
505
+ SHADER_UNIFORM_UINT = 8
506
+ SHADER_UNIFORM_UIVEC2 = 9
507
+ SHADER_UNIFORM_UIVEC3 = 10
508
+ SHADER_UNIFORM_UIVEC4 = 11
509
+ SHADER_UNIFORM_SAMPLER2D = 12
510
+
511
+ enum ShaderAttributeDataType: int
512
+ SHADER_ATTRIB_FLOAT = 0
513
+ SHADER_ATTRIB_VEC2 = 1
514
+ SHADER_ATTRIB_VEC3 = 2
515
+ SHADER_ATTRIB_VEC4 = 3
516
+
517
+ enum PixelFormat: int
518
+ PIXELFORMAT_UNCOMPRESSED_GRAYSCALE = 1
519
+ PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA = 2
520
+ PIXELFORMAT_UNCOMPRESSED_R5G6B5 = 3
521
+ PIXELFORMAT_UNCOMPRESSED_R8G8B8 = 4
522
+ PIXELFORMAT_UNCOMPRESSED_R5G5B5A1 = 5
523
+ PIXELFORMAT_UNCOMPRESSED_R4G4B4A4 = 6
524
+ PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 = 7
525
+ PIXELFORMAT_UNCOMPRESSED_R32 = 8
526
+ PIXELFORMAT_UNCOMPRESSED_R32G32B32 = 9
527
+ PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 = 10
528
+ PIXELFORMAT_UNCOMPRESSED_R16 = 11
529
+ PIXELFORMAT_UNCOMPRESSED_R16G16B16 = 12
530
+ PIXELFORMAT_UNCOMPRESSED_R16G16B16A16 = 13
531
+ PIXELFORMAT_COMPRESSED_DXT1_RGB = 14
532
+ PIXELFORMAT_COMPRESSED_DXT1_RGBA = 15
533
+ PIXELFORMAT_COMPRESSED_DXT3_RGBA = 16
534
+ PIXELFORMAT_COMPRESSED_DXT5_RGBA = 17
535
+ PIXELFORMAT_COMPRESSED_ETC1_RGB = 18
536
+ PIXELFORMAT_COMPRESSED_ETC2_RGB = 19
537
+ PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA = 20
538
+ PIXELFORMAT_COMPRESSED_PVRT_RGB = 21
539
+ PIXELFORMAT_COMPRESSED_PVRT_RGBA = 22
540
+ PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA = 23
541
+ PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA = 24
542
+
543
+ enum TextureFilter: int
544
+ TEXTURE_FILTER_POINT = 0
545
+ TEXTURE_FILTER_BILINEAR = 1
546
+ TEXTURE_FILTER_TRILINEAR = 2
547
+ TEXTURE_FILTER_ANISOTROPIC_4X = 3
548
+ TEXTURE_FILTER_ANISOTROPIC_8X = 4
549
+ TEXTURE_FILTER_ANISOTROPIC_16X = 5
550
+
551
+ enum TextureWrap: int
552
+ TEXTURE_WRAP_REPEAT = 0
553
+ TEXTURE_WRAP_CLAMP = 1
554
+ TEXTURE_WRAP_MIRROR_REPEAT = 2
555
+ TEXTURE_WRAP_MIRROR_CLAMP = 3
556
+
557
+ enum CubemapLayout: int
558
+ CUBEMAP_LAYOUT_AUTO_DETECT = 0
559
+ CUBEMAP_LAYOUT_LINE_VERTICAL = 1
560
+ CUBEMAP_LAYOUT_LINE_HORIZONTAL = 2
561
+ CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR = 3
562
+ CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE = 4
563
+
564
+ flags FontType: int
565
+ FONT_DEFAULT = 0
566
+ FONT_BITMAP = 1
567
+ FONT_SDF = 2
568
+
569
+ enum BlendMode: int
570
+ BLEND_ALPHA = 0
571
+ BLEND_ADDITIVE = 1
572
+ BLEND_MULTIPLIED = 2
573
+ BLEND_ADD_COLORS = 3
574
+ BLEND_SUBTRACT_COLORS = 4
575
+ BLEND_ALPHA_PREMULTIPLY = 5
576
+ BLEND_CUSTOM = 6
577
+ BLEND_CUSTOM_SEPARATE = 7
578
+
579
+ flags Gesture: int
580
+ GESTURE_NONE = 0
581
+ GESTURE_TAP = 1
582
+ GESTURE_DOUBLETAP = 2
583
+ GESTURE_HOLD = 4
584
+ GESTURE_DRAG = 8
585
+ GESTURE_SWIPE_RIGHT = 16
586
+ GESTURE_SWIPE_LEFT = 32
587
+ GESTURE_SWIPE_UP = 64
588
+ GESTURE_SWIPE_DOWN = 128
589
+ GESTURE_PINCH_IN = 256
590
+ GESTURE_PINCH_OUT = 512
591
+
592
+ enum CameraMode: int
593
+ CAMERA_CUSTOM = 0
594
+ CAMERA_FREE = 1
595
+ CAMERA_ORBITAL = 2
596
+ CAMERA_FIRST_PERSON = 3
597
+ CAMERA_THIRD_PERSON = 4
598
+
599
+ flags CameraProjection: int
600
+ CAMERA_PERSPECTIVE = 0
601
+ CAMERA_ORTHOGRAPHIC = 1
602
+ flags NPatchLayout: int
603
+ NPATCH_NINE_PATCH = 0
604
+ NPATCH_THREE_PATCH_VERTICAL = 1
605
+ NPATCH_THREE_PATCH_HORIZONTAL = 2
606
+
607
+ type TraceLogCallback = fn(arg0: int, arg1: cstr, arg2: va_list) -> void
608
+ type LoadFileDataCallback = fn(arg0: cstr, arg1: ptr[int]) -> ptr[ubyte]
609
+ type SaveFileDataCallback = fn(arg0: cstr, arg1: ptr[void], arg2: int) -> bool
610
+ type LoadFileTextCallback = fn(arg0: cstr) -> ptr[char]
611
+ type SaveFileTextCallback = fn(arg0: cstr, arg1: cstr) -> bool
612
+
613
+ external function InitWindow(width: int, height: int, title: cstr) -> void
614
+ external function CloseWindow() -> void
615
+ external function SetWindowState(flags_: uint) -> void
616
+ external function ClearWindowState(flags_: uint) -> void
617
+ external function ToggleFullscreen() -> void
618
+ external function ToggleBorderlessWindowed() -> void
619
+ external function MaximizeWindow() -> void
620
+ external function MinimizeWindow() -> void
621
+ external function RestoreWindow() -> void
622
+ external function SetWindowIcon(image: Image) -> void
623
+ external function SetWindowIcons(images: ptr[Image], count: int) -> void
624
+ external function SetWindowTitle(title: cstr) -> void
625
+ external function SetWindowPosition(x: int, y: int) -> void
626
+ external function SetWindowMonitor(monitor: int) -> void
627
+ external function SetWindowMinSize(width: int, height: int) -> void
628
+ external function SetWindowMaxSize(width: int, height: int) -> void
629
+ external function SetWindowSize(width: int, height: int) -> void
630
+ external function SetWindowOpacity(opacity: float) -> void
631
+ external function SetWindowFocused() -> void
632
+ external function GetWindowHandle() -> ptr[void]
633
+ external function GetScreenWidth() -> int
634
+ external function GetScreenHeight() -> int
635
+ external function GetRenderWidth() -> int
636
+ external function GetRenderHeight() -> int
637
+ external function GetMonitorCount() -> int
638
+ external function GetCurrentMonitor() -> int
639
+ external function GetMonitorPosition(monitor: int) -> Vector2
640
+ external function GetMonitorWidth(monitor: int) -> int
641
+ external function GetMonitorHeight(monitor: int) -> int
642
+ external function GetMonitorPhysicalWidth(monitor: int) -> int
643
+ external function GetMonitorPhysicalHeight(monitor: int) -> int
644
+ external function GetMonitorRefreshRate(monitor: int) -> int
645
+ external function GetWindowPosition() -> Vector2
646
+ external function GetWindowScaleDPI() -> Vector2
647
+ external function GetMonitorName(monitor: int) -> cstr
648
+ external function SetClipboardText(text: cstr) -> void
649
+ external function GetClipboardText() -> cstr
650
+ external function GetClipboardImage() -> Image
651
+ external function EnableEventWaiting() -> void
652
+ external function DisableEventWaiting() -> void
653
+ external function ShowCursor() -> void
654
+ external function HideCursor() -> void
655
+ external function EnableCursor() -> void
656
+ external function DisableCursor() -> void
657
+ external function ClearBackground(color: Color) -> void
658
+ external function BeginDrawing() -> void
659
+ external function EndDrawing() -> void
660
+ external function BeginMode2D(camera: Camera2D) -> void
661
+ external function EndMode2D() -> void
662
+ external function BeginMode3D(camera: Camera3D) -> void
663
+ external function EndMode3D() -> void
664
+ external function BeginTextureMode(target: RenderTexture) -> void
665
+ external function EndTextureMode() -> void
666
+ external function BeginShaderMode(shader: Shader) -> void
667
+ external function EndShaderMode() -> void
668
+ external function BeginBlendMode(mode: int) -> void
669
+ external function EndBlendMode() -> void
670
+ external function BeginScissorMode(x: int, y: int, width: int, height: int) -> void
671
+ external function EndScissorMode() -> void
672
+ external function BeginVrStereoMode(config: VrStereoConfig) -> void
673
+ external function EndVrStereoMode() -> void
674
+ external function LoadVrStereoConfig(device: VrDeviceInfo) -> VrStereoConfig
675
+ external function UnloadVrStereoConfig(config: VrStereoConfig) -> void
676
+ external function LoadShader(vsFileName: cstr?, fsFileName: cstr?) -> Shader
677
+ external function LoadShaderFromMemory(vsCode: cstr?, fsCode: cstr?) -> Shader
678
+ external function GetShaderLocation(shader: Shader, uniformName: cstr) -> int
679
+ external function GetShaderLocationAttrib(shader: Shader, attribName: cstr) -> int
680
+ external function SetShaderValue(shader: Shader, locIndex: int, value: const_ptr[void], uniformType: int) -> void
681
+ external function SetShaderValueV(shader: Shader, locIndex: int, value: const_ptr[void], uniformType: int, count: int) -> void
682
+ external function SetShaderValueMatrix(shader: Shader, locIndex: int, mat: Matrix) -> void
683
+ external function SetShaderValueTexture(shader: Shader, locIndex: int, texture: Texture) -> void
684
+ external function UnloadShader(shader: Shader) -> void
685
+ external function GetScreenToWorldRay(position: Vector2, camera: Camera3D) -> Ray
686
+ external function GetScreenToWorldRayEx(position: Vector2, camera: Camera3D, width: int, height: int) -> Ray
687
+ external function GetWorldToScreen(position: Vector3, camera: Camera3D) -> Vector2
688
+ external function GetWorldToScreenEx(position: Vector3, camera: Camera3D, width: int, height: int) -> Vector2
689
+ external function GetWorldToScreen2D(position: Vector2, camera: Camera2D) -> Vector2
690
+ external function GetScreenToWorld2D(position: Vector2, camera: Camera2D) -> Vector2
691
+ external function GetCameraMatrix(camera: Camera3D) -> Matrix
692
+ external function GetCameraMatrix2D(camera: Camera2D) -> Matrix
693
+ external function SetTargetFPS(fps: int) -> void
694
+ external function GetFrameTime() -> float
695
+ external function GetTime() -> double
696
+ external function GetFPS() -> int
697
+ external function SwapScreenBuffer() -> void
698
+ external function PollInputEvents() -> void
699
+ external function WaitTime(seconds: double) -> void
700
+ external function SetRandomSeed(seed: uint) -> void
701
+ external function GetRandomValue(min: int, max: int) -> int
702
+ external function LoadRandomSequence(count: uint, min: int, max: int) -> ptr[int]?
703
+ external function UnloadRandomSequence(sequence: ptr[int]) -> void
704
+ external function TakeScreenshot(fileName: cstr) -> void
705
+ external function SetConfigFlags(flags_: uint) -> void
706
+ external function OpenURL(url: cstr) -> void
707
+ external function SetTraceLogLevel(logLevel: int) -> void
708
+ external function TraceLog(logLevel: int, text: cstr, ...) -> void
709
+ external function SetTraceLogCallback(callback: fn(arg0: int, arg1: cstr, arg2: va_list) -> void) -> void
710
+ external function MemAlloc(size: uint) -> ptr[void]?
711
+ external function MemRealloc(ptr: ptr[void], size: uint) -> ptr[void]?
712
+ external function MemFree(ptr: ptr[void]) -> void
713
+ external function LoadFileData(fileName: cstr, dataSize: ptr[int]) -> ptr[ubyte]?
714
+ external function UnloadFileData(data: ptr[ubyte]) -> void
715
+ external function LoadFileText(fileName: cstr) -> ptr[char]?
716
+ external function UnloadFileText(text: ptr[char]) -> void
717
+ external function SetLoadFileDataCallback(callback: fn(arg0: cstr, arg1: ptr[int]) -> ptr[ubyte]) -> void
718
+ external function SetSaveFileDataCallback(callback: fn(arg0: cstr, arg1: ptr[void], arg2: int) -> bool) -> void
719
+ external function SetLoadFileTextCallback(callback: fn(arg0: cstr) -> ptr[char]) -> void
720
+ external function SetSaveFileTextCallback(callback: fn(arg0: cstr, arg1: cstr) -> bool) -> void
721
+ external function FileRename(fileName: cstr, fileRename: cstr) -> int
722
+ external function FileRemove(fileName: cstr) -> int
723
+ external function FileCopy(srcPath: cstr, dstPath: cstr) -> int
724
+ external function FileMove(srcPath: cstr, dstPath: cstr) -> int
725
+ external function FileTextReplace(fileName: cstr, search: cstr, replacement: cstr) -> int
726
+ external function FileTextFindIndex(fileName: cstr, search: cstr) -> int
727
+ external function GetFileLength(fileName: cstr) -> int
728
+ external function GetFileModTime(fileName: cstr) -> ptr_int
729
+ external function GetFileExtension(fileName: cstr) -> cstr
730
+ external function GetFileName(filePath: cstr) -> cstr
731
+ external function GetFileNameWithoutExt(filePath: cstr) -> cstr
732
+ external function GetDirectoryPath(filePath: cstr) -> cstr
733
+ external function GetPrevDirectoryPath(dirPath: cstr) -> cstr
734
+ external function GetWorkingDirectory() -> cstr
735
+ external function GetApplicationDirectory() -> cstr
736
+ external function MakeDirectory(dirPath: cstr) -> int
737
+ external function LoadDirectoryFiles(dirPath: cstr) -> FilePathList
738
+ external function LoadDirectoryFilesEx(basePath: cstr, filter: cstr, scanSubdirs: bool) -> FilePathList
739
+ external function UnloadDirectoryFiles(files: FilePathList) -> void
740
+ external function LoadDroppedFiles() -> FilePathList
741
+ external function UnloadDroppedFiles(files: FilePathList) -> void
742
+ external function GetDirectoryFileCount(dirPath: cstr) -> uint
743
+ external function GetDirectoryFileCountEx(basePath: cstr, filter: cstr, scanSubdirs: bool) -> uint
744
+ external function CompressData(data: const_ptr[ubyte], dataSize: int, compDataSize: ptr[int]) -> ptr[ubyte]?
745
+ external function DecompressData(compData: const_ptr[ubyte], compDataSize: int, dataSize: ptr[int]) -> ptr[ubyte]?
746
+ external function EncodeDataBase64(data: const_ptr[ubyte], dataSize: int, outputSize: ptr[int]) -> ptr[char]?
747
+ external function DecodeDataBase64(text: cstr, outputSize: ptr[int]) -> ptr[ubyte]?
748
+ external function ComputeCRC32(data: ptr[ubyte], dataSize: int) -> uint
749
+ external function ComputeMD5(data: ptr[ubyte], dataSize: int) -> ptr[uint]
750
+ external function ComputeSHA1(data: ptr[ubyte], dataSize: int) -> ptr[uint]
751
+ external function ComputeSHA256(data: ptr[ubyte], dataSize: int) -> ptr[uint]
752
+ external function LoadAutomationEventList(fileName: cstr?) -> AutomationEventList
753
+ external function UnloadAutomationEventList(list: AutomationEventList) -> void
754
+ external function SetAutomationEventList(list: ptr[AutomationEventList]) -> void
755
+ external function SetAutomationEventBaseFrame(frame: int) -> void
756
+ external function StartAutomationEventRecording() -> void
757
+ external function StopAutomationEventRecording() -> void
758
+ external function PlayAutomationEvent(event_: AutomationEvent) -> void
759
+ external function GetKeyPressed() -> int
760
+ external function GetCharPressed() -> int
761
+ external function GetKeyName(key: int) -> cstr
762
+ external function SetExitKey(key: int) -> void
763
+ external function GetGamepadName(gamepad: int) -> cstr
764
+ external function GetGamepadButtonPressed() -> int
765
+ external function GetGamepadAxisCount(gamepad: int) -> int
766
+ external function GetGamepadAxisMovement(gamepad: int, axis: int) -> float
767
+ external function SetGamepadMappings(mappings: cstr) -> int
768
+ external function SetGamepadVibration(gamepad: int, leftMotor: float, rightMotor: float, duration: float) -> void
769
+ external function GetMouseX() -> int
770
+ external function GetMouseY() -> int
771
+ external function GetMousePosition() -> Vector2
772
+ external function GetMouseDelta() -> Vector2
773
+ external function SetMousePosition(x: int, y: int) -> void
774
+ external function SetMouseOffset(offsetX: int, offsetY: int) -> void
775
+ external function SetMouseScale(scaleX: float, scaleY: float) -> void
776
+ external function GetMouseWheelMove() -> float
777
+ external function GetMouseWheelMoveV() -> Vector2
778
+ external function SetMouseCursor(cursor: int) -> void
779
+ external function GetTouchX() -> int
780
+ external function GetTouchY() -> int
781
+ external function GetTouchPosition(index: int) -> Vector2
782
+ external function GetTouchPointId(index: int) -> int
783
+ external function GetTouchPointCount() -> int
784
+ external function SetGesturesEnabled(flags_: uint) -> void
785
+ external function GetGestureDetected() -> int
786
+ external function GetGestureHoldDuration() -> float
787
+ external function GetGestureDragVector() -> Vector2
788
+ external function GetGestureDragAngle() -> float
789
+ external function GetGesturePinchVector() -> Vector2
790
+ external function GetGesturePinchAngle() -> float
791
+ external function UpdateCamera(camera: ptr[Camera], mode: int) -> void
792
+ external function UpdateCameraPro(camera: ptr[Camera], movement: Vector3, rotation: Vector3, zoom: float) -> void
793
+ external function SetShapesTexture(texture: Texture, source: Rectangle) -> void
794
+ external function GetShapesTexture() -> Texture2D
795
+ external function GetShapesTextureRectangle() -> Rectangle
796
+ external function DrawPixel(posX: int, posY: int, color: Color) -> void
797
+ external function DrawPixelV(position: Vector2, color: Color) -> void
798
+ external function DrawLine(startPosX: int, startPosY: int, endPosX: int, endPosY: int, color: Color) -> void
799
+ external function DrawLineV(startPos: Vector2, endPos: Vector2, color: Color) -> void
800
+ external function DrawLineEx(startPos: Vector2, endPos: Vector2, thick: float, color: Color) -> void
801
+ external function DrawLineStrip(points: const_ptr[Vector2], pointCount: int, color: Color) -> void
802
+ external function DrawLineBezier(startPos: Vector2, endPos: Vector2, thick: float, color: Color) -> void
803
+ external function DrawLineDashed(startPos: Vector2, endPos: Vector2, dashSize: int, spaceSize: int, color: Color) -> void
804
+ external function DrawCircle(centerX: int, centerY: int, radius: float, color: Color) -> void
805
+ external function DrawCircleV(center: Vector2, radius: float, color: Color) -> void
806
+ external function DrawCircleGradient(center: Vector2, radius: float, inner: Color, outer: Color) -> void
807
+ external function DrawCircleSector(center: Vector2, radius: float, startAngle: float, endAngle: float, segments: int, color: Color) -> void
808
+ external function DrawCircleSectorLines(center: Vector2, radius: float, startAngle: float, endAngle: float, segments: int, color: Color) -> void
809
+ external function DrawCircleLines(centerX: int, centerY: int, radius: float, color: Color) -> void
810
+ external function DrawCircleLinesV(center: Vector2, radius: float, color: Color) -> void
811
+ external function DrawEllipse(centerX: int, centerY: int, radiusH: float, radiusV: float, color: Color) -> void
812
+ external function DrawEllipseV(center: Vector2, radiusH: float, radiusV: float, color: Color) -> void
813
+ external function DrawEllipseLines(centerX: int, centerY: int, radiusH: float, radiusV: float, color: Color) -> void
814
+ external function DrawEllipseLinesV(center: Vector2, radiusH: float, radiusV: float, color: Color) -> void
815
+ external function DrawRing(center: Vector2, innerRadius: float, outerRadius: float, startAngle: float, endAngle: float, segments: int, color: Color) -> void
816
+ external function DrawRingLines(center: Vector2, innerRadius: float, outerRadius: float, startAngle: float, endAngle: float, segments: int, color: Color) -> void
817
+ external function DrawRectangle(posX: int, posY: int, width: int, height: int, color: Color) -> void
818
+ external function DrawRectangleV(position: Vector2, size: Vector2, color: Color) -> void
819
+ external function DrawRectangleRec(rec: Rectangle, color: Color) -> void
820
+ external function DrawRectanglePro(rec: Rectangle, origin: Vector2, rotation: float, color: Color) -> void
821
+ external function DrawRectangleGradientV(posX: int, posY: int, width: int, height: int, top: Color, bottom: Color) -> void
822
+ external function DrawRectangleGradientH(posX: int, posY: int, width: int, height: int, left: Color, right: Color) -> void
823
+ external function DrawRectangleGradientEx(rec: Rectangle, topLeft: Color, bottomLeft: Color, bottomRight: Color, topRight: Color) -> void
824
+ external function DrawRectangleLines(posX: int, posY: int, width: int, height: int, color: Color) -> void
825
+ external function DrawRectangleLinesEx(rec: Rectangle, lineThick: float, color: Color) -> void
826
+ external function DrawRectangleRounded(rec: Rectangle, roundness: float, segments: int, color: Color) -> void
827
+ external function DrawRectangleRoundedLines(rec: Rectangle, roundness: float, segments: int, color: Color) -> void
828
+ external function DrawRectangleRoundedLinesEx(rec: Rectangle, roundness: float, segments: int, lineThick: float, color: Color) -> void
829
+ external function DrawTriangle(v1: Vector2, v2: Vector2, v3: Vector2, color: Color) -> void
830
+ external function DrawTriangleLines(v1: Vector2, v2: Vector2, v3: Vector2, color: Color) -> void
831
+ external function DrawTriangleFan(points: const_ptr[Vector2], pointCount: int, color: Color) -> void
832
+ external function DrawTriangleStrip(points: const_ptr[Vector2], pointCount: int, color: Color) -> void
833
+ external function DrawPoly(center: Vector2, sides: int, radius: float, rotation: float, color: Color) -> void
834
+ external function DrawPolyLines(center: Vector2, sides: int, radius: float, rotation: float, color: Color) -> void
835
+ external function DrawPolyLinesEx(center: Vector2, sides: int, radius: float, rotation: float, lineThick: float, color: Color) -> void
836
+ external function DrawSplineLinear(points: const_ptr[Vector2], pointCount: int, thick: float, color: Color) -> void
837
+ external function DrawSplineBasis(points: const_ptr[Vector2], pointCount: int, thick: float, color: Color) -> void
838
+ external function DrawSplineCatmullRom(points: const_ptr[Vector2], pointCount: int, thick: float, color: Color) -> void
839
+ external function DrawSplineBezierQuadratic(points: const_ptr[Vector2], pointCount: int, thick: float, color: Color) -> void
840
+ external function DrawSplineBezierCubic(points: const_ptr[Vector2], pointCount: int, thick: float, color: Color) -> void
841
+ external function DrawSplineSegmentLinear(p1: Vector2, p2: Vector2, thick: float, color: Color) -> void
842
+ external function DrawSplineSegmentBasis(p1: Vector2, p2: Vector2, p3: Vector2, p4: Vector2, thick: float, color: Color) -> void
843
+ external function DrawSplineSegmentCatmullRom(p1: Vector2, p2: Vector2, p3: Vector2, p4: Vector2, thick: float, color: Color) -> void
844
+ external function DrawSplineSegmentBezierQuadratic(p1: Vector2, c2: Vector2, p3: Vector2, thick: float, color: Color) -> void
845
+ external function DrawSplineSegmentBezierCubic(p1: Vector2, c2: Vector2, c3: Vector2, p4: Vector2, thick: float, color: Color) -> void
846
+ external function GetSplinePointLinear(startPos: Vector2, endPos: Vector2, t: float) -> Vector2
847
+ external function GetSplinePointBasis(p1: Vector2, p2: Vector2, p3: Vector2, p4: Vector2, t: float) -> Vector2
848
+ external function GetSplinePointCatmullRom(p1: Vector2, p2: Vector2, p3: Vector2, p4: Vector2, t: float) -> Vector2
849
+ external function GetSplinePointBezierQuad(p1: Vector2, c2: Vector2, p3: Vector2, t: float) -> Vector2
850
+ external function GetSplinePointBezierCubic(p1: Vector2, c2: Vector2, c3: Vector2, p4: Vector2, t: float) -> Vector2
851
+ external function GetCollisionRec(rec1: Rectangle, rec2: Rectangle) -> Rectangle
852
+ external function LoadImage(fileName: cstr) -> Image
853
+ external function LoadImageRaw(fileName: cstr, width: int, height: int, format: int, headerSize: int) -> Image
854
+ external function LoadImageAnim(fileName: cstr, frames: ptr[int]) -> Image
855
+ external function LoadImageAnimFromMemory(fileType: cstr, fileData: const_ptr[ubyte], dataSize: int, frames: ptr[int]) -> Image
856
+ external function LoadImageFromMemory(fileType: cstr, fileData: const_ptr[ubyte], dataSize: int) -> Image
857
+ external function LoadImageFromTexture(texture: Texture) -> Image
858
+ external function LoadImageFromScreen() -> Image
859
+ external function UnloadImage(image: Image) -> void
860
+ external function ExportImageToMemory(image: Image, fileType: cstr, fileSize: ptr[int]) -> ptr[ubyte]?
861
+ external function GenImageColor(width: int, height: int, color: Color) -> Image
862
+ external function GenImageGradientLinear(width: int, height: int, direction: int, start: Color, end: Color) -> Image
863
+ external function GenImageGradientRadial(width: int, height: int, density: float, inner: Color, outer: Color) -> Image
864
+ external function GenImageGradientSquare(width: int, height: int, density: float, inner: Color, outer: Color) -> Image
865
+ external function GenImageChecked(width: int, height: int, checksX: int, checksY: int, col1: Color, col2: Color) -> Image
866
+ external function GenImageWhiteNoise(width: int, height: int, factor: float) -> Image
867
+ external function GenImagePerlinNoise(width: int, height: int, offsetX: int, offsetY: int, scale: float) -> Image
868
+ external function GenImageCellular(width: int, height: int, tileSize: int) -> Image
869
+ external function GenImageText(width: int, height: int, text: cstr) -> Image
870
+ external function ImageCopy(image: Image) -> Image
871
+ external function ImageFromImage(image: Image, rec: Rectangle) -> Image
872
+ external function ImageFromChannel(image: Image, selectedChannel: int) -> Image
873
+ external function ImageText(text: cstr, fontSize: int, color: Color) -> Image
874
+ external function ImageTextEx(font: Font, text: cstr, fontSize: float, spacing: float, tint: Color) -> Image
875
+ external function ImageFormat(image: ptr[Image], newFormat: int) -> void
876
+ external function ImageToPOT(image: ptr[Image], fill: Color) -> void
877
+ external function ImageCrop(image: ptr[Image], crop: Rectangle) -> void
878
+ external function ImageAlphaCrop(image: ptr[Image], threshold: float) -> void
879
+ external function ImageAlphaClear(image: ptr[Image], color: Color, threshold: float) -> void
880
+ external function ImageAlphaMask(image: ptr[Image], alphaMask: Image) -> void
881
+ external function ImageAlphaPremultiply(image: ptr[Image]) -> void
882
+ external function ImageBlurGaussian(image: ptr[Image], blurSize: int) -> void
883
+ external function ImageKernelConvolution(image: ptr[Image], kernel: const_ptr[float], kernelSize: int) -> void
884
+ external function ImageResize(image: ptr[Image], newWidth: int, newHeight: int) -> void
885
+ external function ImageResizeNN(image: ptr[Image], newWidth: int, newHeight: int) -> void
886
+ external function ImageResizeCanvas(image: ptr[Image], newWidth: int, newHeight: int, offsetX: int, offsetY: int, fill: Color) -> void
887
+ external function ImageMipmaps(image: ptr[Image]) -> void
888
+ external function ImageDither(image: ptr[Image], rBpp: int, gBpp: int, bBpp: int, aBpp: int) -> void
889
+ external function ImageFlipVertical(image: ptr[Image]) -> void
890
+ external function ImageFlipHorizontal(image: ptr[Image]) -> void
891
+ external function ImageRotate(image: ptr[Image], degrees: int) -> void
892
+ external function ImageRotateCW(image: ptr[Image]) -> void
893
+ external function ImageRotateCCW(image: ptr[Image]) -> void
894
+ external function ImageColorTint(image: ptr[Image], color: Color) -> void
895
+ external function ImageColorInvert(image: ptr[Image]) -> void
896
+ external function ImageColorGrayscale(image: ptr[Image]) -> void
897
+ external function ImageColorContrast(image: ptr[Image], contrast: float) -> void
898
+ external function ImageColorBrightness(image: ptr[Image], brightness: int) -> void
899
+ external function ImageColorReplace(image: ptr[Image], color: Color, replace: Color) -> void
900
+ external function LoadImageColors(image: Image) -> ptr[Color]?
901
+ external function LoadImagePalette(image: Image, maxPaletteSize: int, colorCount: ptr[int]) -> ptr[Color]?
902
+ external function UnloadImageColors(colors: ptr[Color]) -> void
903
+ external function UnloadImagePalette(colors: ptr[Color]) -> void
904
+ external function GetImageAlphaBorder(image: Image, threshold: float) -> Rectangle
905
+ external function GetImageColor(image: Image, x: int, y: int) -> Color
906
+ external function ImageClearBackground(dst: ptr[Image], color: Color) -> void
907
+ external function ImageDrawPixel(dst: ptr[Image], posX: int, posY: int, color: Color) -> void
908
+ external function ImageDrawPixelV(dst: ptr[Image], position: Vector2, color: Color) -> void
909
+ external function ImageDrawLine(dst: ptr[Image], startPosX: int, startPosY: int, endPosX: int, endPosY: int, color: Color) -> void
910
+ external function ImageDrawLineV(dst: ptr[Image], start: Vector2, end: Vector2, color: Color) -> void
911
+ external function ImageDrawLineEx(dst: ptr[Image], start: Vector2, end: Vector2, thick: int, color: Color) -> void
912
+ external function ImageDrawCircle(dst: ptr[Image], centerX: int, centerY: int, radius: int, color: Color) -> void
913
+ external function ImageDrawCircleV(dst: ptr[Image], center: Vector2, radius: int, color: Color) -> void
914
+ external function ImageDrawCircleLines(dst: ptr[Image], centerX: int, centerY: int, radius: int, color: Color) -> void
915
+ external function ImageDrawCircleLinesV(dst: ptr[Image], center: Vector2, radius: int, color: Color) -> void
916
+ external function ImageDrawRectangle(dst: ptr[Image], posX: int, posY: int, width: int, height: int, color: Color) -> void
917
+ external function ImageDrawRectangleV(dst: ptr[Image], position: Vector2, size: Vector2, color: Color) -> void
918
+ external function ImageDrawRectangleRec(dst: ptr[Image], rec: Rectangle, color: Color) -> void
919
+ external function ImageDrawRectangleLines(dst: ptr[Image], rec: Rectangle, thick: int, color: Color) -> void
920
+ external function ImageDrawTriangle(dst: ptr[Image], v1: Vector2, v2: Vector2, v3: Vector2, color: Color) -> void
921
+ external function ImageDrawTriangleEx(dst: ptr[Image], v1: Vector2, v2: Vector2, v3: Vector2, c1: Color, c2: Color, c3: Color) -> void
922
+ external function ImageDrawTriangleLines(dst: ptr[Image], v1: Vector2, v2: Vector2, v3: Vector2, color: Color) -> void
923
+ external function ImageDrawTriangleFan(dst: ptr[Image], points: const_ptr[Vector2], pointCount: int, color: Color) -> void
924
+ external function ImageDrawTriangleStrip(dst: ptr[Image], points: const_ptr[Vector2], pointCount: int, color: Color) -> void
925
+ external function ImageDraw(dst: ptr[Image], src: Image, srcRec: Rectangle, dstRec: Rectangle, tint: Color) -> void
926
+ external function ImageDrawText(dst: ptr[Image], text: cstr, posX: int, posY: int, fontSize: int, color: Color) -> void
927
+ external function ImageDrawTextEx(dst: ptr[Image], font: Font, text: cstr, position: Vector2, fontSize: float, spacing: float, tint: Color) -> void
928
+ external function LoadTexture(fileName: cstr) -> Texture2D
929
+ external function LoadTextureFromImage(image: Image) -> Texture2D
930
+ external function LoadTextureCubemap(image: Image, layout: int) -> TextureCubemap
931
+ external function LoadRenderTexture(width: int, height: int) -> RenderTexture2D
932
+ external function UnloadTexture(texture: Texture) -> void
933
+ external function UnloadRenderTexture(target: RenderTexture) -> void
934
+ external function UpdateTexture(texture: Texture, pixels: const_ptr[void]) -> void
935
+ external function UpdateTextureRec(texture: Texture, rec: Rectangle, pixels: const_ptr[void]) -> void
936
+ external function GenTextureMipmaps(texture: ptr[Texture2D]) -> void
937
+ external function SetTextureFilter(texture: Texture, filter: int) -> void
938
+ external function SetTextureWrap(texture: Texture, wrap: int) -> void
939
+ external function DrawTexture(texture: Texture, posX: int, posY: int, tint: Color) -> void
940
+ external function DrawTextureV(texture: Texture, position: Vector2, tint: Color) -> void
941
+ external function DrawTextureEx(texture: Texture, position: Vector2, rotation: float, scale: float, tint: Color) -> void
942
+ external function DrawTextureRec(texture: Texture, source: Rectangle, position: Vector2, tint: Color) -> void
943
+ external function DrawTexturePro(texture: Texture, source: Rectangle, dest: Rectangle, origin: Vector2, rotation: float, tint: Color) -> void
944
+ external function DrawTextureNPatch(texture: Texture, nPatchInfo: NPatchInfo, dest: Rectangle, origin: Vector2, rotation: float, tint: Color) -> void
945
+ external function Fade(color: Color, alpha: float) -> Color
946
+ external function ColorToInt(color: Color) -> int
947
+ external function ColorNormalize(color: Color) -> Vector4
948
+ external function ColorFromNormalized(normalized: Vector4) -> Color
949
+ external function ColorToHSV(color: Color) -> Vector3
950
+ external function ColorFromHSV(hue: float, saturation: float, value: float) -> Color
951
+ external function ColorTint(color: Color, tint: Color) -> Color
952
+ external function ColorBrightness(color: Color, factor: float) -> Color
953
+ external function ColorContrast(color: Color, contrast: float) -> Color
954
+ external function ColorAlpha(color: Color, alpha: float) -> Color
955
+ external function ColorAlphaBlend(dst: Color, src: Color, tint: Color) -> Color
956
+ external function ColorLerp(color1: Color, color2: Color, factor: float) -> Color
957
+ external function GetColor(hexValue: uint) -> Color
958
+ external function GetPixelColor(srcPtr: ptr[void], format: int) -> Color
959
+ external function SetPixelColor(dstPtr: ptr[void], color: Color, format: int) -> void
960
+ external function GetPixelDataSize(width: int, height: int, format: int) -> int
961
+ external function GetFontDefault() -> Font
962
+ external function LoadFont(fileName: cstr) -> Font
963
+ external function LoadFontEx(fileName: cstr, fontSize: int, codepoints: ptr[int]?, codepointCount: int) -> Font
964
+ external function LoadFontFromImage(image: Image, key: Color, firstChar: int) -> Font
965
+ external function LoadFontFromMemory(fileType: cstr, fileData: const_ptr[ubyte], dataSize: int, fontSize: int, codepoints: ptr[int]?, codepointCount: int) -> Font
966
+ external function LoadFontData(fileData: const_ptr[ubyte], dataSize: int, fontSize: int, codepoints: ptr[int]?, codepointCount: int, type_: int, glyphCount: ptr[int]) -> ptr[GlyphInfo]
967
+ external function GenImageFontAtlas(glyphs: const_ptr[GlyphInfo], glyphRecs: ptr[ptr[Rectangle]], glyphCount: int, fontSize: int, padding: int, packMethod: int) -> Image
968
+ external function UnloadFontData(glyphs: ptr[GlyphInfo], glyphCount: int) -> void
969
+ external function UnloadFont(font: Font) -> void
970
+ external function DrawFPS(posX: int, posY: int) -> void
971
+ external function DrawText(text: cstr, posX: int, posY: int, fontSize: int, color: Color) -> void
972
+ external function DrawTextEx(font: Font, text: cstr, position: Vector2, fontSize: float, spacing: float, tint: Color) -> void
973
+ external function DrawTextPro(font: Font, text: cstr, position: Vector2, origin: Vector2, rotation: float, fontSize: float, spacing: float, tint: Color) -> void
974
+ external function DrawTextCodepoint(font: Font, codepoint: int, position: Vector2, fontSize: float, tint: Color) -> void
975
+ external function DrawTextCodepoints(font: Font, codepoints: const_ptr[int], codepointCount: int, position: Vector2, fontSize: float, spacing: float, tint: Color) -> void
976
+ external function SetTextLineSpacing(spacing: int) -> void
977
+ external function MeasureText(text: cstr, fontSize: int) -> int
978
+ external function MeasureTextEx(font: Font, text: cstr, fontSize: float, spacing: float) -> Vector2
979
+ external function MeasureTextCodepoints(font: Font, codepoints: const_ptr[int], length: int, fontSize: float, spacing: float) -> Vector2
980
+ external function GetGlyphIndex(font: Font, codepoint: int) -> int
981
+ external function GetGlyphInfo(font: Font, codepoint: int) -> GlyphInfo
982
+ external function GetGlyphAtlasRec(font: Font, codepoint: int) -> Rectangle
983
+ external function LoadUTF8(codepoints: const_ptr[int], length: int) -> ptr[char]?
984
+ external function UnloadUTF8(text: ptr[char]) -> void
985
+ external function LoadCodepoints(text: cstr, count: ptr[int]) -> ptr[int]?
986
+ external function UnloadCodepoints(codepoints: ptr[int]) -> void
987
+ external function GetCodepointCount(text: cstr) -> int
988
+ external function GetCodepoint(text: cstr, codepointSize: ptr[int]) -> int
989
+ external function GetCodepointNext(text: cstr, codepointSize: ptr[int]) -> int
990
+ external function GetCodepointPrevious(text: cstr, codepointSize: ptr[int]) -> int
991
+ external function CodepointToUTF8(codepoint: int, utf8Size: ptr[int]) -> cstr
992
+ external function LoadTextLines(text: cstr, count: ptr[int]) -> ptr[ptr[char]]
993
+ external function UnloadTextLines(text: ptr[ptr[char]], lineCount: int) -> void
994
+ external function TextCopy(dst: ptr[char], src: cstr) -> int
995
+ external function TextLength(text: cstr) -> uint
996
+ external function TextFormat(text: cstr, ...) -> cstr
997
+ external function TextSubtext(text: cstr, position: int, length: int) -> cstr
998
+ external function TextRemoveSpaces(text: cstr) -> cstr
999
+ external function GetTextBetween(text: cstr, begin: cstr, end: cstr) -> ptr[char]
1000
+ external function TextReplace(text: cstr, search: cstr, replacement: cstr) -> ptr[char]
1001
+ external function TextReplaceAlloc(text: cstr, search: cstr, replacement: cstr) -> ptr[char]
1002
+ external function TextReplaceBetween(text: cstr, begin: cstr, end: cstr, replacement: cstr) -> ptr[char]
1003
+ external function TextReplaceBetweenAlloc(text: cstr, begin: cstr, end: cstr, replacement: cstr) -> ptr[char]
1004
+ external function TextInsert(text: cstr, insert: cstr, position: int) -> ptr[char]
1005
+ external function TextInsertAlloc(text: cstr, insert: cstr, position: int) -> ptr[char]
1006
+ external function TextJoin(textList: ptr[ptr[char]], count: int, delimiter: cstr) -> ptr[char]
1007
+ external function TextSplit(text: cstr, delimiter: char, count: ptr[int]) -> ptr[ptr[char]]
1008
+ external function TextAppend(text: ptr[char], append: cstr, position: ptr[int]) -> void
1009
+ external function TextFindIndex(text: cstr, search: cstr) -> int
1010
+ external function TextToUpper(text: cstr) -> ptr[char]
1011
+ external function TextToLower(text: cstr) -> ptr[char]
1012
+ external function TextToPascal(text: cstr) -> ptr[char]
1013
+ external function TextToSnake(text: cstr) -> ptr[char]
1014
+ external function TextToCamel(text: cstr) -> ptr[char]
1015
+ external function TextToInteger(text: cstr) -> int
1016
+ external function TextToFloat(text: cstr) -> float
1017
+ external function DrawLine3D(startPos: Vector3, endPos: Vector3, color: Color) -> void
1018
+ external function DrawPoint3D(position: Vector3, color: Color) -> void
1019
+ external function DrawCircle3D(center: Vector3, radius: float, rotationAxis: Vector3, rotationAngle: float, color: Color) -> void
1020
+ external function DrawTriangle3D(v1: Vector3, v2: Vector3, v3: Vector3, color: Color) -> void
1021
+ external function DrawTriangleStrip3D(points: const_ptr[Vector3], pointCount: int, color: Color) -> void
1022
+ external function DrawCube(position: Vector3, width: float, height: float, length: float, color: Color) -> void
1023
+ external function DrawCubeV(position: Vector3, size: Vector3, color: Color) -> void
1024
+ external function DrawCubeWires(position: Vector3, width: float, height: float, length: float, color: Color) -> void
1025
+ external function DrawCubeWiresV(position: Vector3, size: Vector3, color: Color) -> void
1026
+ external function DrawSphere(centerPos: Vector3, radius: float, color: Color) -> void
1027
+ external function DrawSphereEx(centerPos: Vector3, radius: float, rings: int, slices: int, color: Color) -> void
1028
+ external function DrawSphereWires(centerPos: Vector3, radius: float, rings: int, slices: int, color: Color) -> void
1029
+ external function DrawCylinder(position: Vector3, radiusTop: float, radiusBottom: float, height: float, slices: int, color: Color) -> void
1030
+ external function DrawCylinderEx(startPos: Vector3, endPos: Vector3, startRadius: float, endRadius: float, sides: int, color: Color) -> void
1031
+ external function DrawCylinderWires(position: Vector3, radiusTop: float, radiusBottom: float, height: float, slices: int, color: Color) -> void
1032
+ external function DrawCylinderWiresEx(startPos: Vector3, endPos: Vector3, startRadius: float, endRadius: float, sides: int, color: Color) -> void
1033
+ external function DrawCapsule(startPos: Vector3, endPos: Vector3, radius: float, slices: int, rings: int, color: Color) -> void
1034
+ external function DrawCapsuleWires(startPos: Vector3, endPos: Vector3, radius: float, slices: int, rings: int, color: Color) -> void
1035
+ external function DrawPlane(centerPos: Vector3, size: Vector2, color: Color) -> void
1036
+ external function DrawRay(ray: Ray, color: Color) -> void
1037
+ external function DrawGrid(slices: int, spacing: float) -> void
1038
+ external function LoadModel(fileName: cstr) -> Model
1039
+ external function LoadModelFromMesh(mesh: Mesh) -> Model
1040
+ external function UnloadModel(model: Model) -> void
1041
+ external function GetModelBoundingBox(model: Model) -> BoundingBox
1042
+ external function DrawModel(model: Model, position: Vector3, scale: float, tint: Color) -> void
1043
+ external function DrawModelEx(model: Model, position: Vector3, rotationAxis: Vector3, rotationAngle: float, scale: Vector3, tint: Color) -> void
1044
+ external function DrawModelWires(model: Model, position: Vector3, scale: float, tint: Color) -> void
1045
+ external function DrawModelWiresEx(model: Model, position: Vector3, rotationAxis: Vector3, rotationAngle: float, scale: Vector3, tint: Color) -> void
1046
+ external function DrawBoundingBox(box: BoundingBox, color: Color) -> void
1047
+ external function DrawBillboard(camera: Camera3D, texture: Texture, position: Vector3, scale: float, tint: Color) -> void
1048
+ external function DrawBillboardRec(camera: Camera3D, texture: Texture, source: Rectangle, position: Vector3, size: Vector2, tint: Color) -> void
1049
+ external function DrawBillboardPro(camera: Camera3D, texture: Texture, source: Rectangle, position: Vector3, up: Vector3, size: Vector2, origin: Vector2, rotation: float, tint: Color) -> void
1050
+ external function UploadMesh(mesh: ptr[Mesh], dynamic: bool) -> void
1051
+ external function UpdateMeshBuffer(mesh: Mesh, index: int, data: const_ptr[void], dataSize: int, offset: int) -> void
1052
+ external function UnloadMesh(mesh: Mesh) -> void
1053
+ external function DrawMesh(mesh: Mesh, material: Material, transform: Matrix) -> void
1054
+ external function DrawMeshInstanced(mesh: Mesh, material: Material, transforms: const_ptr[Matrix], instances: int) -> void
1055
+ external function GetMeshBoundingBox(mesh: Mesh) -> BoundingBox
1056
+ external function GenMeshTangents(mesh: ptr[Mesh]) -> void
1057
+ external function GenMeshPoly(sides: int, radius: float) -> Mesh
1058
+ external function GenMeshPlane(width: float, length: float, resX: int, resZ: int) -> Mesh
1059
+ external function GenMeshCube(width: float, height: float, length: float) -> Mesh
1060
+ external function GenMeshSphere(radius: float, rings: int, slices: int) -> Mesh
1061
+ external function GenMeshHemiSphere(radius: float, rings: int, slices: int) -> Mesh
1062
+ external function GenMeshCylinder(radius: float, height: float, slices: int) -> Mesh
1063
+ external function GenMeshCone(radius: float, height: float, slices: int) -> Mesh
1064
+ external function GenMeshTorus(radius: float, size: float, radSeg: int, sides: int) -> Mesh
1065
+ external function GenMeshKnot(radius: float, size: float, radSeg: int, sides: int) -> Mesh
1066
+ external function GenMeshHeightmap(heightmap: Image, size: Vector3) -> Mesh
1067
+ external function GenMeshCubicmap(cubicmap: Image, cubeSize: Vector3) -> Mesh
1068
+ external function LoadMaterials(fileName: cstr, materialCount: ptr[int]) -> ptr[Material]?
1069
+ external function LoadMaterialDefault() -> Material
1070
+ external function UnloadMaterial(material: Material) -> void
1071
+ external function SetMaterialTexture(material: ptr[Material], mapType: int, texture: Texture) -> void
1072
+ external function SetModelMeshMaterial(model: ptr[Model], meshId: int, materialId: int) -> void
1073
+ external function LoadModelAnimations(fileName: cstr, animCount: ptr[int]) -> ptr[ModelAnimation]?
1074
+ external function UpdateModelAnimation(model: Model, anim: ModelAnimation, frame: float) -> void
1075
+ external function UpdateModelAnimationEx(model: Model, animA: ModelAnimation, frameA: float, animB: ModelAnimation, frameB: float, blend: float) -> void
1076
+ external function UnloadModelAnimations(animations: ptr[ModelAnimation], animCount: int) -> void
1077
+ external function GetRayCollisionSphere(ray: Ray, center: Vector3, radius: float) -> RayCollision
1078
+ external function GetRayCollisionBox(ray: Ray, box: BoundingBox) -> RayCollision
1079
+ external function GetRayCollisionMesh(ray: Ray, mesh: Mesh, transform: Matrix) -> RayCollision
1080
+ external function GetRayCollisionTriangle(ray: Ray, p1: Vector3, p2: Vector3, p3: Vector3) -> RayCollision
1081
+ external function GetRayCollisionQuad(ray: Ray, p1: Vector3, p2: Vector3, p3: Vector3, p4: Vector3) -> RayCollision
1082
+
1083
+ type AudioCallback = fn(arg0: ptr[void], arg1: uint) -> void
1084
+
1085
+ external function InitAudioDevice() -> void
1086
+ external function CloseAudioDevice() -> void
1087
+ external function SetMasterVolume(volume: float) -> void
1088
+ external function GetMasterVolume() -> float
1089
+ external function LoadWave(fileName: cstr) -> Wave
1090
+ external function LoadWaveFromMemory(fileType: cstr, fileData: const_ptr[ubyte], dataSize: int) -> Wave
1091
+ external function LoadSound(fileName: cstr) -> Sound
1092
+ external function LoadSoundFromWave(wave: Wave) -> Sound
1093
+ external function LoadSoundAlias(source: Sound) -> Sound
1094
+ external function UpdateSound(sound: Sound, data: const_ptr[void], sampleCount: int) -> void
1095
+ external function UnloadWave(wave: Wave) -> void
1096
+ external function UnloadSound(sound: Sound) -> void
1097
+ external function UnloadSoundAlias(alias: Sound) -> void
1098
+ external function PlaySound(sound: Sound) -> void
1099
+ external function StopSound(sound: Sound) -> void
1100
+ external function PauseSound(sound: Sound) -> void
1101
+ external function ResumeSound(sound: Sound) -> void
1102
+ external function SetSoundVolume(sound: Sound, volume: float) -> void
1103
+ external function SetSoundPitch(sound: Sound, pitch: float) -> void
1104
+ external function SetSoundPan(sound: Sound, pan: float) -> void
1105
+ external function WaveCopy(wave: Wave) -> Wave
1106
+ external function WaveCrop(wave: ptr[Wave], initFrame: int, finalFrame: int) -> void
1107
+ external function WaveFormat(wave: ptr[Wave], sampleRate: int, sampleSize: int, channels: int) -> void
1108
+ external function LoadWaveSamples(wave: Wave) -> ptr[float]?
1109
+ external function UnloadWaveSamples(samples: ptr[float]) -> void
1110
+ external function LoadMusicStream(fileName: cstr) -> Music
1111
+ external function LoadMusicStreamFromMemory(fileType: cstr, data: const_ptr[ubyte], dataSize: int) -> Music
1112
+ external function UnloadMusicStream(music: Music) -> void
1113
+ external function PlayMusicStream(music: Music) -> void
1114
+ external function UpdateMusicStream(music: Music) -> void
1115
+ external function StopMusicStream(music: Music) -> void
1116
+ external function PauseMusicStream(music: Music) -> void
1117
+ external function ResumeMusicStream(music: Music) -> void
1118
+ external function SeekMusicStream(music: Music, position: float) -> void
1119
+ external function SetMusicVolume(music: Music, volume: float) -> void
1120
+ external function SetMusicPitch(music: Music, pitch: float) -> void
1121
+ external function SetMusicPan(music: Music, pan: float) -> void
1122
+ external function GetMusicTimeLength(music: Music) -> float
1123
+ external function GetMusicTimePlayed(music: Music) -> float
1124
+ external function LoadAudioStream(sampleRate: uint, sampleSize: uint, channels: uint) -> AudioStream
1125
+ external function UnloadAudioStream(stream: AudioStream) -> void
1126
+ external function UpdateAudioStream(stream: AudioStream, data: const_ptr[void], frameCount: int) -> void
1127
+ external function PlayAudioStream(stream: AudioStream) -> void
1128
+ external function PauseAudioStream(stream: AudioStream) -> void
1129
+ external function ResumeAudioStream(stream: AudioStream) -> void
1130
+ external function StopAudioStream(stream: AudioStream) -> void
1131
+ external function SetAudioStreamVolume(stream: AudioStream, volume: float) -> void
1132
+ external function SetAudioStreamPitch(stream: AudioStream, pitch: float) -> void
1133
+ external function SetAudioStreamPan(stream: AudioStream, pan: float) -> void
1134
+ external function SetAudioStreamBufferSizeDefault(size: int) -> void
1135
+ external function SetAudioStreamCallback(stream: AudioStream, callback: fn(arg0: ptr[void], arg1: uint) -> void) -> void
1136
+ external function AttachAudioStreamProcessor(stream: AudioStream, processor: fn(arg0: ptr[void], arg1: uint) -> void) -> void
1137
+ external function DetachAudioStreamProcessor(stream: AudioStream, processor: fn(arg0: ptr[void], arg1: uint) -> void) -> void
1138
+ external function AttachAudioMixedProcessor(processor: fn(arg0: ptr[void], arg1: uint) -> void) -> void
1139
+ external function DetachAudioMixedProcessor(processor: fn(arg0: ptr[void], arg1: uint) -> void) -> void
1140
+
1141
+ struct GuiStyleProp:
1142
+ controlId: ushort
1143
+ propertyId: ushort
1144
+ propertyValue: int
1145
+
1146
+ flags GuiResult: int
1147
+ RESULT_NONE = 0
1148
+ RESULT_PRESSED = 1
1149
+ RESULT_CHANGED = 2
1150
+ RESULT_TAB_CLOSE = 4
1151
+
1152
+ enum GuiState: int
1153
+ STATE_NORMAL = 0
1154
+ STATE_FOCUSED = 1
1155
+ STATE_PRESSED = 2
1156
+ STATE_DISABLED = 3
1157
+
1158
+ flags GuiTextAlignment: int
1159
+ TEXT_ALIGN_LEFT = 0
1160
+ TEXT_ALIGN_CENTER = 1
1161
+ TEXT_ALIGN_RIGHT = 2
1162
+ flags GuiTextAlignmentVertical: int
1163
+ TEXT_ALIGN_TOP = 0
1164
+ TEXT_ALIGN_MIDDLE = 1
1165
+ TEXT_ALIGN_BOTTOM = 2
1166
+ flags GuiTextWrapMode: int
1167
+ TEXT_WRAP_NONE = 0
1168
+ TEXT_WRAP_CHAR = 1
1169
+ TEXT_WRAP_WORD = 2
1170
+
1171
+ enum GuiControl: int
1172
+ DEFAULT = 0
1173
+ LABEL = 1
1174
+ BUTTON = 2
1175
+ TOGGLE = 3
1176
+ SLIDER = 4
1177
+ PROGRESSBAR = 5
1178
+ CHECKBOX = 6
1179
+ COMBOBOX = 7
1180
+ DROPDOWNBOX = 8
1181
+ TEXTBOX = 9
1182
+ VALUEBOX = 10
1183
+ TABBAR = 11
1184
+ LISTVIEW = 12
1185
+ COLORPICKER = 13
1186
+ SCROLLBAR = 14
1187
+ STATUSBAR = 15
1188
+
1189
+ enum GuiControlProperty: int
1190
+ BORDER_COLOR_NORMAL = 0
1191
+ BASE_COLOR_NORMAL = 1
1192
+ TEXT_COLOR_NORMAL = 2
1193
+ BORDER_COLOR_FOCUSED = 3
1194
+ BASE_COLOR_FOCUSED = 4
1195
+ TEXT_COLOR_FOCUSED = 5
1196
+ BORDER_COLOR_PRESSED = 6
1197
+ BASE_COLOR_PRESSED = 7
1198
+ TEXT_COLOR_PRESSED = 8
1199
+ BORDER_COLOR_DISABLED = 9
1200
+ BASE_COLOR_DISABLED = 10
1201
+ TEXT_COLOR_DISABLED = 11
1202
+ BORDER_WIDTH = 12
1203
+ TEXT_PADDING = 13
1204
+ TEXT_ALIGNMENT = 14
1205
+ BASEPROP16 = 15
1206
+
1207
+ enum GuiDefaultProperty: int
1208
+ TEXT_SIZE = 16
1209
+ TEXT_SPACING = 17
1210
+ LINE_COLOR = 18
1211
+ BACKGROUND_COLOR = 19
1212
+ TEXT_LINE_SPACING = 20
1213
+ TEXT_ALIGNMENT_VERTICAL = 21
1214
+ TEXT_WRAP_MODE = 22
1215
+ EXTPROP08 = 23
1216
+
1217
+ enum GuiToggleProperty: int
1218
+ GROUP_PADDING = 16
1219
+ GROUP_WIDTH_FULL = 17
1220
+
1221
+ enum GuiSliderProperty: int
1222
+ SLIDER_WIDTH = 16
1223
+ SLIDER_PADDING = 17
1224
+
1225
+ enum GuiProgressBarProperty: int
1226
+ PROGRESS_PADDING = 16
1227
+ PROGRESS_SIDE = 17
1228
+
1229
+ enum GuiScrollBarProperty: int
1230
+ ARROWS_SIZE = 16
1231
+ ARROWS_VISIBLE = 17
1232
+ SCROLL_SLIDER_PADDING = 18
1233
+ SCROLL_SLIDER_SIZE = 19
1234
+ SCROLL_PADDING = 20
1235
+ SCROLL_SPEED = 21
1236
+
1237
+ flags GuiCheckBoxProperty: int
1238
+ CHECK_PADDING = 16
1239
+
1240
+ enum GuiComboBoxProperty: int
1241
+ COMBO_BUTTON_WIDTH = 16
1242
+ COMBO_BUTTON_SPACING = 17
1243
+
1244
+ enum GuiDropdownBoxProperty: int
1245
+ ARROW_PADDING = 16
1246
+ DROPDOWN_ITEMS_SPACING = 17
1247
+ DROPDOWN_ARROW_HIDDEN = 18
1248
+ DROPDOWN_ROLL_UP = 19
1249
+
1250
+ flags GuiTextBoxProperty: int
1251
+ TEXT_READONLY = 16
1252
+
1253
+ enum GuiValueBoxProperty: int
1254
+ SPINNER_BUTTON_WIDTH = 16
1255
+ SPINNER_BUTTON_SPACING = 17
1256
+
1257
+ enum GuiTabBarProperty: int
1258
+ TAB_ITEMS_WIDTH = 16
1259
+ TAB_CLOSE_BUTTON = 17
1260
+ TAB_LINE_SIDE = 18
1261
+
1262
+ enum GuiListViewProperty: int
1263
+ LIST_ITEMS_HEIGHT = 16
1264
+ LIST_ITEMS_SPACING = 17
1265
+ SCROLLBAR_WIDTH = 18
1266
+ SCROLLBAR_SIDE = 19
1267
+ LIST_ITEMS_BORDER_NORMAL = 20
1268
+ LIST_ITEMS_BORDER_WIDTH = 21
1269
+
1270
+ enum GuiColorPickerProperty: int
1271
+ COLOR_SELECTOR_SIZE = 16
1272
+ HUEBAR_WIDTH = 17
1273
+ HUEBAR_PADDING = 18
1274
+ HUEBAR_SELECTOR_HEIGHT = 19
1275
+ HUEBAR_SELECTOR_OVERFLOW = 20
1276
+
1277
+ external function GuiEnable() -> void
1278
+ external function GuiDisable() -> void
1279
+ external function GuiLock() -> void
1280
+ external function GuiUnlock() -> void
1281
+ external function GuiIsLocked() -> bool
1282
+ external function GuiSetAlpha(alpha: float) -> void
1283
+ external function GuiSetState(state: int) -> void
1284
+ external function GuiGetState() -> int
1285
+ external function GuiSetFont(font: Font) -> void
1286
+ external function GuiGetFont() -> Font
1287
+ external function GuiSetStyle(control: int, property: int, value: int) -> void
1288
+ external function GuiGetStyle(control: int, property: int) -> int
1289
+ external function GuiLoadStyle(fileName: cstr) -> void
1290
+ external function GuiLoadStyleFromMemory(fileData: const_ptr[ubyte], dataSize: int) -> void
1291
+ external function GuiLoadStyleDefault() -> void
1292
+ external function GuiEnableTooltip() -> void
1293
+ external function GuiDisableTooltip() -> void
1294
+ external function GuiSetTooltip(tooltip: cstr) -> void
1295
+ external function GuiIconText(iconId: int, text: cstr) -> cstr
1296
+ external function GuiSetIconScale(scale: int) -> void
1297
+ external function GuiGetIcons() -> ptr[uint]
1298
+ external function GuiLoadIcons(fileName: cstr, loadIconsName: bool) -> ptr[ptr[char]]?
1299
+ external function GuiLoadIconsFromMemory(fileData: const_ptr[ubyte], dataSize: int, loadIconsName: bool) -> ptr[ptr[char]]
1300
+ external function GuiDrawIcon(iconId: int, posX: int, posY: int, pixelSize: int, color: Color) -> void
1301
+ external function GuiGetTextWidth(text: cstr) -> int
1302
+ external function GuiWindowBox(bounds: Rectangle, title: cstr) -> int
1303
+ external function GuiGroupBox(bounds: Rectangle, text: cstr) -> int
1304
+ external function GuiLine(bounds: Rectangle, text: cstr) -> int
1305
+ external function GuiPanel(bounds: Rectangle, text: cstr) -> int
1306
+ external function GuiScrollPanel(bounds: Rectangle, text: cstr, content: Rectangle, scroll: ptr[Vector2], view: ptr[Rectangle]) -> int
1307
+ external function GuiLabel(bounds: Rectangle, text: cstr) -> int
1308
+ external function GuiButton(bounds: Rectangle, text: cstr) -> int
1309
+ external function GuiLabelButton(bounds: Rectangle, text: cstr) -> int
1310
+ external function GuiToggle(bounds: Rectangle, text: cstr, active: ptr[bool]) -> int
1311
+ external function GuiToggleGroup(bounds: Rectangle, text: cstr, active: ptr[int]) -> int
1312
+ external function GuiToggleSlider(bounds: Rectangle, text: cstr, active: ptr[int]) -> int
1313
+ external function GuiCheckBox(bounds: Rectangle, text: cstr, checked: ptr[bool]) -> int
1314
+ external function GuiComboBox(bounds: Rectangle, text: cstr, active: ptr[int]) -> int
1315
+ external function GuiDropdownBox(bounds: Rectangle, text: cstr, active: ptr[int], editMode: bool) -> int
1316
+ external function GuiSpinner(bounds: Rectangle, text: cstr, value: ptr[int], minValue: int, maxValue: int, editMode: bool) -> int
1317
+ external function GuiValueBox(bounds: Rectangle, text: cstr, value: ptr[int], minValue: int, maxValue: int, editMode: bool) -> int
1318
+ external function GuiValueBoxFloat(bounds: Rectangle, text: cstr, textValue: ptr[char], value: ptr[float], editMode: bool) -> int
1319
+ external function GuiTextBox(bounds: Rectangle, text: ptr[char], textSize: int, editMode: bool) -> int
1320
+ external function GuiSlider(bounds: Rectangle, textLeft: cstr, textRight: cstr, value: ptr[float], minValue: float, maxValue: float) -> int
1321
+ external function GuiSliderBar(bounds: Rectangle, textLeft: cstr, textRight: cstr, value: ptr[float], minValue: float, maxValue: float) -> int
1322
+ external function GuiProgressBar(bounds: Rectangle, textLeft: cstr, textRight: cstr, value: ptr[float], minValue: float, maxValue: float) -> int
1323
+ external function GuiStatusBar(bounds: Rectangle, text: cstr) -> int
1324
+ external function GuiDummyRec(bounds: Rectangle, text: cstr) -> int
1325
+ external function GuiGrid(bounds: Rectangle, text: cstr, spacing: float, subdivs: int, mouseCell: ptr[Vector2]) -> int
1326
+ external function GuiListView(bounds: Rectangle, text: cstr, scrollIndex: ptr[int], active: ptr[int]) -> int
1327
+ external function GuiListViewEx(bounds: Rectangle, text: ptr[ptr[char]], count: int, scrollIndex: ptr[int], active: ptr[int], focus: ptr[int]) -> int
1328
+ external function GuiTabBar(bounds: Rectangle, text: cstr, hscroll: ptr[int], active: ptr[int]) -> int
1329
+ external function GuiTabBarEx(bounds: Rectangle, text: ptr[ptr[char]], count: int, hscroll: ptr[int], active: ptr[int], focus: ptr[int]) -> int
1330
+ external function GuiMessageBox(bounds: Rectangle, title: cstr, message: cstr, btnText: cstr, btnActive: ptr[int]) -> int
1331
+ external function GuiTextInputBox(bounds: Rectangle, title: cstr, message: cstr, text: ptr[char], textSize: int, btnText: cstr, btnActive: ptr[int], secretViewActive: ptr[bool]) -> int
1332
+ external function GuiColorPicker(bounds: Rectangle, text: cstr, color: ptr[Color]) -> int
1333
+ external function GuiColorPanel(bounds: Rectangle, text: cstr, color: ptr[Color]) -> int
1334
+ external function GuiColorBarAlpha(bounds: Rectangle, text: cstr, alpha: ptr[float]) -> int
1335
+ external function GuiColorBarHue(bounds: Rectangle, text: cstr, value: ptr[float]) -> int
1336
+ external function GuiColorPickerHSV(bounds: Rectangle, text: cstr, colorHsv: ptr[Vector3]) -> int
1337
+ external function GuiColorPanelHSV(bounds: Rectangle, text: cstr, colorHsv: ptr[Vector3]) -> int
1338
+
1339
+ enum GuiIconName: int
1340
+ ICON_NONE = 0
1341
+ ICON_FOLDER_FILE_OPEN = 1
1342
+ ICON_FILE_SAVE_CLASSIC = 2
1343
+ ICON_FOLDER_OPEN = 3
1344
+ ICON_FOLDER_SAVE = 4
1345
+ ICON_FILE_OPEN = 5
1346
+ ICON_FILE_SAVE = 6
1347
+ ICON_FILE_EXPORT = 7
1348
+ ICON_FILE_ADD = 8
1349
+ ICON_FILE_DELETE = 9
1350
+ ICON_FILETYPE_TEXT = 10
1351
+ ICON_FILETYPE_AUDIO = 11
1352
+ ICON_FILETYPE_IMAGE = 12
1353
+ ICON_FILETYPE_PLAY = 13
1354
+ ICON_FILETYPE_VIDEO = 14
1355
+ ICON_FILETYPE_INFO = 15
1356
+ ICON_FILE_COPY = 16
1357
+ ICON_FILE_CUT = 17
1358
+ ICON_FILE_PASTE = 18
1359
+ ICON_CURSOR_HAND = 19
1360
+ ICON_CURSOR_POINTER = 20
1361
+ ICON_CURSOR_CLASSIC = 21
1362
+ ICON_PENCIL = 22
1363
+ ICON_PENCIL_BIG = 23
1364
+ ICON_BRUSH_CLASSIC = 24
1365
+ ICON_BRUSH_PAINTER = 25
1366
+ ICON_WATER_DROP = 26
1367
+ ICON_COLOR_PICKER = 27
1368
+ ICON_RUBBER = 28
1369
+ ICON_COLOR_BUCKET = 29
1370
+ ICON_TEXT_T = 30
1371
+ ICON_TEXT_A = 31
1372
+ ICON_SCALE = 32
1373
+ ICON_RESIZE = 33
1374
+ ICON_FILTER_POINT = 34
1375
+ ICON_FILTER_BILINEAR = 35
1376
+ ICON_CROP = 36
1377
+ ICON_CROP_ALPHA = 37
1378
+ ICON_SQUARE_TOGGLE = 38
1379
+ ICON_SYMMETRY = 39
1380
+ ICON_SYMMETRY_HORIZONTAL = 40
1381
+ ICON_SYMMETRY_VERTICAL = 41
1382
+ ICON_LENS = 42
1383
+ ICON_LENS_BIG = 43
1384
+ ICON_EYE_ON = 44
1385
+ ICON_EYE_OFF = 45
1386
+ ICON_FILTER_TOP = 46
1387
+ ICON_FILTER = 47
1388
+ ICON_TARGET_POINT = 48
1389
+ ICON_TARGET_SMALL = 49
1390
+ ICON_TARGET_BIG = 50
1391
+ ICON_TARGET_MOVE = 51
1392
+ ICON_CURSOR_MOVE = 52
1393
+ ICON_CURSOR_SCALE = 53
1394
+ ICON_CURSOR_SCALE_RIGHT = 54
1395
+ ICON_CURSOR_SCALE_LEFT = 55
1396
+ ICON_UNDO = 56
1397
+ ICON_REDO = 57
1398
+ ICON_REREDO = 58
1399
+ ICON_MUTATE = 59
1400
+ ICON_ROTATE = 60
1401
+ ICON_REPEAT = 61
1402
+ ICON_SHUFFLE = 62
1403
+ ICON_EMPTYBOX = 63
1404
+ ICON_TARGET = 64
1405
+ ICON_TARGET_SMALL_FILL = 65
1406
+ ICON_TARGET_BIG_FILL = 66
1407
+ ICON_TARGET_MOVE_FILL = 67
1408
+ ICON_CURSOR_MOVE_FILL = 68
1409
+ ICON_CURSOR_SCALE_FILL = 69
1410
+ ICON_CURSOR_SCALE_RIGHT_FILL = 70
1411
+ ICON_CURSOR_SCALE_LEFT_FILL = 71
1412
+ ICON_UNDO_FILL = 72
1413
+ ICON_REDO_FILL = 73
1414
+ ICON_REREDO_FILL = 74
1415
+ ICON_MUTATE_FILL = 75
1416
+ ICON_ROTATE_FILL = 76
1417
+ ICON_REPEAT_FILL = 77
1418
+ ICON_SHUFFLE_FILL = 78
1419
+ ICON_EMPTYBOX_SMALL = 79
1420
+ ICON_BOX = 80
1421
+ ICON_BOX_TOP = 81
1422
+ ICON_BOX_TOP_RIGHT = 82
1423
+ ICON_BOX_RIGHT = 83
1424
+ ICON_BOX_BOTTOM_RIGHT = 84
1425
+ ICON_BOX_BOTTOM = 85
1426
+ ICON_BOX_BOTTOM_LEFT = 86
1427
+ ICON_BOX_LEFT = 87
1428
+ ICON_BOX_TOP_LEFT = 88
1429
+ ICON_BOX_CENTER = 89
1430
+ ICON_BOX_CIRCLE_MASK = 90
1431
+ ICON_POT = 91
1432
+ ICON_ALPHA_MULTIPLY = 92
1433
+ ICON_ALPHA_CLEAR = 93
1434
+ ICON_DITHERING = 94
1435
+ ICON_MIPMAPS = 95
1436
+ ICON_BOX_GRID = 96
1437
+ ICON_GRID = 97
1438
+ ICON_BOX_CORNERS_SMALL = 98
1439
+ ICON_BOX_CORNERS_BIG = 99
1440
+ ICON_FOUR_BOXES = 100
1441
+ ICON_GRID_FILL = 101
1442
+ ICON_BOX_MULTISIZE = 102
1443
+ ICON_ZOOM_SMALL = 103
1444
+ ICON_ZOOM_MEDIUM = 104
1445
+ ICON_ZOOM_BIG = 105
1446
+ ICON_ZOOM_ALL = 106
1447
+ ICON_ZOOM_CENTER = 107
1448
+ ICON_BOX_DOTS_SMALL = 108
1449
+ ICON_BOX_DOTS_BIG = 109
1450
+ ICON_BOX_CONCENTRIC = 110
1451
+ ICON_BOX_GRID_BIG = 111
1452
+ ICON_OK_TICK = 112
1453
+ ICON_CROSS = 113
1454
+ ICON_ARROW_LEFT = 114
1455
+ ICON_ARROW_RIGHT = 115
1456
+ ICON_ARROW_DOWN = 116
1457
+ ICON_ARROW_UP = 117
1458
+ ICON_ARROW_LEFT_FILL = 118
1459
+ ICON_ARROW_RIGHT_FILL = 119
1460
+ ICON_ARROW_DOWN_FILL = 120
1461
+ ICON_ARROW_UP_FILL = 121
1462
+ ICON_AUDIO = 122
1463
+ ICON_FX = 123
1464
+ ICON_WAVE = 124
1465
+ ICON_WAVE_SINUS = 125
1466
+ ICON_WAVE_SQUARE = 126
1467
+ ICON_WAVE_TRIANGULAR = 127
1468
+ ICON_CROSS_SMALL = 128
1469
+ ICON_PLAYER_PREVIOUS = 129
1470
+ ICON_PLAYER_PLAY_BACK = 130
1471
+ ICON_PLAYER_PLAY = 131
1472
+ ICON_PLAYER_PAUSE = 132
1473
+ ICON_PLAYER_STOP = 133
1474
+ ICON_PLAYER_NEXT = 134
1475
+ ICON_PLAYER_RECORD = 135
1476
+ ICON_MAGNET = 136
1477
+ ICON_LOCK_CLOSE = 137
1478
+ ICON_LOCK_OPEN = 138
1479
+ ICON_CLOCK = 139
1480
+ ICON_TOOLS = 140
1481
+ ICON_GEAR = 141
1482
+ ICON_GEAR_BIG = 142
1483
+ ICON_BIN = 143
1484
+ ICON_HAND_POINTER = 144
1485
+ ICON_LASER = 145
1486
+ ICON_COIN = 146
1487
+ ICON_EXPLOSION = 147
1488
+ ICON_1UP = 148
1489
+ ICON_PLAYER = 149
1490
+ ICON_PLAYER_JUMP = 150
1491
+ ICON_KEY = 151
1492
+ ICON_DEMON = 152
1493
+ ICON_TEXT_POPUP = 153
1494
+ ICON_GEAR_EX = 154
1495
+ ICON_CRACK = 155
1496
+ ICON_CRACK_POINTS = 156
1497
+ ICON_STAR = 157
1498
+ ICON_DOOR = 158
1499
+ ICON_EXIT = 159
1500
+ ICON_MODE_2D = 160
1501
+ ICON_MODE_3D = 161
1502
+ ICON_CUBE = 162
1503
+ ICON_CUBE_FACE_TOP = 163
1504
+ ICON_CUBE_FACE_LEFT = 164
1505
+ ICON_CUBE_FACE_FRONT = 165
1506
+ ICON_CUBE_FACE_BOTTOM = 166
1507
+ ICON_CUBE_FACE_RIGHT = 167
1508
+ ICON_CUBE_FACE_BACK = 168
1509
+ ICON_CAMERA = 169
1510
+ ICON_SPECIAL = 170
1511
+ ICON_LINK_NET = 171
1512
+ ICON_LINK_BOXES = 172
1513
+ ICON_LINK_MULTI = 173
1514
+ ICON_LINK = 174
1515
+ ICON_LINK_BROKE = 175
1516
+ ICON_TEXT_NOTES = 176
1517
+ ICON_NOTEBOOK = 177
1518
+ ICON_SUITCASE = 178
1519
+ ICON_SUITCASE_ZIP = 179
1520
+ ICON_MAILBOX = 180
1521
+ ICON_MONITOR = 181
1522
+ ICON_PRINTER = 182
1523
+ ICON_PHOTO_CAMERA = 183
1524
+ ICON_PHOTO_CAMERA_FLASH = 184
1525
+ ICON_HOUSE = 185
1526
+ ICON_HEART = 186
1527
+ ICON_CORNER = 187
1528
+ ICON_VERTICAL_BARS = 188
1529
+ ICON_VERTICAL_BARS_FILL = 189
1530
+ ICON_LIFE_BARS = 190
1531
+ ICON_INFO = 191
1532
+ ICON_CROSSLINE = 192
1533
+ ICON_HELP = 193
1534
+ ICON_FILETYPE_ALPHA = 194
1535
+ ICON_FILETYPE_HOME = 195
1536
+ ICON_LAYERS_VISIBLE = 196
1537
+ ICON_LAYERS = 197
1538
+ ICON_WINDOW = 198
1539
+ ICON_HIDPI = 199
1540
+ ICON_FILETYPE_BINARY = 200
1541
+ ICON_HEX = 201
1542
+ ICON_SHIELD = 202
1543
+ ICON_FILE_NEW = 203
1544
+ ICON_FOLDER_ADD = 204
1545
+ ICON_ALARM = 205
1546
+ ICON_CPU = 206
1547
+ ICON_ROM = 207
1548
+ ICON_STEP_OVER = 208
1549
+ ICON_STEP_INTO = 209
1550
+ ICON_STEP_OUT = 210
1551
+ ICON_RESTART = 211
1552
+ ICON_BREAKPOINT_ON = 212
1553
+ ICON_BREAKPOINT_OFF = 213
1554
+ ICON_BURGER_MENU = 214
1555
+ ICON_CASE_SENSITIVE = 215
1556
+ ICON_REG_EXP = 216
1557
+ ICON_FOLDER = 217
1558
+ ICON_FILE = 218
1559
+ ICON_SAND_TIMER = 219
1560
+ ICON_WARNING = 220
1561
+ ICON_HELP_BOX = 221
1562
+ ICON_INFO_BOX = 222
1563
+ ICON_PRIORITY = 223
1564
+ ICON_LAYERS_ISO = 224
1565
+ ICON_LAYERS2 = 225
1566
+ ICON_MLAYERS = 226
1567
+ ICON_MAPS = 227
1568
+ ICON_HOT = 228
1569
+ ICON_LABEL = 229
1570
+ ICON_NAME_ID = 230
1571
+ ICON_SLICING = 231
1572
+ ICON_MANUAL_CONTROL = 232
1573
+ ICON_COLLISION = 233
1574
+ ICON_CIRCLE_ADD = 234
1575
+ ICON_CIRCLE_ADD_FILL = 235
1576
+ ICON_CIRCLE_WARNING = 236
1577
+ ICON_CIRCLE_WARNING_FILL = 237
1578
+ ICON_BOX_MORE = 238
1579
+ ICON_BOX_MORE_FILL = 239
1580
+ ICON_BOX_MINUS = 240
1581
+ ICON_BOX_MINUS_FILL = 241
1582
+ ICON_UNION = 242
1583
+ ICON_INTERSECTION = 243
1584
+ ICON_DIFFERENCE = 244
1585
+ ICON_SPHERE = 245
1586
+ ICON_CYLINDER = 246
1587
+ ICON_CONE = 247
1588
+ ICON_ELLIPSOID = 248
1589
+ ICON_CAPSULE = 249
1590
+ ICON_FILETYPE_FONT = 250
1591
+ ICON_FILETYPE_3D = 251
1592
+ ICON_FILETYPE_CODE_XML = 252
1593
+ ICON_FILETYPE_CODE_C = 253
1594
+ ICON_FILETYPE_CODE_PYTHON = 254
1595
+ ICON_FILETYPE_CODE_JS = 255
1596
+ ICON_FILETYPE_ICON = 256
1597
+
1598
+ const RAYGUI_VERSION_MAJOR: int = 5
1599
+ const RAYGUI_VERSION_MINOR: int = 0
1600
+ const RAYGUI_VERSION_PATCH: int = 0
1601
+ const SCROLLBAR_LEFT_SIDE: int = 0
1602
+ const SCROLLBAR_RIGHT_SIDE: int = 1