koffi 2.1.1 → 2.1.2

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 (311) hide show
  1. package/ChangeLog.md +6 -0
  2. package/build/qemu/2.1.2/koffi_darwin_arm64.tar.gz +0 -0
  3. package/build/qemu/2.1.2/koffi_darwin_x64.tar.gz +0 -0
  4. package/build/qemu/2.1.2/koffi_freebsd_arm64.tar.gz +0 -0
  5. package/build/qemu/2.1.2/koffi_freebsd_ia32.tar.gz +0 -0
  6. package/build/qemu/2.1.2/koffi_freebsd_x64.tar.gz +0 -0
  7. package/build/qemu/2.1.2/koffi_linux_arm32hf.tar.gz +0 -0
  8. package/build/qemu/2.1.2/koffi_linux_arm64.tar.gz +0 -0
  9. package/build/qemu/2.1.2/koffi_linux_ia32.tar.gz +0 -0
  10. package/build/qemu/2.1.2/koffi_linux_riscv64hf64.tar.gz +0 -0
  11. package/build/qemu/2.1.2/koffi_linux_x64.tar.gz +0 -0
  12. package/build/qemu/2.1.2/koffi_openbsd_ia32.tar.gz +0 -0
  13. package/build/qemu/2.1.2/koffi_openbsd_x64.tar.gz +0 -0
  14. package/build/qemu/2.1.2/koffi_win32_arm64.tar.gz +0 -0
  15. package/build/qemu/2.1.2/koffi_win32_ia32.tar.gz +0 -0
  16. package/build/qemu/2.1.2/koffi_win32_x64.tar.gz +0 -0
  17. package/doc/templates/badges.html +3 -0
  18. package/package.json +2 -2
  19. package/src/abi_arm64.cc +35 -1
  20. package/src/abi_x64_win.cc +2 -8
  21. package/src/abi_x86.cc +1 -7
  22. package/src/ffi.hh +1 -1
  23. package/src/util.hh +6 -0
  24. package/test/raylib.js +37 -5
  25. package/vendor/libcc/libcc.cc +430 -196
  26. package/vendor/libcc/libcc.hh +1417 -1283
  27. package/vendor/raylib/BINDINGS.md +87 -70
  28. package/vendor/raylib/CHANGELOG +263 -50
  29. package/vendor/raylib/CMakeLists.txt +12 -0
  30. package/vendor/raylib/CMakeOptions.txt +8 -1
  31. package/vendor/raylib/CONVENTIONS.md +2 -3
  32. package/vendor/raylib/FAQ.md +137 -0
  33. package/vendor/raylib/HISTORY.md +62 -29
  34. package/vendor/raylib/LICENSE +1 -1
  35. package/vendor/raylib/README.md +22 -17
  36. package/vendor/raylib/ROADMAP.md +8 -7
  37. package/vendor/raylib/cmake/CompileDefinitions.cmake +19 -15
  38. package/vendor/raylib/cmake/GlfwImport.cmake +2 -0
  39. package/vendor/raylib/cmake/LibraryConfigurations.cmake +22 -16
  40. package/vendor/raylib/cmake/raylib-config.cmake +52 -49
  41. package/vendor/raylib/examples/CMakeLists.txt +14 -9
  42. package/vendor/raylib/examples/Makefile +112 -125
  43. package/vendor/raylib/examples/Makefile.Android +1 -1
  44. package/vendor/raylib/examples/Makefile.Web +145 -158
  45. package/vendor/raylib/examples/README.md +141 -141
  46. package/vendor/raylib/examples/audio/audio_module_playing.c +9 -4
  47. package/vendor/raylib/examples/audio/audio_multichannel_sound.c +8 -3
  48. package/vendor/raylib/examples/audio/audio_music_stream.c +16 -11
  49. package/vendor/raylib/examples/audio/audio_raw_stream.c +57 -9
  50. package/vendor/raylib/examples/audio/audio_sound_loading.c +8 -3
  51. package/vendor/raylib/examples/audio/audio_stream_effects.c +179 -0
  52. package/vendor/raylib/examples/audio/audio_stream_effects.png +0 -0
  53. package/vendor/raylib/examples/build.zig +17 -6
  54. package/vendor/raylib/examples/core/core_2d_camera.c +8 -4
  55. package/vendor/raylib/examples/core/core_2d_camera_mouse_zoom.c +105 -0
  56. package/vendor/raylib/examples/core/core_2d_camera_mouse_zoom.png +0 -0
  57. package/vendor/raylib/examples/core/core_2d_camera_platformer.c +11 -6
  58. package/vendor/raylib/examples/core/core_3d_camera_first_person.c +9 -4
  59. package/vendor/raylib/examples/core/core_3d_camera_free.c +9 -4
  60. package/vendor/raylib/examples/core/core_3d_camera_mode.c +8 -3
  61. package/vendor/raylib/examples/core/core_3d_picking.c +9 -4
  62. package/vendor/raylib/examples/core/core_basic_screen_manager.c +9 -7
  63. package/vendor/raylib/examples/core/core_basic_window.c +8 -3
  64. package/vendor/raylib/examples/core/core_basic_window_web.c +13 -11
  65. package/vendor/raylib/examples/core/core_custom_frame_control.c +9 -4
  66. package/vendor/raylib/examples/core/core_custom_logging.c +12 -8
  67. package/vendor/raylib/examples/core/core_drop_files.c +20 -12
  68. package/vendor/raylib/examples/core/core_input_gamepad.c +20 -15
  69. package/vendor/raylib/examples/core/core_input_gestures.c +19 -15
  70. package/vendor/raylib/examples/core/core_input_keys.c +8 -3
  71. package/vendor/raylib/examples/core/core_input_mouse.c +8 -3
  72. package/vendor/raylib/examples/core/core_input_mouse_wheel.c +8 -3
  73. package/vendor/raylib/examples/core/core_input_multitouch.c +8 -3
  74. package/vendor/raylib/examples/core/core_loading_thread.c +10 -6
  75. package/vendor/raylib/examples/core/core_random_values.c +8 -3
  76. package/vendor/raylib/examples/core/core_scissor_test.c +8 -3
  77. package/vendor/raylib/examples/core/core_smooth_pixelperfect.c +9 -4
  78. package/vendor/raylib/examples/core/core_split_screen.c +8 -3
  79. package/vendor/raylib/examples/core/core_storage_values.c +109 -3
  80. package/vendor/raylib/examples/core/core_vr_simulator.c +15 -7
  81. package/vendor/raylib/examples/core/core_window_flags.c +8 -3
  82. package/vendor/raylib/examples/core/core_window_letterbox.c +13 -18
  83. package/vendor/raylib/examples/core/core_window_should_close.c +77 -0
  84. package/vendor/raylib/examples/core/core_window_should_close.png +0 -0
  85. package/vendor/raylib/examples/core/core_world_screen.c +9 -4
  86. package/vendor/raylib/examples/examples_template.c +8 -3
  87. package/vendor/raylib/examples/models/models_animation.c +11 -7
  88. package/vendor/raylib/examples/models/models_billboard.c +9 -4
  89. package/vendor/raylib/examples/models/models_box_collisions.c +8 -3
  90. package/vendor/raylib/examples/models/models_cubicmap.c +9 -4
  91. package/vendor/raylib/examples/models/models_first_person_maze.c +9 -4
  92. package/vendor/raylib/examples/models/models_geometric_shapes.c +8 -3
  93. package/vendor/raylib/examples/models/models_heightmap.c +9 -4
  94. package/vendor/raylib/examples/models/models_loading.c +21 -17
  95. package/vendor/raylib/examples/models/models_loading_gltf.c +15 -41
  96. package/vendor/raylib/examples/models/models_loading_vox.c +9 -4
  97. package/vendor/raylib/examples/models/models_mesh_generation.c +71 -58
  98. package/vendor/raylib/examples/models/models_mesh_picking.c +25 -7
  99. package/vendor/raylib/examples/models/models_orthographic_projection.c +8 -5
  100. package/vendor/raylib/examples/models/models_rlgl_solar_system.c +6 -4
  101. package/vendor/raylib/examples/models/models_skybox.c +16 -12
  102. package/vendor/raylib/examples/models/models_waving_cubes.c +9 -4
  103. package/vendor/raylib/examples/models/models_yaw_pitch_roll.c +12 -7
  104. package/vendor/raylib/examples/models/resources/LICENSE.md +9 -10
  105. package/vendor/raylib/examples/models/resources/models/gltf/LICENSE +2 -23
  106. package/vendor/raylib/examples/models/resources/models/gltf/{raylib_32x32.glb → raylib_logo_3d.glb} +0 -0
  107. package/vendor/raylib/examples/models/resources/models/gltf/robot.blend +0 -0
  108. package/vendor/raylib/examples/models/resources/models/gltf/robot.glb +0 -0
  109. package/vendor/raylib/examples/others/easings_testbed.c +10 -8
  110. package/vendor/raylib/examples/others/easings_testbed.png +0 -0
  111. package/vendor/raylib/examples/others/embedded_files_loading.c +10 -5
  112. package/vendor/raylib/examples/others/embedded_files_loading.png +0 -0
  113. package/vendor/raylib/examples/others/raylib_opengl_interop.c +10 -6
  114. package/vendor/raylib/{src/extras/easings.h → examples/others/reasings.h} +38 -38
  115. package/vendor/raylib/examples/others/rlgl_compute_shader.c +21 -20
  116. package/vendor/raylib/examples/others/rlgl_compute_shader.png +0 -0
  117. package/vendor/raylib/examples/others/rlgl_standalone.c +4 -4
  118. package/vendor/raylib/examples/others/rlgl_standalone.png +0 -0
  119. package/vendor/raylib/examples/raylib_compile_execute.bat +2 -2
  120. package/vendor/raylib/examples/shaders/resources/shaders/glsl330/lighting.fs +1 -1
  121. package/vendor/raylib/examples/shaders/resources/shaders/glsl330/{base_lighting_instanced.vs → lighting_instancing.vs} +2 -2
  122. package/vendor/raylib/examples/shaders/rlights.h +14 -27
  123. package/vendor/raylib/examples/shaders/shaders_basic_lighting.c +24 -26
  124. package/vendor/raylib/examples/shaders/shaders_custom_uniform.c +10 -5
  125. package/vendor/raylib/examples/shaders/shaders_eratosthenes.c +13 -8
  126. package/vendor/raylib/examples/shaders/shaders_fog.c +8 -12
  127. package/vendor/raylib/examples/shaders/shaders_hot_reloading.c +10 -5
  128. package/vendor/raylib/examples/shaders/shaders_julia_set.c +9 -4
  129. package/vendor/raylib/examples/shaders/shaders_mesh_instancing.c +45 -119
  130. package/vendor/raylib/examples/shaders/shaders_model_shader.c +10 -5
  131. package/vendor/raylib/examples/shaders/shaders_multi_sample2d.c +8 -3
  132. package/vendor/raylib/examples/shaders/shaders_palette_switch.c +8 -3
  133. package/vendor/raylib/examples/shaders/shaders_postprocessing.c +9 -4
  134. package/vendor/raylib/examples/shaders/shaders_raymarching.c +14 -11
  135. package/vendor/raylib/examples/shaders/shaders_shapes_textures.c +8 -3
  136. package/vendor/raylib/examples/shaders/shaders_simple_mask.c +10 -5
  137. package/vendor/raylib/examples/shaders/shaders_spotlight.c +10 -6
  138. package/vendor/raylib/examples/shaders/shaders_texture_drawing.c +9 -4
  139. package/vendor/raylib/examples/shaders/shaders_texture_outline.c +8 -3
  140. package/vendor/raylib/examples/shaders/shaders_texture_waves.c +8 -3
  141. package/vendor/raylib/{src/extras → examples/shapes}/raygui.h +1290 -1141
  142. package/vendor/raylib/examples/{others/easings.h → shapes/reasings.h} +40 -40
  143. package/vendor/raylib/examples/shapes/shapes_basic_shapes.c +8 -3
  144. package/vendor/raylib/examples/shapes/shapes_bouncing_ball.c +8 -3
  145. package/vendor/raylib/examples/shapes/shapes_collision_area.c +10 -4
  146. package/vendor/raylib/examples/shapes/shapes_colors_palette.c +8 -3
  147. package/vendor/raylib/examples/shapes/shapes_draw_circle_sector.c +9 -4
  148. package/vendor/raylib/examples/shapes/shapes_draw_rectangle_rounded.c +9 -4
  149. package/vendor/raylib/examples/shapes/shapes_draw_ring.c +10 -6
  150. package/vendor/raylib/examples/shapes/shapes_easings_ball_anim.c +9 -4
  151. package/vendor/raylib/examples/shapes/shapes_easings_box_anim.c +9 -4
  152. package/vendor/raylib/examples/shapes/shapes_easings_rectangle_array.c +9 -4
  153. package/vendor/raylib/examples/shapes/shapes_following_eyes.c +8 -3
  154. package/vendor/raylib/examples/shapes/shapes_lines_bezier.c +8 -3
  155. package/vendor/raylib/examples/shapes/shapes_logo_raylib.c +8 -3
  156. package/vendor/raylib/examples/shapes/shapes_logo_raylib_anim.c +8 -3
  157. package/vendor/raylib/examples/shapes/shapes_rectangle_scaling.c +14 -5
  158. package/vendor/raylib/examples/shapes/shapes_top_down_lights.c +355 -0
  159. package/vendor/raylib/examples/shapes/shapes_top_down_lights.png +0 -0
  160. package/vendor/raylib/examples/text/resources/DotGothic16-Regular.ttf +0 -0
  161. package/vendor/raylib/examples/text/resources/DotGothic16-Regular_OFL.txt +93 -0
  162. package/vendor/raylib/examples/text/resources/LICENSE.md +1 -1
  163. package/vendor/raylib/examples/text/text_codepoints_loading.c +138 -0
  164. package/vendor/raylib/examples/text/text_codepoints_loading.png +0 -0
  165. package/vendor/raylib/examples/text/text_draw_3d.c +42 -33
  166. package/vendor/raylib/examples/text/text_font_filters.c +14 -11
  167. package/vendor/raylib/examples/text/text_font_loading.c +9 -4
  168. package/vendor/raylib/examples/text/text_font_sdf.c +9 -4
  169. package/vendor/raylib/examples/text/text_font_spritefont.c +12 -6
  170. package/vendor/raylib/examples/text/text_format_text.c +8 -3
  171. package/vendor/raylib/examples/text/text_input_box.c +8 -3
  172. package/vendor/raylib/examples/text/text_raylib_fonts.c +9 -4
  173. package/vendor/raylib/examples/text/text_rectangle_bounds.c +9 -5
  174. package/vendor/raylib/examples/text/text_unicode.c +9 -7
  175. package/vendor/raylib/examples/text/text_writing_anim.c +8 -3
  176. package/vendor/raylib/examples/textures/resources/scarfy_run.gif +0 -0
  177. package/vendor/raylib/examples/textures/textures_background_scrolling.c +8 -3
  178. package/vendor/raylib/examples/textures/textures_blend_modes.c +8 -3
  179. package/vendor/raylib/examples/textures/textures_bunnymark.c +8 -3
  180. package/vendor/raylib/examples/textures/textures_draw_tiled.c +14 -10
  181. package/vendor/raylib/examples/textures/textures_fog_of_war.c +154 -0
  182. package/vendor/raylib/examples/textures/textures_fog_of_war.png +0 -0
  183. package/vendor/raylib/examples/textures/textures_gif_player.c +121 -0
  184. package/vendor/raylib/examples/textures/textures_gif_player.png +0 -0
  185. package/vendor/raylib/examples/textures/textures_image_drawing.c +8 -3
  186. package/vendor/raylib/examples/textures/textures_image_generation.c +8 -3
  187. package/vendor/raylib/examples/textures/textures_image_loading.c +8 -3
  188. package/vendor/raylib/examples/textures/textures_image_processing.c +8 -3
  189. package/vendor/raylib/examples/textures/textures_image_text.c +8 -3
  190. package/vendor/raylib/examples/textures/textures_logo_raylib.c +8 -3
  191. package/vendor/raylib/examples/textures/textures_mouse_painting.c +9 -4
  192. package/vendor/raylib/examples/textures/textures_npatch_drawing.c +8 -3
  193. package/vendor/raylib/examples/textures/textures_particles_blending.c +8 -3
  194. package/vendor/raylib/examples/textures/textures_polygon.c +9 -5
  195. package/vendor/raylib/examples/textures/textures_raw_data.c +8 -3
  196. package/vendor/raylib/examples/textures/{textures_rectangle.c → textures_sprite_anim.c} +11 -5
  197. package/vendor/raylib/examples/textures/{textures_rectangle.png → textures_sprite_anim.png} +0 -0
  198. package/vendor/raylib/examples/textures/textures_sprite_button.c +8 -3
  199. package/vendor/raylib/examples/textures/textures_sprite_explosion.c +8 -3
  200. package/vendor/raylib/examples/textures/textures_srcrec_dstrec.c +8 -3
  201. package/vendor/raylib/examples/textures/textures_to_image.c +8 -3
  202. package/vendor/raylib/parser/LICENSE +1 -1
  203. package/vendor/raylib/parser/Makefile +28 -0
  204. package/vendor/raylib/parser/README.md +49 -5
  205. package/vendor/raylib/parser/output/raylib_api.json +10717 -0
  206. package/vendor/raylib/parser/output/raylib_api.lua +7435 -0
  207. package/vendor/raylib/parser/{raylib_api.txt → output/raylib_api.txt} +1371 -824
  208. package/vendor/raylib/parser/{raylib_api.xml → output/raylib_api.xml} +827 -595
  209. package/vendor/raylib/parser/raylib_parser.c +1174 -196
  210. package/vendor/raylib/projects/4coder/Makefile +2 -4
  211. package/vendor/raylib/projects/4coder/main.c +0 -1
  212. package/vendor/raylib/projects/CMake/CMakeLists.txt +13 -16
  213. package/vendor/raylib/projects/CMake/README.md +27 -0
  214. package/vendor/raylib/projects/CMake/core_basic_window.c +52 -31
  215. package/vendor/raylib/projects/CodeBlocks/README.md +4 -4
  216. package/vendor/raylib/projects/Geany/core_basic_window.c +1 -1
  217. package/vendor/raylib/projects/Notepad++/c_raylib.xml +168 -128
  218. package/vendor/raylib/projects/Notepad++/npes_saved_tcc.txt +0 -0
  219. package/vendor/raylib/projects/Notepad++/npes_saved_w64devkit.txt +0 -0
  220. package/vendor/raylib/projects/Notepad++/npes_saved_zig.txt +0 -0
  221. package/vendor/raylib/projects/Notepad++/raylib_npp_parser/raylib_npp.xml +168 -84
  222. package/vendor/raylib/projects/Notepad++/raylib_npp_parser/raylib_to_parse.h +67 -51
  223. package/vendor/raylib/projects/README.md +1 -1
  224. package/vendor/raylib/projects/VSCode/.vscode/c_cpp_properties.json +1 -1
  225. package/vendor/raylib/projects/VSCode/Makefile +8 -11
  226. package/vendor/raylib/projects/VSCode/main.c +53 -26
  227. package/vendor/raylib/projects/VSCode/resources/LICENSE +1 -0
  228. package/vendor/raylib/projects/scripts/build-linux.sh +6 -6
  229. package/vendor/raylib/projects/scripts/build-osx.sh +6 -6
  230. package/vendor/raylib/projects/scripts/build-rpi.sh +6 -6
  231. package/vendor/raylib/projects/scripts/build-windows.bat +2 -2
  232. package/vendor/raylib/src/CMakeLists.txt +6 -7
  233. package/vendor/raylib/src/Makefile +209 -103
  234. package/vendor/raylib/src/build.zig +56 -20
  235. package/vendor/raylib/src/config.h +32 -27
  236. package/vendor/raylib/src/external/cgltf.h +342 -104
  237. package/vendor/raylib/src/external/dr_wav.h +487 -225
  238. package/vendor/raylib/src/external/glfw/src/posix_time.c +1 -3
  239. package/vendor/raylib/src/external/glfw/src/wl_init.c +1 -3
  240. package/vendor/raylib/src/external/jar_xm.h +2 -1
  241. package/vendor/raylib/src/external/miniaudio.h +62251 -42061
  242. package/vendor/raylib/src/external/qoi.h +671 -0
  243. package/vendor/raylib/src/external/stb_vorbis.h +1 -1
  244. package/vendor/raylib/src/external/vox_loader.h +30 -25
  245. package/vendor/raylib/src/minshell.html +82 -0
  246. package/vendor/raylib/src/raudio.c +359 -201
  247. package/vendor/raylib/src/raylib.dll.rc +5 -5
  248. package/vendor/raylib/src/raylib.dll.rc.data +0 -0
  249. package/vendor/raylib/src/raylib.h +95 -63
  250. package/vendor/raylib/src/raylib.rc +5 -5
  251. package/vendor/raylib/src/raylib.rc.data +0 -0
  252. package/vendor/raylib/src/raymath.h +391 -133
  253. package/vendor/raylib/src/rcamera.h +32 -41
  254. package/vendor/raylib/src/rcore.c +775 -471
  255. package/vendor/raylib/src/rgestures.h +5 -5
  256. package/vendor/raylib/src/rglfw.c +3 -3
  257. package/vendor/raylib/src/rlgl.h +184 -144
  258. package/vendor/raylib/src/rmodels.c +207 -144
  259. package/vendor/raylib/src/rshapes.c +105 -47
  260. package/vendor/raylib/src/rtext.c +255 -38
  261. package/vendor/raylib/src/rtextures.c +167 -71
  262. package/vendor/raylib/src/shell.html +63 -63
  263. package/vendor/raylib/src/utils.c +49 -3
  264. package/vendor/raylib/src/utils.h +3 -3
  265. package/build/qemu/2.1.1/koffi_darwin_arm64.tar.gz +0 -0
  266. package/build/qemu/2.1.1/koffi_darwin_x64.tar.gz +0 -0
  267. package/build/qemu/2.1.1/koffi_freebsd_arm64.tar.gz +0 -0
  268. package/build/qemu/2.1.1/koffi_freebsd_ia32.tar.gz +0 -0
  269. package/build/qemu/2.1.1/koffi_freebsd_x64.tar.gz +0 -0
  270. package/build/qemu/2.1.1/koffi_linux_arm32hf.tar.gz +0 -0
  271. package/build/qemu/2.1.1/koffi_linux_arm64.tar.gz +0 -0
  272. package/build/qemu/2.1.1/koffi_linux_ia32.tar.gz +0 -0
  273. package/build/qemu/2.1.1/koffi_linux_riscv64hf64.tar.gz +0 -0
  274. package/build/qemu/2.1.1/koffi_linux_x64.tar.gz +0 -0
  275. package/build/qemu/2.1.1/koffi_openbsd_ia32.tar.gz +0 -0
  276. package/build/qemu/2.1.1/koffi_openbsd_x64.tar.gz +0 -0
  277. package/build/qemu/2.1.1/koffi_win32_arm64.tar.gz +0 -0
  278. package/build/qemu/2.1.1/koffi_win32_ia32.tar.gz +0 -0
  279. package/build/qemu/2.1.1/koffi_win32_x64.tar.gz +0 -0
  280. package/vendor/raylib/CONTRIBUTORS.md +0 -63
  281. package/vendor/raylib/SPONSORS.md +0 -68
  282. package/vendor/raylib/examples/core/core_quat_conversion.c +0 -132
  283. package/vendor/raylib/examples/core/core_quat_conversion.png +0 -0
  284. package/vendor/raylib/examples/models/resources/models/gltf/AnimatedMorphCube.glb +0 -0
  285. package/vendor/raylib/examples/models/resources/models/gltf/AnimatedTriangle.gltf +0 -118
  286. package/vendor/raylib/examples/models/resources/models/gltf/BoxAnimated.glb +0 -0
  287. package/vendor/raylib/examples/models/resources/models/gltf/girl.glb +0 -0
  288. package/vendor/raylib/examples/models/resources/models/gltf/rigged_figure.glb +0 -0
  289. package/vendor/raylib/examples/models/resources/models/gltf/vertex_colored_object.glb +0 -0
  290. package/vendor/raylib/examples/models/resources/models/iqm/vertex_colored_object.iqm +0 -0
  291. package/vendor/raylib/examples/models/rlights.h +0 -183
  292. package/vendor/raylib/examples/others/raudio_standalone.c +0 -152
  293. package/vendor/raylib/examples/others/resources/audio/country.mp3 +0 -0
  294. package/vendor/raylib/examples/others/resources/audio/target.ogg +0 -0
  295. package/vendor/raylib/examples/others/resources/audio/weird.wav +0 -0
  296. package/vendor/raylib/examples/physics/physics_demo.c +0 -128
  297. package/vendor/raylib/examples/physics/physics_demo.png +0 -0
  298. package/vendor/raylib/examples/physics/physics_friction.c +0 -142
  299. package/vendor/raylib/examples/physics/physics_friction.png +0 -0
  300. package/vendor/raylib/examples/physics/physics_movement.c +0 -128
  301. package/vendor/raylib/examples/physics/physics_movement.png +0 -0
  302. package/vendor/raylib/examples/physics/physics_restitution.c +0 -129
  303. package/vendor/raylib/examples/physics/physics_restitution.png +0 -0
  304. package/vendor/raylib/examples/physics/physics_shatter.c +0 -111
  305. package/vendor/raylib/examples/physics/physics_shatter.png +0 -0
  306. package/vendor/raylib/parser/raylib_api.json +0 -6668
  307. package/vendor/raylib/projects/VS2019/raylib/raylib.rc +0 -0
  308. package/vendor/raylib/projects/VS2019/raylib/resource.h +0 -14
  309. package/vendor/raylib/src/extras/physac.h +0 -1977
  310. package/vendor/raylib/src/extras/rmem.h +0 -751
  311. package/vendor/raylib/src/raudio.h +0 -198
@@ -1,13 +1,226 @@
1
1
  changelog
2
2
  ---------
3
3
 
4
- Current Release: raylib 4.0.0 (05 November 2021)
4
+ Current Release: raylib 4.2.0 (11 August 2022)
5
+
6
+ -------------------------------------------------------------------------
7
+ Release: raylib 4.2 (11 August 2022)
8
+ -------------------------------------------------------------------------
9
+ KEY CHANGES:
10
+ - REMOVED: extras libraries (raygui, physac, rrem, reasings, raudio.h) moved to independent separate repos
11
+ - UPDATED: examples: Added creation and update raylib versions and assigned **DIFFICULTY LEVELS**!
12
+ - rres 1.0: A custom resource-processing and packaging file format, including tooling and raylib integration examples
13
+ - raygui 3.2: New version of the immediate-mode gui system for tools development with raylib
14
+ - raylib_parser: Multiple improvements of the raylib parser to automatize bindings generation
15
+ - ADDED: New file system API: Reviewed to be more aligned with raylib conventions and one advance function added
16
+ - ADDED: New audio stream processors API (_experimental_): Allowing to add custom audio stream data processors using callbacks
17
+
18
+ Detailed changes:
19
+ [multi] ADDED: Frequently Asked Questions (FAQ.md)
20
+ [multi] REVIEWED: Multiple trace log messages
21
+ [multi] REVIEWED: Avoid some float to double promotions
22
+ [multi] REVIEWED: Some functions input parametes that should be const
23
+ [multi] REVIEWED: Variables initialization, all variables are initialized on declaration
24
+ [multi] REVIEWED: Static array buffers are always re-initialized with memset()
25
+ [multi] `WARNING`: RENAMED: Some function input parameters from "length" to "size"
26
+ [core] ADDED: GetApplicatonDirectory() (#2256, #2285, #2290) by @JeffM2501
27
+ [core] ADDED: raylibVersion symbol, it could be required by some bindings (#2190)
28
+ [core] ADDED: SetWindowOpacity() (#2254) by @tusharsingh09
29
+ [core] ADDED: GetRenderWidth() and GetRenderHeight() by @ArnaudValensi
30
+ [core] ADDED: EnableEventWaiting() and DisableEventWaiting()
31
+ [core] ADDED: GetFileLength()
32
+ [core] ADDED: Modules info at initialization
33
+ [core] ADDED: Support clipboard copy/paste on web
34
+ [core] ADDED: Support OpenURL() on Android platform (#2396) by @futureapricot
35
+ [core] ADDED: Support MOUSE_PASSTHROUGH (#2516)
36
+ [core] ADDED: GetMouseWheelMoveV() (#2517) by @schveiguy
37
+ [core] `WARNING`: REMOVED: LoadStorageValue() / SaveStorageValue(), moved to example
38
+ [core] `WARNING`: RENAMED: GetDirectoryFiles() to LoadDirectoryFiles()
39
+ [core] `WARNING`: RENAMED: `ClearDroppedFiles()` to `UnloadDroppedFiles()`
40
+ [core] `WARNING`: RENAMED: GetDroppedFiles() to LoadDroppedFiles()
41
+ [core] `WARNING`: RENAMED: `ClearDirectoryFiles()` to `UnloadDirectoryFiles()`
42
+ [core] `WARNING`: REDESIGNED: WaitTime() argument from milliseconds to seconds (#2506) by @flashback-fx
43
+ [core] REVIEWED: GetMonitorWidth()/GetMonitorHeight() by @gulrak
44
+ [core] REVIEWED: GetDirectoryFiles(), maximum files allocation (#2126) by @ampers0x26
45
+ [core] REVIEWED: Expose MAX_KEYBOARD_KEYS and MAX_MOUSE_BUTTONS (#2127)
46
+ [core] REVIEWED: ExportMesh() (#2138)
47
+ [core] REVIEWED: Fullscreen switch on PLATFORM_WEB
48
+ [core] REVIEWED: GetMouseWheelMove(), fixed bug
49
+ [core] REVIEWED: GetApplicationDirectory() on macOS (#2304)
50
+ [core] REVIEWED: ToggleFullscreen()
51
+ [core] REVIEWED: Initialize/reset CORE.inputs global state (#2360)
52
+ [core] REVIEWED: MouseScrollCallback() (#2371)
53
+ [core] REVIEWED: SwapScreenBuffers() for PLATFORM_DRM
54
+ [core] REVIEWED: WaitTime(), fix regression causing video stuttering (#2503) by @flashback-fx
55
+ [core] REVIEWED: Mouse device support on PLATFORM_DRM (#2381)
56
+ [core] REVIEWED: Support OpenBSD timming functions
57
+ [core] REVIEWED: Improved boolean definitions (#2485) by @noodlecollie
58
+ [core] REVIEWED: TakeScreenshot(), use GetWindowScaleDPI() to calculate size in screenshot/recording (#2446) by @gulrak
59
+ [core] REVIEWED: Remove fps requirement for drm connector selection (#2468) by @Crydsch
60
+ [core] REVIEWED: IsFileExtension() (#2530)
61
+ [camera] REVIEWED: Some camera improvements (#2563)
62
+ [rlgl] ADDED: Premultiplied alpha blend mode (#2342) by @megagrump
63
+ [rlgl] REVIEWED: VR rendering not taking render target size into account (#2424) by @FireFlyForLife
64
+ [rlgl] REVIEWED: Set rlgl internal framebuffer (#2420)
65
+ [rlgl] REVIEWED: rlGetCompressedFormatName()
66
+ [rlgl] REVIEWED: Display OpenGL 4.3 capabilities with a compile flag (#2124) by @GithubPrankster
67
+ [rlgl] REVIEWED: rlUpdateTexture()
68
+ [rlgl] REVIEWED: Minimize buffer overflow probability
69
+ [rlgl] REVIEWED: Fix scissor mode on macOS (#2170) by @ArnaudValensi
70
+ [rlgl] REVIEWED: Clear SSBO buffers on loading (#2185)
71
+ [rlgl] REVIEWED: rlLoadShaderCode(), improved shader loading code
72
+ [rlgl] REVIEWED: Comment notes about custom blend modes (#2260) by @glorantq
73
+ [rlgl] REVIEWED: rlGenTextureMipmaps()
74
+ [rlgl] REVIEWED: rlTextureParameters()
75
+ [raymath] ADDED: Wrap() (#2522) by @Tekkitslime
76
+ [raymath] ADDED: Vector2Transform()
77
+ [raymath] ADDED: Vector2DistanceSqr() (#2376) by @AnilBK
78
+ [raymath] ADDED: Vector3DistanceSqr() (#2376) by @AnilBK
79
+ [raymath] ADDED: Vector2ClampValue(), Vector3ClampValue() (#2428) by @saccharineboi
80
+ [raymath] ADDED: Vector3RotateByAxisAngle() (#2590) by @Crydsch
81
+ [raymath] `WARNING`: REDESIGNED: Vector2Angle() returns radians instead of degrees (#2193) by @schveiguy
82
+ [raymath] `WARNING`: REMOVED: MatrixNormalize() (#2412)
83
+ [raymath] REVIEWED: Fix inverse length in Vector2Normalize() (#2189) by @HarriP
84
+ [raymath] REVIEWED: Vector2Angle() not working as expected (#2196) by @jdeokkim
85
+ [raymath] REVIEWED: Vector2Angle() and Vector3Angle() (#2203) by @trikko
86
+ [raymath] REVIEWED: QuaternionInvert(), code simplified (#2324) by @megagrump
87
+ [raymath] REVIEWED: QuaternionScale() (#2419) by @tana
88
+ [raymath] REVIEWED: Vector2Rotate(), optimized (#2340) by @jdeokkim
89
+ [raymath] REVIEWED: QuaternionFromMatrix(), QuaternionEquals() (#2591) by @kirigirihitomi
90
+ [raymath] REVIEWED: MatrixRotate*() (#2595, #2599) by @GoodNike
91
+ [shapes] REVIEWED: CheckCollision*() consistency
92
+ [shapes] REVIEWED: DrawRectanglePro(), support TRIANGLES drawing
93
+ [textures] ADDED: Support for QOI image format
94
+ [textures] REVIEWED: ImageColorTint(), GetImageColor(), ImageDrawRectangleRec(), optimized functions (#2429) by @AnilBK
95
+ [textures] REVIEWED: LoadTextureFromImage(), allow texture loading with no data transfer
96
+ [textures] REVIEWED: ImageDraw(), comment to note that f32bit is not supported (#2222)
97
+ [textures] REVIEWED: DrawTextureNPatch(), avoid batch overflow (#2401) by @JeffM2501
98
+ [textures] REVIEWED: DrawTextureTiled() (#2173)
99
+ [textures] REVIEWED: GenImageCellular() (#2178)
100
+ [textures] REVIEWED: LoadTextureCubemap() (#2223, #2224)
101
+ [textures] REVIEWED: Export format for float 32bit
102
+ [textures] REVIEWED: ExportImage(), support export ".jpeg" files
103
+ [textures] REVIEWED: ColorAlphaBlend() (#2524) by @royqh1979
104
+ [textures] REVIEWED: ImageResize() (#2572)
105
+ [textures] REVIEWED: ImageFromImage() (#2594) by @wiertek
106
+ [text] ADDED: ExportFontAsCode()
107
+ [text] ADDED: DrawTextCodepoints() (#2308) by @siddharthroy12
108
+ [text] REVIEWED: TextIsEqual(), protect from NULLs (#2121) by @lukekras
109
+ [text] REVIEWED: LoadFontEx(), comment to specify how to get the default character set (#2221) by @JeffM2501
110
+ [text] REVIEWED: GenImageFontAtlas(), increase atlas size guesstimate by @megagrump
111
+ [text] REVIEWED: GetCodepoint() (#2201)
112
+ [text] REVIEWED: GenImageFontAtlas() (#2556)
113
+ [text] REVIEWED: ExportFontAsCode() to use given font padding (#2525) by @TheTophatDemon
114
+ [models] ADDED: Reference code to load bones id and weight data for animations
115
+ [models] `WARNING`: REMOVED: GetRayCollisionModel() (#2405)
116
+ [models] REMOVED: GenMeshBinormals()
117
+ [models] REVIEWED: External library: vox_loader.h, 64bit issue (#2186)
118
+ [models] REVIEWED: Material color loading when no texture material is available (#2298) by @royqh1979
119
+ [models] REVIEWED: Fix Undefined Symbol _ftelli64 in cgltf (#2319) by @audinue
120
+ [models] REVIEWED: LoadGLTF(), fix memory leak (#2441, #2442) by @leomonta
121
+ [models] REVIEWED: DrawTriangle3D() batch limits check (#2489)
122
+ [models] REVIEWED: DrawBillboardPro() (#2494)
123
+ [models] REVIEWED: DrawMesh*() issue (#2211)
124
+ [models] REVIEWED: ExportMesh() (#2220)
125
+ [models] REVIEWED: GenMeshCylinder() (#2225)
126
+ [audio] `WARNING`: ADDED: rAudioProcessor pointer to AudioStream struct (used by Sound and Music structs)
127
+ [audio] ADDED: SetSoundPan(), SetMusicPan(), SetAudioStreamPan(), panning support (#2205) by ptarabbia
128
+ [audio] ADDED: Audio stream input callback (#2212) by ptarabbia
129
+ [audio] ADDED: Audio stream processors support (#2212) by ptarabbia
130
+ [audio] REVIEWED: GetMusicTimePlayed(), incorrect value after the stream restarted for XM audio (#2092 #2215) by @ptarabbia
131
+ [audio] REVIEWED: Turn on interpolation for XM playback (#2216) by @ptarabbia
132
+ [audio] REVIEWED: Fix crash with delay example (#2472) by @ptarabbia
133
+ [audio] REVIEWED: PlaySoundMulti() (#2231)
134
+ [audio] REVIEWED: ExportWaveAsCode()
135
+ [audio] REVIEWED: UpdateMusicStream(), reduce dynamic allocations (#2532) by @dbechrd
136
+ [audio] REVIEWED: UpdateMusicStream() to support proper stream looping (#2579) by @veins1
137
+ [utils] ADDED: ExportDataAsCode()
138
+ [utils] REVIEWED: Force flush stdout after trace messages (#2465) by @nagy
139
+ [easings] ADDED: Function descriptions (#2471) by @RobLoach
140
+ [camera] REVIEWED: Fix free camera panning in the wrong direction (#2347) by @DavidLyhedDanielsson
141
+ [examples] ADDED: core_window_should_close
142
+ [examples] ADDED: core_2d_camera_mouse_zoom (#2583) by @JeffM2501
143
+ [examples] ADDED: shapes_top_down_lights (#2199) by @JeffM2501
144
+ [examples] ADDED: textures_fog_of_war
145
+ [examples] ADDED: textures_gif_player
146
+ [examples] ADDED: text_codepoints_loading
147
+ [examples] ADDED: audio_stream_effects
148
+ [examples] REMOVED: core_quat_conversion, not working properly
149
+ [examples] REMOVED: raudio_standalone, moved to raudio repo
150
+ [examples] RENAMED: textures_rectangle -> textures_sprite_anim
151
+ [examples] REVIEWED: core_input_gamepad, improve joystick visualisation (#2390) by @kristianlm
152
+ [examples] REVIEWED: textures_draw_tiled
153
+ [examples] REVIEWED: shaders_mesh_instancing, free allocated matrices (#2425) by @AnilBK
154
+ [examples] REVIEWED: shaders_raymarching
155
+ [examples] REVIEWED: audio_raw_stream (#2205) by ptarabbia
156
+ [examples] REVIEWED: audio_music_stream
157
+ [examples] REVIEWED: shaders_mesh_instancing, simplified
158
+ [examples] REVIEWED: shaders_basic_lighting, rlights.h simplified
159
+ [examples] REVIEWED: All examples descriptions, included creation/update raylib versions
160
+ [parser] ADDED: Defines to parser (#2269) by @iskolbin
161
+ [parser] ADDED: Aliases to parser (#2444) by @lazaray
162
+ [parser] ADDED: Parse struct descriptions (#2214) by @eutro
163
+ [parser] ADDED: Parse enum descriptions and value descriptions (#2208) by @eutro
164
+ [parser] ADDED: Lua output format for parser by @iskolbin
165
+ [parser] ADDED: Makefile for raylib_parser by @iskolbin
166
+ [parser] ADDED: Support for truncating parser input (#2464) by @lazaray
167
+ [parser] ADDED: Support for calculated defines to parser (#2463) by @lazaray
168
+ [parser] REVIEWED: Update parser files (#2125) by @catmanl
169
+ [parser] REVIEWED: Fix memory leak in parser (#2136) by @ronnieholm
170
+ [parser] REVIEWED: EscapeBackslashes()
171
+ [parser] REVIEWED: Parser improvements (#2461 #2462) by @lazaray
172
+ [bindings] ADDED: License details for BINDINGS
173
+ [bindings] ADDED: dart-raylib (#2149) by @wolfenrain
174
+ [bindings] ADDED: raylib-cslo (#2169) by @jasonswearingen
175
+ [bindings] ADDED: raylib-d (#2194) by @schveiguy
176
+ [bindings] ADDED: raylib-guile (#2202) by @petelliott
177
+ [bindings] ADDED: raylib-scopes (#2238) by @salotz
178
+ [bindings] ADDED: naylib (Nim) (#2386) by @planetis-m
179
+ [bindings] ADDED: raylib.jl (Julia) (#2403) by @irishgreencitrus
180
+ [bindings] ADDED: raylib.zig (#2449) by @ryupold
181
+ [bindings] ADDED: racket-raylib (#2454) by @eutro
182
+ [bindings] ADDED: raylibr (#2611) by @ramiromagno
183
+ [bindings] ADDED: Raylib.4.0.Pascal (#2617) by @sysrpl
184
+ [bindings] REVIEWED: Multiple bindings updated to raylib 4.0
185
+ [build] ADDED: VS2022 project
186
+ [build] ADDED: Support macOS by zig build system (#2175)
187
+ [build] ADDED: Support custom modules selection on compilation
188
+ [build] ADDED: Minimal web shell for WebAssembly compilation
189
+ [build] ADDED: BSD support for zig builds (#2332) by @zigster64
190
+ [build] ADDED: Repology badge (#2367) by @jubalh
191
+ [build] ADDED: Support DLL compilation with TCC compiler (#2569) by @audinue
192
+ [build] ADDED: Missing examples to VS2022 examples solution
193
+ [build] REMOVED: VS2019 project (unmaintained)
194
+ [build] REMOVED: SUPPORT_MOUSE_CURSOR_POINT config option
195
+ [build] REVIEWED: Fixed RPi make install (#2217) by @wereii
196
+ [build] REVIEWED: Fix build results path on Linux and RPi (#2218) by @wereii
197
+ [build] REVIEWED: Makefiles debug flag
198
+ [build] REVIEWED: Fixed cross-compilation from x86-64 to RPi (#2233) by @pitpit
199
+ [build] REVIEWED: All Makefiles, simplified
200
+ [build] REVIEWED: All Makefiles, improve organization
201
+ [build] REVIEWED: All Makefiles, support CUSTOM_CFLAGS
202
+ [build] REVIEWED: Fixed compiling for Android using CMake (#2270) by @hero2002
203
+ [build] REVIEWED: Make zig build functionality available to zig programs (#2271) by @Not-Nik
204
+ [build] REVIEWED: Update CMake project template with docs and web (#2274) by @RobLoach
205
+ [build] REVIEWED: Update VSCode project to work with latest makefile and web (#2296) by @phil-shenk
206
+ [build] REVIEWED: Support audio examples compilation with external glfw (#2329) by @locriacyber
207
+ [build] REVIEWED: Fix "make clean" target failing when shell is not cmd (#2338) by @Peter0x44
208
+ [build] REVIEWED: Makefile linkage -latomic, required by miniaudio on ARM 32bit #2452
209
+ [build] REVIEWED: Update raylib-config.cmake (#2374) by @marcogmaia
210
+ [build] REVIEWED: Simplify build.zig to not require user to specify raylib path (#2383) by @Hejsil
211
+ [build] REVIEWED: Fix OpenGL 4.3 graphics option in CMake (#2427) by @GoldenThumbs
212
+ [extras] `WARNING`: REMOVED: physac from raylib sources/examples, use github.com/raysan5/physac
213
+ [extras] `WARNING`: REMOVED: raygui from raylib/src/extras, use github.com/raysan5/raygui
214
+ [extras] `WARNING`: REMOVED: rmem from raylib/src/extras, moved to github.com/raylib-extras/rmem
215
+ [extras] `WARNING`: REMOVED: easings from raylib/src/extras, moved to github.com/raylib-extras/reasings
216
+ [extras] `WARNING`: REMOVED: raudio.h from raylib/src, moved to github.com/raysan5/raudio
217
+ [misc] REVIEWED: Update some external libraries to latest versions
5
218
 
6
219
  -------------------------------------------------------------------------
7
220
  Release: raylib 4.0 - 8th Anniversary Edition (05 November 2021)
8
221
  -------------------------------------------------------------------------
9
222
  KEY CHANGES:
10
- - Naming consistency and coherency: Complete review of the library: sintax, naming, comments, decriptions, logs...
223
+ - Naming consistency and coherency: Complete review of the library: syntax, naming, comments, decriptions, logs...
11
224
  - Event Automation System: Support for input events recording and automatic re-playing, useful for automated testing and more!
12
225
  - Custom game-loop control: Intended for advance users that want to control the events polling and the timming mechanisms
13
226
  - rlgl 4.0: Completely decoupling from platform layer and raylib, intended for standalone usage as single-file header-only
@@ -15,7 +228,7 @@ KEY CHANGES:
15
228
  - raygui 3.0: Complete review and official new release, more portable and self-contained, intended for tools development
16
229
  - raylib_parser: New tool to parse raylib.h and extract all required info into custom output formats (TXT, XML, JSON...)
17
230
  - Zig and Odin official support
18
-
231
+
19
232
  Detailed changes:
20
233
  [core] ADDED: Support canvas resizing on web (#1840) by @skylersaleh
21
234
  [core] ADDED: GetMouseDelta() (#1832) by @adricoin2010
@@ -54,7 +267,7 @@ Detailed changes:
54
267
  [shapes] ADDED: RenderPolyLinesEx() (#1758) by @lambertwang
55
268
  [shapes] ADDED: DrawLineBezierCubic() (#2021) by @SAOMDVN
56
269
  [textures] ADDED: GetImageColor() #2024
57
- [textures] REMOVED: GenImagePerlinNoise()
270
+ [textures] REMOVED: GenImagePerlinNoise()
58
271
  [textures] RENAMED: GetTextureData() to LoadImageFromTexture()
59
272
  [textures] RENAMED: GetScreenData() to LoadImageFromScreen()
60
273
  [textures] REVIEWED: ExportImage() to use SaveFileData() (#1779)
@@ -170,8 +383,8 @@ Detailed changes:
170
383
  [core] RENAMED: LoadShaderCode() to LoadShaderFromMemory() (#1690)
171
384
  [core] RENAMED: SetMatrixProjection() to rlSetMatrixProjection()
172
385
  [core] RENAMED: SetMatrixModelview() to rlSetMatrixModelview()
173
- [core] RENAMED: GetMatrixModelview() to rlGetMatrixModelview()
174
- [core] RENAMED: GetMatrixProjection() to rlGetMatrixProjection()
386
+ [core] RENAMED: GetMatrixModelview() to rlGetMatrixModelview()
387
+ [core] RENAMED: GetMatrixProjection() to rlGetMatrixProjection()
175
388
  [core] RENAMED: GetShaderDefault() to rlGetShaderDefault()
176
389
  [core] RENAMED: GetTextureDefault() to rlGetTextureDefault()
177
390
  [core] REMOVED: GetShapesTexture()
@@ -186,7 +399,7 @@ Detailed changes:
186
399
  [core] REDESIGNED: Compresion API to use sdefl/sinfl libs
187
400
  [rlgl] ADDED: SUPPORT_GL_DETAILS_INFO config flag
188
401
  [rlgl] REMOVED: GenTexture*() functions (#721)
189
- [rlgl] REVIEWED: rlLoadShaderDefault()
402
+ [rlgl] REVIEWED: rlLoadShaderDefault()
190
403
  [rlgl] REDESIGNED: rlLoadExtensions(), more details exposed
191
404
  [raymath] REVIEWED: QuaternionFromEuler() (#1651)
192
405
  [raymath] REVIEWED: MatrixRotateZYX() (#1642)
@@ -221,7 +434,7 @@ Detailed changes:
221
434
  [utils] ADDED: SetLoadFileTextCallback()
222
435
  [utils] ADDED: SetSaveFileTextCallback()
223
436
  [examples] ADDED: text_draw_3d (#1689) by @Demizdor
224
- [examples] ADDED: textures_poly (#1677) by @chriscamacho
437
+ [examples] ADDED: textures_poly (#1677) by @chriscamacho
225
438
  [examples] ADDED: models_gltf_model (#1551) by @object71
226
439
  [examples] RENAMED: shaders_rlgl_mesh_instanced to shaders_mesh_intancing
227
440
  [examples] REDESIGNED: shaders_rlgl_mesh_instanced by @moliad
@@ -247,11 +460,11 @@ KEY CHANGES:
247
460
  - [core] ADDED: PLATFORM_DRM to support RPI4 and other devices (#1388) by @kernelkinetic
248
461
  - [core] REDESIGNED: Window states management system through FLAGS
249
462
  - [rlgl] ADDED: RenderBatch type and related functions to allow custom batching (internal only)
250
- - [rlgl] REDESIGNED: Framebuffers API to support multiple attachment types (#721)
463
+ - [rlgl] REDESIGNED: Framebuffers API to support multiple attachment types (#721)
251
464
  - [textures] REDESIGNED: Image*() functions, big performance improvements (software rendering)
252
465
  - [*] REVIEWED: Multiple functions to replace file accesses by memory accesses
253
466
  - [*] ADDED: GitHub Actions CI to support multiple raylib build configurations
254
-
467
+
255
468
  Detailed changes:
256
469
  [core] ADDED: SetWindowState() / ClearWindowState() -> New flags added!
257
470
  [core] ADDED: IsWindowFocused()
@@ -259,7 +472,7 @@ Detailed changes:
259
472
  [core] ADDED: GetMonitorRefreshRate() (#1289) by @Shylie
260
473
  [core] ADDED: IsCursorOnScreen() (#1262) by @ChrisDill
261
474
  [core] ADDED: SetMouseCursor() and GetMouseCursor() for standard Desktop cursors (#1407) by @chances
262
- [core] REMOVED: struct RenderTexture2D: depthTexture variable
475
+ [core] REMOVED: struct RenderTexture2D: depthTexture variable
263
476
  [core] REMOVED: HideWindow() / UnhideWindow() -> Use SetWindowState()
264
477
  [core] REMOVED: DecorateWindow() / UndecorateWindow() -> Use SetWindowState()
265
478
  [core] RENAMED: GetExtension() to GetFileExtension()
@@ -271,7 +484,7 @@ Detailed changes:
271
484
  [core] REVIEWED: GetPrevDirectoryPath() fixes on Unix-like systems (#1246) by @ivan-cx
272
485
  [core] REPLACED: rgif.h by msf_gif.h for automatic gif recording
273
486
  [core] REDESIGNED: GetMouseWheelMove() to return float movement for precise scrolling (#1397) by @Doy-lee
274
- [core] REDESIGNED: GetKeyPressed(), and added GetCharPressed() (#1336)
487
+ [core] REDESIGNED: GetKeyPressed(), and added GetCharPressed() (#1336)
275
488
  [core] UWP rework with improvements (#1231) by @Rover656
276
489
  [core] Gamepad axis bug fixes and improvement (#1228) by @mmalecot
277
490
  [core] Updated joystick mappings with latest version of gamecontrollerdb (#1381) by @coderoth
@@ -293,19 +506,19 @@ Detailed changes:
293
506
  [raymath] ADDED: Vector2LengthSqr() and Vector3LengthSqr() (#1248) by @ThePituLegend
294
507
  [raymath] ADDED: Vector2MoveTowards() function (#1233) by @anatagawa
295
508
  [raymath] REVIEWED: Some functions consistency (#1197) by @Not-Nik
296
- [raymath] REVIEWED: QuaternionFromVector3ToVector3() (#1263) by @jvocaturo
509
+ [raymath] REVIEWED: QuaternionFromVector3ToVector3() (#1263) by @jvocaturo
297
510
  [raymath] REVIEWED: MatrixLookAt(), optimized (#1442) by @RandomErrorMessage
298
511
  [shapes] ADDED: CheckCollisionLines(), by @Elkantor
299
512
  [text] Avoid [textures] functions dependencies
300
513
  [text] ADDED: Config flag: SUPPORT_TEXT_MANIPULATION
301
514
  [text] ADDED: LoadFontFromMemory() (TTF only) (#1327)
302
- [text] ADDED: UnloadFontData()
303
- [text] RENAMED: FormatText() -> TextFormat()
515
+ [text] ADDED: UnloadFontData()
516
+ [text] RENAMED: FormatText() -> TextFormat()
304
517
  [text] REVIEWED: Font struct, added charsPadding (#1432)
305
518
  [text] REVIEWED: TextJoin()
306
519
  [text] REVIEWED: TextReplace() (#1172)
307
520
  [text] REVIEWED: LoadBMFont() to load data from memory (#1232)
308
- [text] REVIEWED: GenImageFontAtlas(), fixed offset (#1171)
521
+ [text] REVIEWED: GenImageFontAtlas(), fixed offset (#1171)
309
522
  [text] REDESIGNED: LoadFontData(), reviewed input parameters
310
523
  [text] REDESIGNED: LoadFontDefault(), some code simplifications
311
524
  [text] REDESIGNED: LoadFontFromImage(), avoid LoadImageEx()
@@ -320,10 +533,10 @@ Detailed changes:
320
533
  [textures] ADDED: DrawTextureTiled() (#1291) - @Demizdor
321
534
  [textures] ADDED: UpdateTextureRec()
322
535
  [textures] ADDED: UnloadImageColors(), UnloadImagePalette(), UnloadWaveSamples()
323
- [textures] REMOVED: Config flag: SUPPORT_IMAGE_DRAWING
536
+ [textures] REMOVED: Config flag: SUPPORT_IMAGE_DRAWING
324
537
  [textures] REMOVED: LoadImageEx()
325
- [textures] REMOVED: LoadImagePro()
326
- [textures] REMOVED: GetImageDataNormalized(), not exposed in the API
538
+ [textures] REMOVED: LoadImagePro()
539
+ [textures] REMOVED: GetImageDataNormalized(), not exposed in the API
327
540
  [textures] RENAMED: ImageExtractPalette() to GetImagePalette()
328
541
  [textures] RENAMED: Fade() to ColorAlpha(), added #define for compatibility
329
542
  [textures] RENAMED: GetImageData() -> LoadImageColors()
@@ -335,7 +548,7 @@ Detailed changes:
335
548
  [textures] REVIEWED: ColorAlphaBlend(), support tint color
336
549
  [textures] REVIEWED: ColorAlphaBlend(), integers-version, optimized (#1218)
337
550
  [textures] REVIEWED: ImageDraw(), consider negative source offset properly (#1283)
338
- [textures] REVIEWED: ImageDraw(), optimizations test (#1218)
551
+ [textures] REVIEWED: ImageDraw(), optimizations test (#1218)
339
552
  [textures] REVIEWED: ImageResizeCanvas(), optimization (#1218)
340
553
  [textures] REVIEWED: ExportImage(), optimized
341
554
  [textures] REVIEWED: ImageAlphaPremultiply(), optimization
@@ -359,27 +572,27 @@ Detailed changes:
359
572
  [textures] REDESIGNED: ImageDraw(), optimization (#1218)
360
573
  [textures] REDESIGNED: ImageAlphaClear(), optimized (#1218)
361
574
  [textures] REDESIGNED: ExportImageAsCode() to use memory buffer (#1232)
362
- [textures] REDESIGNED: ColorFromHSV()
575
+ [textures] REDESIGNED: ColorFromHSV()
363
576
  [models] ADDED: DrawTriangle3D() and DrawTriangleStrip3D()
364
- [models] ADDED: UnloadModelKeepMeshes()
577
+ [models] ADDED: UnloadModelKeepMeshes()
365
578
  [models] REVIEWED: LoadModel(), avoid loading texcoords and normals from model if not existent
366
579
  [models] REVIEWED: GenMeshCubicmap(), added comments and simplification
367
580
  [models] REVIEWED: GenMeshCubicmap(), fixed generated normals (#1244) by @GoldenThumbs
368
- [models] REVIEWED: GenMeshPoly(), fixed buffer overflow (#1269) by @frithrah
581
+ [models] REVIEWED: GenMeshPoly(), fixed buffer overflow (#1269) by @frithrah
369
582
  [models] REVIEWED: LoadOBJ(): Allow for multiple materials in obj files (#1408) by @chriscamacho and @codifies
370
583
  [models] REVIEWED: LoadIQM() materials loading (#1227) by @sikor666
371
584
  [models] REVIEWED: LoadGLTF() to read from memory buffer
372
585
  [models] REVIEWED: UpdateMesh(), fix extra memory allocated when updating color buffer (#1271) by @4yn
373
586
  [models] REVIEWED: MeshNormalsSmooth() (#1317) by @seanpringle
374
587
  [models] REVIEWED: DrawGrid() (#1417)
375
- [models] REDESIGNED: ExportMesh() to use memory buffer (#1232)
588
+ [models] REDESIGNED: ExportMesh() to use memory buffer (#1232)
376
589
  [models] REDESIGNED: LoadIQM() and LoadModelAnimations() to use memory buffers
377
590
  [audio] ADDED: LoadWaveFromMemory() (#1327)
378
591
  [audio] REMOVED: SetMusicLoopCount()
379
592
  [audio] REVIEWED: Several functions, sampleCount vs frameCount (#1423)
380
593
  [audio] REVIEWED: SaveWAV() to use memory write insted of file
381
- [audio] REVIEWED: LoadMusicStream(), support WAV music streaming (#1198)
382
- [audio] REVIEWED: Support multiple WAV sampleSize for MusicStream (#1340)
594
+ [audio] REVIEWED: LoadMusicStream(), support WAV music streaming (#1198)
595
+ [audio] REVIEWED: Support multiple WAV sampleSize for MusicStream (#1340)
383
596
  [audio] REVIEWED: SetAudioBufferPitch()
384
597
  [audio] REDESIGNED: Audio looping system
385
598
  [audio] REDESIGNED: LoadSound(): Use memory loading (WAV, OGG, MP3, FLAC) (#1312)
@@ -413,9 +626,9 @@ Detailed changes:
413
626
  [build] Updated Android build for Linux, supporting ANDROID_NDK at compile time by @branlix3000
414
627
  [build] Updated VSCode project template tasks
415
628
  [build] Updated VS2017.UWP project template by @Rover656
416
- [build] Updated Android build pipeline
629
+ [build] Updated Android build pipeline
417
630
  [build] REMOVED: AppVeyor and Travis CI build systems
418
- [*] Moved raysan5/raylib/games to independent repo: raysan5/raylib-games
631
+ [*] Moved raysan5/raylib/games to independent repo: raysan5/raylib-games
419
632
  [*] Replaced several examples resources with more open licensed alternatives
420
633
  [*] Updated BINDINGS.md with NEW bindings and added raylib version binding!
421
634
  [*] Updated all external libraries to latest versions
@@ -425,7 +638,7 @@ Detailed changes:
425
638
  Release: raylib 3.0 (01 April 2020)
426
639
  -----------------------------------------------
427
640
  KEY CHANGES:
428
- - Global context states used on all modules.
641
+ - Global context states used on all modules.
429
642
  - Custom memory allocators for all modules and dependencies.
430
643
  - Centralized file access system and memory data loading.
431
644
  - Structures reviewed to reduce size and always be used as pass-by-value.
@@ -434,7 +647,7 @@ KEY CHANGES:
434
647
  - text module reviewed to improve fonts generation and text management functions.
435
648
  - Multiple new examples added and categorized examples table.
436
649
  - GitHub Actions CI implemented for Windows, Linux and macOS.
437
-
650
+
438
651
  Detailed changes:
439
652
  [build] ADDED: VS2017.ANGLE project, by @msmshazan
440
653
  [build] ADDED: VS2017 project support for x64 platform configuration
@@ -668,7 +881,7 @@ Detailed changes:
668
881
  [rlgl] ADDED: SetShaderValueTexture() - Set shader uniform value for texture
669
882
  [rlgl] ADDED: BeginScissorMode() - Begin scissor mode (define screen area for following drawing)
670
883
  [rlgl] ADDED: EndScissorMode() - End scissor mode
671
- [rlgl] ADDED: SetVrConfiguration() - Set stereo rendering configuration parameters
884
+ [rlgl] ADDED: SetVrConfiguration() - Set stereo rendering configuration parameters
672
885
  [rlgl] REVIEWED: InitVrSimulator() - No input parameter required, use SetVrConfiguration()
673
886
  [text] REVIEWED: LoadFontEx() - Reorder function parameters
674
887
  [text] REVIEWED: LoadFontData() - Reorder function parameters
@@ -861,10 +1074,10 @@ Detailed changes:
861
1074
  -----------------------------------------------
862
1075
  Release: raylib 1.8.0 (Oct 2017)
863
1076
  -----------------------------------------------
864
- NOTE:
865
- In this release, multiple parts of the library have been reviewed (again) for consistency and simplification.
1077
+ NOTE:
1078
+ In this release, multiple parts of the library have been reviewed (again) for consistency and simplification.
866
1079
  It exposes more than 30 new functions in comparison with previous version and it improves overall programming experience.
867
-
1080
+
868
1081
  BIG CHANGES:
869
1082
  - New Image generation functions: Gradient, Checked, Noise, Cellular...
870
1083
  - New Mesh generation functions: Cube, Sphere, Cylinder, Torus, Knot...
@@ -951,9 +1164,9 @@ detailed changes:
951
1164
  -----------------------------------------------
952
1165
  Release: raylib 1.7.0 (20 May 2017)
953
1166
  -----------------------------------------------
954
- NOTE:
955
- In this new raylib release, multiple parts of the library have been reviewed for consistency and simplification.
956
- It exposes almost 300 functions, around 30 new functions in comparison with previous version and, again,
1167
+ NOTE:
1168
+ In this new raylib release, multiple parts of the library have been reviewed for consistency and simplification.
1169
+ It exposes almost 300 functions, around 30 new functions in comparison with previous version and, again,
957
1170
  it sets a stepping stone towards raylib future.
958
1171
 
959
1172
  BIG changes:
@@ -1047,8 +1260,8 @@ other changes:
1047
1260
  -----------------------------------------------
1048
1261
  Release: raylib 1.6.0 (20 November 2016)
1049
1262
  -----------------------------------------------
1050
- NOTE:
1051
- This new raylib version commemorates raylib 3rd anniversary and represents another complete review of the library.
1263
+ NOTE:
1264
+ This new raylib version commemorates raylib 3rd anniversary and represents another complete review of the library.
1052
1265
  It includes some interesting new features and is a stepping stone towards raylib future.
1053
1266
 
1054
1267
  HUGE changes:
@@ -1104,8 +1317,8 @@ other changes:
1104
1317
  -----------------------------------------------
1105
1318
  Release: raylib 1.5.0 (18 July 2016)
1106
1319
  -----------------------------------------------
1107
- NOTE:
1108
- Probably this new version is the biggest boost of the library ever, lots of parts of the library have been redesigned,
1320
+ NOTE:
1321
+ Probably this new version is the biggest boost of the library ever, lots of parts of the library have been redesigned,
1109
1322
  lots of bugs have been solved and some **AMAZING** new features have been added.
1110
1323
 
1111
1324
  HUGE changes:
@@ -1149,7 +1362,7 @@ other changes:
1149
1362
  [rlgl] Replaced SetBlendMode() by: BeginBlendMode() - EndBlendMode()
1150
1363
  [rlgl] Added functions to customize internal matrices: SetMatrixProjection(), SetMatrixModelview()
1151
1364
  [rlgl] Unified internal shaders to only one default shader
1152
- [rlgl] Added support for render to texture (RenderTexture2D):
1365
+ [rlgl] Added support for render to texture (RenderTexture2D):
1153
1366
  LoadRenderTexture() - UnloadRenderTexture()
1154
1367
  BeginTextureMode() - EndTextureMode()
1155
1368
  [rlgl] Removed SetShaderMap*() functions
@@ -1195,7 +1408,7 @@ other changes:
1195
1408
  -----------------------------------------------
1196
1409
  Release: raylib 1.4.0 (22 February 2016)
1197
1410
  -----------------------------------------------
1198
- NOTE:
1411
+ NOTE:
1199
1412
  This version supposed another big improvement for raylib, including new modules and new features.
1200
1413
  More than 30 new functions have been added to previous raylib version.
1201
1414
  Around 8 new examples and +10 new game samples have been added.
@@ -1233,7 +1446,7 @@ other changes:
1233
1446
  -----------------------------------------------
1234
1447
  Release: raylib 1.3.0 (01 September 2015)
1235
1448
  -----------------------------------------------
1236
- NOTE:
1449
+ NOTE:
1237
1450
  This version supposed a big boost for raylib, new modules have been added with lots of features.
1238
1451
  Most of the modules have been completely reviewed to accomodate to the new features.
1239
1452
  Over 50 new functions have been added to previous raylib version.
@@ -1249,13 +1462,13 @@ BIG changes:
1249
1462
  other changes:
1250
1463
 
1251
1464
  [rlgl] Added check for OpenGL supported extensions
1252
- [rlgl] Added function SetBlenMode() to select some predefined blending modes
1465
+ [rlgl] Added function SetBlenMode() to select some predefined blending modes
1253
1466
  [core] Added support for drop&drag of external files into running program
1254
1467
  [core] Added functions ShowCursor(), HideCursor(), IsCursorHidden()
1255
1468
  [core] Renamed function SetFlags() to SetConfigFlags()
1256
1469
  [shapes] Simplified some functions to improve performance
1257
1470
  [textures] Review of Image struct to support multiple data formats
1258
- [textures] Added function LoadImageEx()
1471
+ [textures] Added function LoadImageEx()
1259
1472
  [textures] Added function LoadImageRaw()
1260
1473
  [textures] Added function LoadTextureEx()
1261
1474
  [textures] Simplified function parameters LoadTextureFromImage()
@@ -1313,7 +1526,7 @@ Update: raylib 1.2.1 (17 October 2014) (Small Fixes Update)
1313
1526
  -----------------------------------------------
1314
1527
  Release: raylib 1.2 (16 September 2014)
1315
1528
  -----------------------------------------------
1316
- NOTE:
1529
+ NOTE:
1317
1530
  This version supposed a complete redesign of the [core] module to support Android and Raspberry Pi.
1318
1531
  Multiples modules have also been tweaked to accomodate to the new platforms, specially [rlgl]
1319
1532
 
@@ -1363,7 +1576,7 @@ Release: raylib 1.1.1 (22 July 2014)
1363
1576
  -----------------------------------------------
1364
1577
  Release: raylib 1.1.0 (19 April 2014)
1365
1578
  -----------------------------------------------
1366
- NOTE:
1579
+ NOTE:
1367
1580
  This version supposed a complete internal redesign of the library to support OpenGL 3.3+ and OpenGL ES 2.0.
1368
1581
  New module [rlgl] has been added to 'translate' immediate mode style functions (i.e. rlVertex3f()) to GL 1.1, 3.3+ or ES2.
1369
1582
  Another new module [raymath] has also been added with lot of useful 3D math vector-matrix-quaternion functions.
@@ -1399,7 +1612,7 @@ Release: raylib 1.0.6 (16 March 2014)
1399
1612
  [core] Removed unused lighting-system code
1400
1613
  [core] Removed SetPerspective() function, calculated directly
1401
1614
  [core] Unload and reload default font on fullscreen toggle
1402
- [core] Corrected bug gamepad buttons checking if no gamepad available
1615
+ [core] Corrected bug gamepad buttons checking if no gamepad available
1403
1616
  [texture] DrawTextureV() - Added, to draw using Vector2 for position
1404
1617
  [texture] LoadTexture() - Redesigned, now uses LoadImage() + CreateTexture()
1405
1618
  [text] FormatText() - Corrected memory leak bug
@@ -1415,7 +1628,7 @@ Update: raylib 1.0.5 (28 January 2014)
1415
1628
  [core] GetMouseWheelMove() - Added, check mouse wheel Y movement
1416
1629
  [texture] CreateTexture2D() renamed to CreateTexture()
1417
1630
  [models] LoadHeightmap() - Added, Heightmap can be loaded as a Model
1418
- [tool] rREM updated, now supports (partially) drag and drop of files
1631
+ [tool] rREM updated, now supports (partially) drag and drop of files
1419
1632
 
1420
1633
  -----------------------------------------------
1421
1634
  Release: raylib 1.0.4 (23 January 2014)
@@ -1,6 +1,18 @@
1
1
  cmake_minimum_required(VERSION 3.0)
2
2
  project(raylib)
3
3
 
4
+ # Avoid excessive expansion of variables in conditionals. In particular, if
5
+ # "PLATFORM" is "DRM" than:
6
+ #
7
+ # if (${PLATFORM} MATCHES "DRM")
8
+ #
9
+ # may expand e.g to:
10
+ #
11
+ # if (/usr/lib/aarch64-linux-gnu/libdrm.so MATCHES "DRM")
12
+ #
13
+ # See https://cmake.org/cmake/help/latest/policy/CMP0054.html
14
+ cmake_policy(SET CMP0054 NEW)
15
+
4
16
  # Directory for easier includes
5
17
  # Anywhere you see include(...) you can check <root>/cmake for that file
6
18
  set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
@@ -27,6 +27,13 @@ endif()
27
27
  option(INCLUDE_EVERYTHING "Include everything disabled by default (for CI usage" OFF)
28
28
  set(OFF ${INCLUDE_EVERYTHING} CACHE INTERNAL "Replace any OFF by default with \${OFF} to have it covered by this option")
29
29
 
30
+ # raylib modules included
31
+ cmake_dependent_option(SUPPORT_MODULE_RSHAPES "Include module: rshapes" ON CUSTOMIZE_BUILD ON)
32
+ cmake_dependent_option(SUPPORT_MODULE_RTEXTURES "Include module: rtextures" ON CUSTOMIZE_BUILD ON)
33
+ cmake_dependent_option(SUPPORT_MODULE_RTEXT "Include module: rtext" ON CUSTOMIZE_BUILD ON)
34
+ cmake_dependent_option(SUPPORT_MODULE_RMODELS "Include module: rmodels" ON CUSTOMIZE_BUILD ON)
35
+ cmake_dependent_option(SUPPORT_MODULE_RAUDIO "Include module: raudio" ON CUSTOMIZE_BUILD ON)
36
+
30
37
  # rcore.c
31
38
  cmake_dependent_option(SUPPORT_CAMERA_SYSTEM "Provide camera module (rcamera.h) with multiple predefined cameras: free, 1st/3rd person, orbital" ON CUSTOMIZE_BUILD ON)
32
39
  cmake_dependent_option(SUPPORT_GESTURES_SYSTEM "Gestures module is included (rgestures.h) to support gestures detection: tap, hold, swipe, drag" ON CUSTOMIZE_BUILD ON)
@@ -38,7 +45,6 @@ cmake_dependent_option(SUPPORT_GIF_RECORDING "Allow automatic gif recording of c
38
45
  cmake_dependent_option(SUPPORT_BUSY_WAIT_LOOP "Use busy wait loop for timing sync instead of a high-resolution timer" OFF CUSTOMIZE_BUILD OFF)
39
46
  cmake_dependent_option(SUPPORT_EVENTS_WAITING "Wait for events passively (sleeping while no events) instead of polling them actively every frame" OFF CUSTOMIZE_BUILD OFF)
40
47
  cmake_dependent_option(SUPPORT_WINMM_HIGHRES_TIMER "Setting a higher resolution can improve the accuracy of time-out intervals in wait functions" OFF CUSTOMIZE_BUILD OFF)
41
- cmake_dependent_option(SUPPORT_DATA_STORAGE "Support for persistent data storage" ON CUSTOMIZE_BUILD ON)
42
48
  cmake_dependent_option(SUPPORT_COMPRESSION_API "Support for compression API" ON CUSTOMIZE_BUILD ON)
43
49
 
44
50
  # rshapes.c
@@ -57,6 +63,7 @@ cmake_dependent_option(SUPPORT_FILEFORMAT_BMP "Support loading BMP as textures"
57
63
  cmake_dependent_option(SUPPORT_FILEFORMAT_TGA "Support loading TGA as textures" ${OFF} CUSTOMIZE_BUILD OFF)
58
64
  cmake_dependent_option(SUPPORT_FILEFORMAT_JPG "Support loading JPG as textures" ${OFF} CUSTOMIZE_BUILD OFF)
59
65
  cmake_dependent_option(SUPPORT_FILEFORMAT_GIF "Support loading GIF as textures" ${OFF} CUSTOMIZE_BUILD OFF)
66
+ cmake_dependent_option(SUPPORT_FILEFORMAT_QOI "Support loading QOI as textures" ${OFF} CUSTOMIZE_BUILD OFF)
60
67
  cmake_dependent_option(SUPPORT_FILEFORMAT_PSD "Support loading PSD as textures" ${OFF} CUSTOMIZE_BUILD OFF)
61
68
  cmake_dependent_option(SUPPORT_FILEFORMAT_PKM "Support loading PKM as textures" ${OFF} CUSTOMIZE_BUILD OFF)
62
69
  cmake_dependent_option(SUPPORT_FILEFORMAT_PVR "Support loading PVR as textures" ${OFF} CUSTOMIZE_BUILD OFF)
@@ -19,7 +19,7 @@ Operators | value1 - value2 | `int res = value - 5;`
19
19
  Enum | TitleCase | `enum TextureFormat`
20
20
  Enum members | ALL_CAPS | `PIXELFORMAT_UNCOMPRESSED_R8G8B8`
21
21
  Struct | TitleCase | `struct Texture2D`, `struct Material`
22
- Struct members |lowerCase | `texture.width`, `color.r`
22
+ Struct members | lowerCase | `texture.width`, `color.r`
23
23
  Functions | TitleCase | `InitWindow()`, `LoadImageFromMemory()`
24
24
  Functions params | lowerCase | `width`, `height`
25
25
  Ternary Operator | (condition)? result1 : result2 | `printf("Value is 0: %s", (value == 0)? "yes" : "no");`
@@ -52,7 +52,7 @@ switch (value)
52
52
  ```
53
53
  - All conditions checks are **always between parenthesis** but not boolean values:
54
54
  ```c
55
- if ((value > 1) && (value < 50) && valueActive))
55
+ if ((value > 1) && (value < 50) && valueActive)
56
56
  {
57
57
 
58
58
  }
@@ -92,4 +92,3 @@ resources/characters/enemy_slime.png
92
92
  resources/common/font_arial.ttf
93
93
  resources/common/gui.png
94
94
  ```
95
-