You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2128 lines
128 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
7 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
11 years ago
8 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
11 years ago
8 years ago
8 years ago
8 years ago
8 years ago
7 years ago
8 years ago
7 years ago
10 years ago
10 years ago
10 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
  1. changelog
  2. ---------
  3. Current Release: raylib 5.0 (18 November 2023)
  4. -------------------------------------------------------------------------
  5. Release: raylib 5.0 - 10th Anniversary Edition (18 November 2023)
  6. -------------------------------------------------------------------------
  7. KEY CHANGES:
  8. - REDESIGNED: rcore module platform-split, by @ubkp, @michaelfiber, @Bigfoot71, @raysan5
  9. - ADDED: New platform backend supported: SDL
  10. - ADDED: New platform backend supported: Nintendo Switch (closed source)
  11. - ADDED: New Splines drawing and evaluation API
  12. - ADDED: New pseudo-random numbers generator: rprand
  13. - ADDED: Automation Events System API
  14. - UPDATED: raygui 4.0: New version of this immediate-mode gui system for tools development with raylib
  15. Detailed changes:
  16. [rcore] ADDED: RAYLIB_VERSION_* values to raylib.h (#2856) by @RobLoach
  17. [rcore] ADDED: IsKeyPressedRepeat() on PLATFORM_DESKTOP (#3245) by @actondev
  18. [rcore] ADDED: SetWindowTitle() for PLATFORM_WEB (#3222) by @VitusVeit
  19. [rcore] ADDED: FLAG_WINDOW_RESIZABLE for web (#3305) by @Peter0x44
  20. [rcore] ADDED: SetWindowMaxSize() for desktop and web (#3309) by @ubkp
  21. [rcore] ADDED: SetMouseCursor() for PLATFORM_WEB (#3414) by @BeardedBread
  22. [rcore] ADDED: LoadRandomSequence()/UnloadRandomSequence() by @raysan5
  23. [rcore] REMOVED: PLATFORM_RPI (#3232) by @michaelfiber
  24. [rcore] REVIEWED: GetFileLength(), added comment (#3262) by @raysan5
  25. [rcore] REVIEWED: Default shaders precission issue on PLATFORM_WEB (#3261) by @branc116
  26. [rcore] REVIEWED: IsKey*() key validation checks (#3256) by @n77y
  27. [rcore] REVIEWED: SetClipboardText() for PLATFORM_WEB (#3257) by @ubkp
  28. [rcore] REVIEWED: Check if Ctrl modifier is among the currently set modifiers (#3230) by @mohad12211
  29. [rcore] REVIEWED: Android app black screen when reopening by @Bigfoot71
  30. [rcore] REVIEWED: Warnings when casting int to floats (#3218) by @JeffM2501
  31. [rcore] REVIEWED: GetCurrentMonitor() detection inconsistency issue (#3215) by @ubkp
  32. [rcore] REVIEWED: SetWindowMonitor() to no longer force fullscreen (#3209) by @ubkp
  33. [rcore] REVIEWED: Fix mouse wheel not working in PLATFORM_RPI or PLATFORM_DRM (#3193) by @ubkp
  34. [rcore] REVIEWED: GetMonitorName() description (#3184) (#3189) by @danilwhale
  35. [rcore] REVIEWED: BeginScissorMode(), identify rendering to texture (#3510) by @gulrak
  36. [rcore] REVIEWED: Window flags order (#3114) by @lesleyrs
  37. [rcore] REVIEWED: Full movement for right analog stick (#3095) by @PixelPhobicGames
  38. [rcore] REVIEWED: Fix Android app freeze after calling CloseWindow() (#3067) by @Bigfoot71
  39. [rcore] REVIEWED: Lazy loading of default font used on image drawing (no InitWindow) by @raysan5
  40. [rcore] REVIEWED: Minor tweaks to raylib events automation system @raysan5
  41. [rcore] REVIEWED: GetCurrentMonitor() bugfix (#3058) by @hamyyy
  42. [rcore] REVIEWED: Update CORE.Input.Touch.pointCount (#3024) by @raysan5
  43. [rcore] REVIEWED: Mouse offset and scaling must be considered also on web!
  44. [rcore] REVIEWED: CompressData(), possible stack overflow
  45. [rcore] REVIEWED: GetWorldToScreenEx() (#3351) by @Brian-ED
  46. [rcore] REVIEWED: Fix GetMouseDelta() issue for Android (#3404) by @Bigfoot71
  47. [rcore] REVIEWED: GetFPS(), reset FPS averages when window is inited (#3445) by @JeffM2501
  48. [rcore] REVIEWED: GetCurrentMonitor(), check window center position by @M374LX
  49. [rcore] REVIEWED: GetRender*() issue on macOS highDPI (#3367) by @raysan5
  50. [rcore] REVIEWED: ScanDirectoryFiles*(), paths building slashes sides (#3507)
  51. [rlgl] ADDED: Experimental support for OpenGL ES 3.0 by @raysan5
  52. [rlgl] ADDED: Support 16-Bit HDR textures (#3220) by @Not-Nik
  53. [rlgl] ADDED: rlEnablePointMode() (#3490) by @JettMonstersGoBoom
  54. [rlgl] ADDED: rlBlitFramebuffer(), required for deferred render
  55. [rlgl] REVIEWED: LoadModel(), removed cube fallback mechanism (#3459)
  56. [rlgl] REVIEWED: Improved support for ES3/WebGL2 (#3107) by @chemaguerra
  57. [rlgl] REVIEWED: OpenGL 2.1 half floats support as part of an extension by @Not-Nik
  58. [rlgl] REVIEWED: Avoid shader attribute not found log by @raysan5
  59. [rlgl] REVIEWED: Avoid tracelog about not found uniforms (#3003) by @raysan5
  60. [rlgl] REVIEWED: rLoadTexture() UBSAN complaints #1891 (#3321) by @Codom
  61. [rlgl] REVIEWED: glInternalFormat as unsigned int
  62. [rlgl] REVIEWED: OpenGL ES 3.0 support
  63. [rshapes] ADDED: Spline drawing functions by @raysan5
  64. [rshapes] ADDED: GetSplinePoint*() functions for spline evaluation by @raysan5
  65. [rshapes] ADDED: DrawCircleLinesV() for consistency (#3452) by @Peter0x44
  66. [rshapes] REVIEWED: DrawSplineCatmullRom() by @raysan5
  67. [rshapes] REVIEWED: Minor fix in DrawLineBezier* (#3006) by @eternalStudent
  68. [rshapes] REVIEWED: GetCollisionRec(), more performant (#3052) by @manuel5975p
  69. [rshapes] REVIEWED: Fix off-by-one error in CheckCollisionPointRec() (#3022) by @dbechrd
  70. [rtextures] ADDED: Basic SVG loading support (#2738) by @bXi
  71. [rtextures] ADDED: Support 16-Bit HDR textures (#3220) by @Not-Nik
  72. [rtextures] ADDED: ExportImageToMemory() by @raysan5
  73. [rtextures] ADDED: ImageRotate() (#3078) by @danemadsen
  74. [rtextures] ADDED: GenImageGradientSquare() (#3077) by @danemadsen
  75. [rtextures] ADDED: GenImageLinearGradient() by @danemadsen
  76. [rtextures] REMOVED: GenImageGradientH() and GenImageGradientV() by @danemadsen
  77. [rtextures] REVIEWED: LoadImageSvg() by @raysan5
  78. [rtextures] REVIEWED: Uninitialized thread-locals in stbi (#3282) (#3283) by @jbarthelmes
  79. [rtextures] REVIEWED: ImageDrawRectangleRec(), validate drawing inside bounds by @JeffM2501
  80. [rtextures] REVIEWED: LoadTextureCubemap() for manual layouts (#3204) by @Not-Nik
  81. [rtextures] REVIEWED: Optimization of ImageDrawRectangleRec() (#3185) by @smalltimewizard
  82. [rtextures] REVIEWED: ImageRotate() formatting by @raysan5
  83. [rtextures] REVIEWED: GenImagePerlinNoise(), clamp values (#3071) by @raysan5
  84. [rtextures] REVIEWED: Packing logic error in GenImageFontAtlas() (#2979) by @hanaxar
  85. [rtextures] REVIEWED: Calculate exact image size in GenImageFontAtlas() (#2963) by @hanaxar
  86. [rtextures] REVIEWED: ImageDrawRectangleRec() (#3027) by @raysan5
  87. [rtextures] REVIEWED: ImageDraw() source clipping when drawing beyond top left (#3306) by @RobLoach
  88. [rtextures] REVIEWED: UnloadRenderTexture(), additional checks
  89. [rtextures] REVIEWED: Fixed compressed DDS texture loading issues (#3483) by @JaanDev
  90. [rtext] ADDED: Font altas white rectangle and flag SUPPORT_FONT_ATLAS_WHITE_REC by @raysan5
  91. [rtext] ADDED: SetTextLineSpacing() to define line breaks text drawing spacing by @raysan5
  92. [rtext] RENAMED: LoadFont*() parameter names for consistency and coherence by @raysan5
  93. [rtext] REVIEWED: GetCodepointCount(), ignore unused return value of GetCodepointNext by @ashn-dot-dev
  94. [rtext] REVIEWED: TextFormat() warn user if buffer overflow occured (#3399) by @Murlocohol
  95. [rtext] REVIEWED: TextFormat(), added "..." for truncation (#3366) by @raysan5
  96. [rtext] REVIEWED: GetGlyphIndex() (#3000) by @raysan5
  97. [rtext] REVIEWED: GetCodepointNext() to return default value by @chocolate42
  98. [rtext] REVIEWED: TextToPascal() issue when first char is uppercase
  99. [rmodels] ADDED: ModelAnimation.name field, initially with GLTF animation names by @alfredbaudisch
  100. [rmodels] REDESIGNED: LoadOBJ(), avoid mesh splitting by materials, fix (#3398) by @raysan5
  101. [rmodels] REVIEWED: Support .vox model files version 200 (#3097) by @Bigfoot71
  102. [rmodels] REVIEWED: Materials loading (#3126) @raysan5
  103. [rmodels] REVIEWED: DrawBillboardPro() to allow source of negative size (#3197) by @bohonghuang
  104. [rmodels] REVIEWED: glTF loading segfault in animNormals memcpy by @charles-l
  105. [rmodels] REVIEWED: LoadModelAnimationsGLTF(), free fileData after use (#3065) by @crynux
  106. [rmodels] REVIEWED: GenMeshCubicmap(), correction of values (#3032) by @Bigfoot71
  107. [rmodels] REVIEWED: DrawMesh() to avoid UBSAN complaining (#1891)
  108. [rmodels] REVIEWED: GenMeshPlane() when resX != resZ (#3425) by @neyrox, @s-yablonskiy
  109. [rmodels] REVIEWED: GetModelBoundingBox() (#3485)
  110. [raudio] ADDED: LoadSoundAlias() by @JeffM2501
  111. [raudio] ADDED: Missing structure on standalone mode (#3160) by @raysan5
  112. [raudio] ADDED: GetMasterVolume() (#3434) by @rexim
  113. [raudio] REVIEWED: Comments about sample format to AttachAudioStreamProcessor() (#3188) by @AlbertoGP
  114. [raudio] REVIEWED: Documented buffer format for audio processors (#3186) by @AlbertoGP
  115. [raudio] REVIEWED: ExportWaveAsCode() file saving by @RadsammyT
  116. [raudio] REVIEWED: Fix warning on discarded const qualifier (#2967) by @RobLoach
  117. [raudio] REVIEWED: Move mutex initialization before ma_device_start() (#3325) by @Bigfoot71
  118. [raudio] REVIEWED: Fix UpdateSound() parameter name (#3405) by @KislyjKisel
  119. [raudio] REVIEWED: Fix QOA seeking (#3494) by @veins1
  120. [rcamera] REVIEWED: File-macros for consistency (#3161) by @raysan5
  121. [rcamera] REVIEWED: Support analog stick camera controls (#3066) by @PixelPhobicGames
  122. [rcamera] REVIEWED: CameraMoveToTarget(), ensure distance is greater than 0 (#3031) by @kolunmi
  123. [rcamera] REVIEWED: Exposing rcamera functions to the dll (#3355) by @JeffM2501
  124. [raymath] ADDED: Vector3Projection() and Vector3Rejection() (#3263) by @Dial0
  125. [raymath] ADDED: EPSILON macro to each function requiring it (#3330) by @Brian-ED
  126. [raymath] REVIEWED: Usage of 'sinf()' and 'cosf()' to be correct (#3181) by @RokasPuzonas
  127. [raymath] REVIEWED: Slightly optimized Vector3Normalize() (#2982) by @RicoP
  128. [raymath] REVIEWED: Comment to clarify raymath semantics by @raysan5
  129. [raymath] REVIEWED: Comment about Matrix conventions by @raysan5
  130. [raymath] REVIEWED: Vector2Angle() and Vector2LineAngle() (#3396) by @Murlocohol
  131. [rgestures] REVIEWED: Optimize and simplify the gesture system (#3190) by @ubkp
  132. [rgestures] REVIEWED: GESTURE_DRAG and GESTURE_SWIPE_* issues (mostly) for web (#3183) by @ubkp
  133. [rgestures] REVIEWED: Touch pointCount for web (#3163) by @ubkp
  134. [rgestures] REVIEWED: IsGestureDetected() parameter type
  135. [utils] ADDED: Security checks to file reading (memory allocations) by @raysan5
  136. [utils] REVIEWED: LoadFileData() potential issues with dataSize
  137. [examples] ADDED: shaders_lightmap (#3043) by @nullstare
  138. [examples] ADDED: core_2d_camera_split_screen (#3298) by @gabrielssanches
  139. [examples] ADDED: LoadSoundAlias() usage example (#3223) by @JeffM2501
  140. [examples] ADDED: textures_tiling (#3353) by @luis605
  141. [examples] ADDED: shader_deferred_render (#3496) by @27justin
  142. [examples] RENAMED: 2d_camera examples for consistency
  143. [examples] REVIEWED: Text examples SetTextLineSpacing() to multiline examples by @raysan5
  144. [examples] REVIEWED: examples/shapes/shapes_collision_area.c help instructions (#3279) by @asdqwe
  145. [examples] REVIEWED: examples/shaders/shaders_texture_outline.c help instructions (#3278) by @asdqwe
  146. [examples] REVIEWED: examples/others/easings_testbed.c help instructions and small twe… by @asdqwe
  147. [examples] REVIEWED: example/audio/audio_module_player.c help instructions and small b… by @asdqwe
  148. [examples] REVIEWED: example/models/models_loading_m3d.c controls (#3269) by @asdqwe
  149. [examples] REVIEWED: example/models/models_loading_gltf.c controls (#3268) by @asdqwe
  150. [examples] REVIEWED: text_unicode.c example crashing (#3250) by @ubkp
  151. [examples] REVIEWED: rlgl_standalone.c compilation issue (#3242) by @ubkp
  152. [examples] REVIEWED: core_input_gestures for Web (#3172) by @ubkp
  153. [examples] REVIEWED: core_input_gamepad (#3110) by @iacore
  154. [examples] REVIEWED: examples using raygui to raygui 4.0 by @raysan5
  155. [examples] REVIEWED: Julia set shader example (#3467) by @joshcol9232
  156. [build] ADDED: CMake option for SUPPORT_CUSTOM_FRAME_CONTROL (#3221) by @ubkp
  157. [build] ADDED: New BORDERLESS_WINDOWED_MODE for PLATFORM_DESKTOP (#3216) by @ubkp
  158. [build] ADDED: New examples to VS2022 solution by @raysan5
  159. [build] REVIEWED: Updated Makefile and Makefile.Web, include new examples
  160. [build] REVIEWED: Fix CMake extraneous -lglfw (#3266) by @iacore
  161. [build] REVIEWED: Add missing cmake options (#3267) by @asdqwe
  162. [build] REVIEWED: Match CMakeOptions.txt options default values (#3258) by @asdqwe
  163. [build] REVIEWED: Add build.zig options for individual modules (#3254) by @actondev
  164. [build] REVIEWED: build.zig to work with cross-compiling (#3225) by @yujiri8
  165. [build] REVIEWED: Makefile build on PLATFORM_ANDROID, soname (#3211) by @ndytts
  166. [build] REVIEWED: src/Makefile, fix misleading indentation (#3202) by @ashn-dot-dev
  167. [build] REVIEWED: build.zig: Support for building with PLAFORM_DRM (#3191) by @jakubvf
  168. [build] REVIEWED: Update CMakeOptions.txt by @raysan5
  169. [build] REVIEWED: fix: cmake option "OPENGL_VERSION" doesn't work (#3170) by @royqh1979
  170. [build] REVIEWED: Add error if raylib.h is included in a C++98 program (#3093) by @Peter0x44
  171. [build] REVIEWED: Cross compilation for PLATFORM_DRM (#3091) by @TheLastBilly
  172. [build] REVIEWED: build.zigm fixed cross-compiling from Linux (#3090)by @yujiri8
  173. [build] REVIEWED: Enhanced cmake part for OpenBSD (#3086) by @rayit
  174. [build] REVIEWED: Fixed compile on OpenBSD (#3085)by @rayit
  175. [build] REVIEWED: CMake project example: fix a couple of typos (#3014) by @benjamin-thomas
  176. [build] REVIEWED: Fix warnings in raylib for MSVC (#3004) by @JeffM2501
  177. [build] REVIEWED: Update cmake example project (#3062) by @lesleyrs
  178. [build] REVIEWED: Update build.zig be be able to build with current zig master (#3064) by @ryupold
  179. [build] REVIEWED: VSCode project template (#3048) by @Shoozza
  180. [build] REVIEWED: Fixed broken build.zig files. Now works with latest stable compiler (… by @Gamer-Kold
  181. [build] REVIEWED: Fix missing symbol when rglfw.c on BSD platforms (#2968) by @Koromix
  182. [build] REVIEWED: Update Makefile comment to indicate arm64 as a supported Linux deskto… @ashn-dot-dev
  183. [build] REVIEWED: Update Makefile : clean raygui.c & physac.c (#3296) by @SuperUserNameMan
  184. [build] REVIEWED: Update webassembly.yml and linux.yml
  185. [build] REVIEWED: Update zig build system to zig version 0.11.0 (#3393) by @purple4pur
  186. [build] REVIEWED: Fix for latest zig master (#3037) by @star-tek-mb
  187. [build] REVIEWED: Examples Makefile to use Makefile.Web when building for web (#3449) by @keithstellyes
  188. [build] REVIEWED: build.zig updates for 0.11.0 release. (#3501) by @cabarger
  189. [build] REVIEWED: Support OpenGL ES 3.0 building on Web platform
  190. [build] REVIEWED: Fix warnings in Visual Studio (#3512) by @JeffM2501
  191. [build] REVIEWED: OpenGL ES 3.0 flags on CMakeOptions (#3514) by @awfulcooking
  192. [bindings] ADDED: fortran-raylib
  193. [bindings] ADDED: raylib-raku to bindings (#3299) by @vushu
  194. [bindings] ADDED: claw-raylib to BINDINGS.md (#3310) by @bohonghuang
  195. [bindings] ADDED: vaiorabbit/raylib-bindings (#3318) by @wilsonsilva
  196. [bindings] ADDED: TurboRaylib (#3317) by @turborium
  197. [bindings] ADDED: raylib-ffi to bindings list (#3164) by @ewpratten
  198. [bindings] ADDED: raylib-pkpy-bindings (#3361) by @blueloveTH
  199. [bindings] ADDED: Raylib.lean to BINDINGS.md (#3409) by @KislyjKisel
  200. [bindings] UPDATED: BINDINGS.md (#3217) by @joseph-montanez
  201. [bindings] UPDATED: BINDINGS.md to include rayjs (#3212) by @mode777
  202. [bindings] UPDATED: latest h-raylib version (#3166) by @Anut-py
  203. [bindings] UPDATED: bindbd-raylib3 to raylib 4.5 (#3157) by @o3o
  204. [bindings] UPDATED: Janet bindings supported version update (#3083)by @archydragon
  205. [bindings] UPDATED: BINDINGS.md (raylib-py -> 4.5) (#2992) by @overdev
  206. [bindings] UPDATED: BINDINGS.md (raylib-lua -> 4.5) (#2989) by @TSnake41
  207. [bindings] UPDATED: raylib-d binding version to 4.5 (#2988) by @schveiguy
  208. [bindings] UPDATED: raylib-freebasic to 4.5 (#2986) by @WIITD
  209. [bindings] UPDATED: BINDINGS.md (#2983) by @jarroddavis68
  210. [bindings] UPDATED: BINDINGS.md for raylib Odin 4.5 (#2981) by @gingerBill
  211. [bindings] UPDATED: BINDINGS.md (#2980) by @GuvaCode
  212. [bindings] UPDATED: BINDINGS.md (#3002) by @fubark
  213. [bindings] UPDATED: BINDINGS.md (#3053) by @JupiterRider
  214. [bindings] UPDATED: BINDINGS.md (#3050) by @Its-Kenta
  215. [bindings] UPDATED: CL bindings version (#3049) by @shelvick
  216. [bindings] UPDATED: BINDINGS.md (#3026) by @ChrisDill
  217. [bindings] UPDATED: BINDINGS.md (#3023) by @sDos280
  218. [bindings] UPDATED: BINDINGS.md (#3017) by @Soutaisei
  219. [bindings] UPDATED: Various versions to 4.5 (#2974) by @RobLoach
  220. [bindings] UPDATED: raylib.zig version to 4.5 (#2971) by @ryupold
  221. [bindings] UPDATED: h-raylib version (#2970) by @Anut-py
  222. [bindings] UPDATED: Factor's raylib binding to v4.5 (#3350) by @WraithGlade
  223. [bindings] UPDATED: raylib-ocaml bindings to 4.5 version (#3322) by @tjammer
  224. [bindings] UPDATED: Jaylib binding (#3508) by @glowiak
  225. [external] UPDATED: sdefl and sinfl DEFLATE compression libraries by @raysan5
  226. [external] UPDATED: miniaudio v0.11.12 --> v0.11.19 by @raysan5
  227. [external] UPDATED: rl_gputex.h compressed images loading library by @raysan5
  228. [external] UPDATED: Replaced stb_image_resize.c by stb_image_resize2.h (#3403) by @BabakSamimi
  229. [external] UPDATED: qoi and qoa libraries
  230. [external] UPDATED: stb libraries (required ones)
  231. [external] UPDATED: cgltf and m3d libraries
  232. [external] REVIEWED: msf_gif.h, some warnings
  233. [external] REVIEWED: sinfl external library to avoid ASAN complaints (#3349) by @raysan5
  234. [misc] ADDED: New task point to issue template about checking the wiki (#3169) by @ubkp
  235. [misc] ADDED: CodeQL for static code analysis (#3476) by @b4yuan
  236. [misc] REVIEWED: Update FAQ.md by @raysan5
  237. [misc] REVIEWED: Potential code issues reported by CodeQL (#3476)
  238. [misc] REVIEWED: Fix a link in the FAQ (#3082)by @jasonliang-dev
  239. [misc] REVIEWED: New file formats to FAQ (#3079) by @Luramoth
  240. [misc] REVIEWED: Make assets loading extension case insensitive #3008 by @raysan5
  241. [misc] REVIEWED: Updated web shells open-graph info by @raysan5
  242. -------------------------------------------------------------------------
  243. Release: raylib 4.5 (18 March 2023)
  244. -------------------------------------------------------------------------
  245. KEY CHANGES:
  246. - ADDED: Improved ANGLE support on Desktop platforms
  247. - ADDED: rcamera module, simpler and more extendable
  248. - ADDED: Support for M3D models and M3D/GLTF animations
  249. - ADDED: Support QOA audio format (import/export)
  250. - ADDED: rl_gputex module for compressed textures loading
  251. - REDESIGNED: rlgl module for automatic render-batch limits checking
  252. - REDESIGNED: rshapes module to minimize the rlgl dependency
  253. Detailed changes:
  254. [core] ADDED: RAYLIB_VERSION_* values to raylib.h (#2856) by @RobLoach
  255. [core] ADDED: Basic gamepad support for Android (#2709) by @deniska
  256. [core] ADDED: Support CAPS/NUM lock keys registering if locked
  257. [core] ADDED: _GNU_SOURCE define on Linux (#2729)
  258. [core] ADDED: SetWindowIcons() to set multiple icon image sizes
  259. [core] `WARNING`: RENAMED: Exported raylib version symbol to raylib_version #2671
  260. [core] REMOVED: Touch points on touch up events on Android (#2711) by @deniska
  261. [core] REVIEWED: Window position setup on InitWindow() (#2732) by @RandomErrorMessage
  262. [core] REVIEWED: Touchscreen input related functions on Android (#2702) by @deniska
  263. [core] REVIEWED: Viewport scaling on Android after context rebind (#2703) by @deniska
  264. [core] REVIEWED: ScanDirectoryFilesRecursively() (#2704)
  265. [core] REVIEWED: Gamepad mappings with latest gamecontrollerdb (#2725)
  266. [core] REVIEWED: Monitor order check on app initialization
  267. [core] REVIEWED: Application monitor when opening (#2728, #2731) by @RandomErrorMessage
  268. [core] REVIEWED: Gestures module to use GetTime() if available (#2733) by @RobLoach
  269. [core] REVIEWED: Resolve GLFW3 some symbols re-definition of windows.h in glfw3native (#2643) by @daipom
  270. [core] REVIEWED: OpenURL(), string buffer too short sometimes
  271. [core] REVIEWED: GetRandomValue() range limit warning (#2800) by @Pere001
  272. [core] REVIEWED: UnloadDirectoryFiles()
  273. [core] REVIEWED: GetKeyPressed(), out of range issue (#2814) by @daipom
  274. [core] REVIEWED: GetTime(), renamed variable 'time' to 'nanoSeconds' (#2816) by @jtainer
  275. [core] REVIEWED: LoadShaderFromMemory(), issue with shader linkage
  276. [core] REVIEWED: Avoid possible gamepad index as -1 (#2839)
  277. [core] REVIEWED: SetShaderValue*(), avoid setup uniforms for invalid locations
  278. [core] REVIEWED: GetClipboardText() on PLATFORM_WEB, permissions issues
  279. [core] REVIEWED: Initial window position for display-sized fullscreen (#2742) by @daipom
  280. [core] REVIEWED: Sticky touches input (#2857) by @ImazighenGhost
  281. [core] REVIEWED: Enable GetWindowHandle() on macOS (#2915) by @Not-Nik
  282. [core] REVIEWED: Window position always inits centered in current monitor
  283. [core] REVIEWED: IsWindowFocused() to consider Android App state (#2935)
  284. [core] REVIEWED: GetMonitorWidth() and GetMonitorHeight() (#2934)
  285. [core] REVIEWED: GetWindowHandle() to return Linux window (#2938)
  286. [core] REVIEWED: WindowDropCallback(), additional security check (#2943)
  287. [core] REVIEWED: Security checks for emscripten_run_script() (#2954)
  288. [utils] REVIEWED: TraceLog() message size limit overflow
  289. [rcamera] REDESIGNED: New implementation from scratch (#2563) by @Crydsch
  290. [rcamera] REVIEWED: Make orbital camera work as expected (#2926) by @JeffM2501
  291. [rcamera] REVIEWED: Multiple reviews on the new implementation
  292. [rcamera] ADDED: UpdateCameraPro(), supporting custom user inputs
  293. [rlgl] ADDED: OpenGL ES 2.0 support on PLATFORM_DESKTOP (#2840) by @wtnbgo
  294. [rlgl] ADDED: Separate blending modes for color and alpha, BLEND_CUSTOM_SEPARATE (#2741)
  295. [rlgl] ADDED: rlSetBlendFactorsSeparate and custom blend mode modification checks (#2741) by @pure01fx
  296. [rlgl] ADDED: RL_TEXTURE_MIPMAP_BIAS_RATIO support to `rlTextureParameters()` for OpenGL 3.3 #2674
  297. [rlgl] ADDED: rlCubemapParameters() (#2862) by @GithubPrankster
  298. [rlgl] ADDED: rlSetCullFace() (#2797) by @jtainer
  299. [rlgl] REMOVED: Mipmaps software generation for OpenGL 1.1
  300. [rlgl] REVIEWED: Check for extensions before enabling them (#2706) by @Not-Nik
  301. [rlgl] REVIEWED: SSBO usage to avoid long long data types
  302. [rlgl] REVIEWED: Enable DXT compression on __APPLE__ targets (#2694) by @Not-Nik
  303. [rlgl] REVIEWED: enums exposed and description comments
  304. [rlgl] REVIEWED: rlBindImageTexture(), correct data types (#2808) by @planetis-m
  305. [rlgl] REVIEWED: rlMultMatrixf(), use const pointer (#2807) by @planetis-m
  306. [rlgl] REVIEWED: Expose OpenGL blending mode factors and functions/equations
  307. [rlgl] REVIEWED: rLoadTextureDepth(), issue with depth textures on WebGL (#2824)
  308. [rlgl] REVIEWED: rlUnloadFramebuffer() (#2937)
  309. [raymath] ADDED: Vector2LineAngle() (#2887)
  310. [raymath] REVIEWED: Vector2Angle() (#2829, #2832) by @AlxHnr, @planetis-m
  311. [shapes] ADDED: CheckCollisionPointPoly() (#2685) by @acejacek
  312. [shapes] REVIEWED: DrawPixel*(), use RL_QUADS/RL_TRIANGLES (#2750) by @hatkidchan
  313. [shapes] REVIEWED: DrawLineBezier*(), fix bezier line breaking (#2735, #2767) by @nobytesgiven
  314. [textures] ADDED: ColorBrightness()
  315. [textures] ADDED: ColorTint()
  316. [textures] ADDED: ColorContrast()
  317. [textures] ADDED: Support for PNM images (.ppm, .pgm)
  318. [textures] ADDED: GenImagePerlinNoise()
  319. [textures] ADDED: GenImageText(), generate grayscale image from text byte data
  320. [textures] ADDED: ImageDrawCircleLines(), ImageDrawCircleLinesV() (#2713) by @RobLoach
  321. [textures] ADDED: ImageBlurGaussian() (#2770) by @nobytesgiven
  322. [textures] REVIEWED: Image fileformat support: PIC, PNM
  323. [textures] REVIEWED: ImageTextEx() and ImageDrawTextEx() scaling (#2756) by @hatkidchan
  324. [textures] `WARNING`: REMOVED: DrawTextureQuad()
  325. [textures] `WARNING`: REMOVED: DrawTexturePoly(), function moved to example: `textures_polygon`
  326. [textures] `WARNING`: REMOVED: DrawTextureTiled(),function implementation moved to the textures_tiled.c
  327. [text] ADDED: GetCodepointPrevious()
  328. [text] ADDED: UnloadUTF8(), aligned with LoadUTF8()
  329. [text] `WARNING`: RENAMED: TextCodepointsToUTF8() to LoadUTF8()
  330. [text] `WARNING`: RENAMED: GetCodepoint() -> GetCodepointNext()
  331. [text] REDESIGNED: GetCodepointNext()
  332. [text] REVIEWED: MeasureTextEx(), avoid crash on bad data
  333. [text] REVIEWED: UnloadFontData(), avoid crash on invalid font data
  334. [models] ADDED: Support M3D model file format (meshes and materials) (#2648) by @bztsrc
  335. [models] ADDED: Support for M3D animations (#2648) by @bztsrc
  336. [models] ADDED: GLTF animation support (#2844) by @charles-l
  337. [models] ADDED: DrawCapsule() and DrawCapsuleWires() (#2761) by @IanBand
  338. [models] ADDED: LoadMaterials(), MTL files loading, same code as OBJ loader (#2872) by @JeffM2501
  339. [models] `WARNING`: REMOVED: UnloadModelKeepMeshes()
  340. [models] `WARNING`: REMOVED: DrawCubeTexture(), DrawCubeTextureRec(), functions moved to new example: `models_draw_cube_texture`
  341. [models] REVIEWED: DrawMesh(), using SHADER_LOC_COLOR_SPECULAR as a material map (#2908) by @haved
  342. [models] REVIEWED: LoadM3D() vertex color support (#2878) by @GithubPrankster, @bztsrc
  343. [models] REVIEWED: GenMeshHeightmap() (#2716)
  344. [models] REVIEWED: LoadIQM() (#2676)
  345. [models] REVIEWED: Simplify .vox signature check (#2752) by @CrezyDud
  346. [models] REVIEWED: LoadIQM(), support bone names loading if available (#2882) by @PencilAmazing
  347. [models] REVIEWED: GenMeshTangents(), avoid crash on missing texcoords data (#2927)
  348. [audio] ADDED: Full support for QOA audio file format
  349. [audio] ADDED: Mixed audio processor (#2929) by @hatkidchan
  350. [audio] ADDED: IsWaveReady()`, IsSoundReady(), IsMusicReady() (#2892) by @RobLoach
  351. [audio] `WARNING`: REMOVED: Multichannel audio API: PlaySoundMulti(), StopSoundMulti()
  352. [audio] REVIEWED: Clear PCM buffer state when closing audio device (#2736) by @veins1
  353. [audio] REVIEWED: Android backend selected (#2118, #2875) by @planetis-m
  354. [audio] REVIEWED: Change default threading model for COM objects in miniaudio
  355. [multi] ADDED: IsShaderReady(), IsImageReady(), IsFontReady() (#2892) by @RobLoach
  356. [multi] ADDED: IsModelReady(), IsMaterialReady(), IsTextureReady(), IsRenderTextureReady() (#2895) by @RobLoach
  357. [multi] REVIEWED: Multiple code/comment typos by @sDos280
  358. [multi] REVIEWED: Grammar mistakes and typos (#2914) by @stickM4N
  359. [multi] REVIEWED: Use TRACELOG() macro instead of TraceLog() in internal modules (#2881) by @RobLoach
  360. [examples] ADDED: textures_textured_curve (#2821) by @JeffM2501
  361. [examples] ADDED: models_draw_cube_texture
  362. [examples] ADDED: models_loading_m3d (#2648) by @bztsrc
  363. [examples] ADDED: shaders_write_depth (#2836) by @BugraAlptekinSari
  364. [examples] ADDED: shaders_hybrid_render (#2919) by @BugraAlptekinSari
  365. [examples] REMOVED: audio_multichannel_sound
  366. [examples] RENAMED: Several shaders for naming consistency (#2707)
  367. [examples] RENAMED: lighting_instanced.fs to lighting_instancing.fs (glsl100) (#2805) by @gtrxAC
  368. [examples] REVIEWED: core_custom_logging.c (#2692) by @hartmannathan
  369. [examples] REVIEWED: core_camera_2d_platformer (#2687) by @skylar779
  370. [examples] REVIEWED: core_input_gamepad.c (#2903) by @planetis-m
  371. [examples] REVIEWED: core_custom_frame_control
  372. [examples] REVIEWED: core_drop_files (#2943)
  373. [examples] REVIEWED: text_rectangle_bounds (#2746) by @SzieberthAdam
  374. [examples] REVIEWED: textures_image_processing, added gaussian blurring (#2775) by @nobytesgiven
  375. [examples] REVIEWED: models_billboard, highlighting rotation and draw order (#2779) by @nobytesgiven
  376. [examples] REVIEWED: core_loading_thread, join thread on completion (#2845) by @planetis-m
  377. [examples] REVIEWED: models_loading_gltf
  378. [examples] REVIEWED: Shader lighting.fs for GLSL120 (#2651)
  379. [examples] REVIEWED: text_codepoints_loading.c
  380. [parser] REVIEWED: raylib-parser Makefile (#2765) by @Peter0x44
  381. [build] ADDED: Packaging for distros with deb-based and rpm-based packages (#2877) by @KOLANICH
  382. [build] ADDED: Linkage library -latomic on Linux (only required for ARM32)
  383. [build] ADDED: Required frameworks on macOS (#2793) by @SpexGuy
  384. [build] ADDED: WASM support for Zig build (#2901) by @Not-Nik
  385. [build] ADDED: New raylib examples as VS2022 project (to raylib solution)
  386. [build] REVIEWED: config.h format and inconsistencies
  387. [build] REVIEWED: Zig build to latest master, avoid deprecated functions (#2910) by @star-tek-mb
  388. [build] REVIEWED: CMake project template to easily target raylib version (#2700) by @RobLoach
  389. [build] REVIEWED: PATH for PLATFORM_WEB target (#2647) by @futureapricot
  390. [build] REVIEWED: build.zig to let user decide how to set build mode and linker fixes by @InKryption
  391. [build] REVIEWED: Deprecation error on Android API higher than 23 (#2778) by @anggape
  392. [build] REVIEWED: Android x86 Architecture name (#2783) by @IsaacTCB
  393. [build] REVIEWED: examples/build.zig for the latest Zig version (#2786) by @RomanAkberov
  394. [utils] REVIEWED: ExportDataAsCode() data types (#2787) by @RGDTAB
  395. [build] REVIEWED: Makefile emscripten path (#2785) by @Julianiolo
  396. [build] REVIEWED: Several compilation warnings (for strict rules)
  397. [build] REVIEWED: All github workflows using deprecated actions
  398. [build] REVIEWED: CMake when compiling for web (#2820) by @object71
  399. [build] REVIEWED: DLL build on Windows (#2951) by @Skaytacium
  400. [build] REVIEWED: Avoid MSVC warnings in raylib project (#2871) by @JeffM2501
  401. [build] REVIEWED: Paths in .bat files to build examples (#2870) by @masoudd
  402. [build] REVIEWED: CMake, use GLVND for old cmake versions (#2826) by @simendsjo
  403. [build] REVIEWED: Makefile, multiple tweaks
  404. [build] REVIEWED: CI action: linux_examples.yml
  405. [build] REVIEWED: CI action: cmake.yml
  406. [bindings] ADDED: h-raylib (Haskell) by @Anut-py
  407. [bindings] ADDED: raylib-c3 (C3) by @Its-Kenta
  408. [bindings] ADDED: raylib-umka (Umka) by @RobLoach
  409. [bindings] ADDED: chez-raylib (Chez Scheme) by @Yunoinsky
  410. [bindings] ADDED: raylib-python-ctypes (Python) by @sDos280
  411. [bindings] ADDED: claylib (Common Lisp) by @shelvick
  412. [bindings] ADDED: raylib-vapi (Vala) by @lxmcf
  413. [bindings] ADDED: TurboRaylib (Object Pascal) by @turborium
  414. [bindings] ADDED: Kaylib (Kotlin/Native) by @Its-Kenta
  415. [bindings] ADDED: Raylib-Nelua (Nelua) by @Its-Kenta
  416. [bindings] ADDED: Cyber (Cyber) by @fubark
  417. [bindings] ADDED: raylib-sunder (Sunder) by @ashn-dot-dev
  418. [bindings] ADDED: raylib BQN (#2962) by @Brian-ED
  419. [misc] REVIEWED: Update external libraries to latest versions
  420. -------------------------------------------------------------------------
  421. Release: raylib 4.2 (11 August 2022)
  422. -------------------------------------------------------------------------
  423. KEY CHANGES:
  424. - REMOVED: extras libraries (raygui, physac, rrem, reasings, raudio.h) moved to independent separate repos
  425. - UPDATED: examples: Added creation and update raylib versions and assigned **DIFFICULTY LEVELS**!
  426. - rres 1.0: A custom resource-processing and packaging file format, including tooling and raylib integration examples
  427. - raygui 3.2: New version of the immediate-mode gui system for tools development with raylib
  428. - raylib_parser: Multiple improvements of the raylib parser to automatize bindings generation
  429. - ADDED: New file system API: Reviewed to be more aligned with raylib conventions and one advance function added
  430. - ADDED: New audio stream processors API (_experimental_): Allowing to add custom audio stream data processors using callbacks
  431. Detailed changes:
  432. [multi] ADDED: Frequently Asked Questions (FAQ.md)
  433. [multi] REVIEWED: Multiple trace log messages
  434. [multi] REVIEWED: Avoid some float to double promotions
  435. [multi] REVIEWED: Some functions input parametes that should be const
  436. [multi] REVIEWED: Variables initialization, all variables are initialized on declaration
  437. [multi] REVIEWED: Static array buffers are always re-initialized with memset()
  438. [multi] `WARNING`: RENAMED: Some function input parameters from "length" to "size"
  439. [core] ADDED: GetApplicatonDirectory() (#2256, #2285, #2290) by @JeffM2501
  440. [core] ADDED: raylibVersion symbol, it could be required by some bindings (#2190)
  441. [core] ADDED: SetWindowOpacity() (#2254) by @tusharsingh09
  442. [core] ADDED: GetRenderWidth() and GetRenderHeight() by @ArnaudValensi
  443. [core] ADDED: EnableEventWaiting() and DisableEventWaiting()
  444. [core] ADDED: GetFileLength()
  445. [core] ADDED: Modules info at initialization
  446. [core] ADDED: Support clipboard copy/paste on web
  447. [core] ADDED: Support OpenURL() on Android platform (#2396) by @futureapricot
  448. [core] ADDED: Support MOUSE_PASSTHROUGH (#2516)
  449. [core] ADDED: GetMouseWheelMoveV() (#2517) by @schveiguy
  450. [core] `WARNING`: REMOVED: LoadStorageValue() / SaveStorageValue(), moved to example
  451. [core] `WARNING`: RENAMED: GetDirectoryFiles() to LoadDirectoryFiles()
  452. [core] `WARNING`: RENAMED: `ClearDroppedFiles()` to `UnloadDroppedFiles()`
  453. [core] `WARNING`: RENAMED: GetDroppedFiles() to LoadDroppedFiles()
  454. [core] `WARNING`: RENAMED: `ClearDirectoryFiles()` to `UnloadDirectoryFiles()`
  455. [core] `WARNING`: REDESIGNED: WaitTime() argument from milliseconds to seconds (#2506) by @flashback-fx
  456. [core] REVIEWED: GetMonitorWidth()/GetMonitorHeight() by @gulrak
  457. [core] REVIEWED: GetDirectoryFiles(), maximum files allocation (#2126) by @ampers0x26
  458. [core] REVIEWED: Expose MAX_KEYBOARD_KEYS and MAX_MOUSE_BUTTONS (#2127)
  459. [core] REVIEWED: ExportMesh() (#2138)
  460. [core] REVIEWED: Fullscreen switch on PLATFORM_WEB
  461. [core] REVIEWED: GetMouseWheelMove(), fixed bug
  462. [core] REVIEWED: GetApplicationDirectory() on macOS (#2304)
  463. [core] REVIEWED: ToggleFullscreen()
  464. [core] REVIEWED: Initialize/reset CORE.inputs global state (#2360)
  465. [core] REVIEWED: MouseScrollCallback() (#2371)
  466. [core] REVIEWED: SwapScreenBuffers() for PLATFORM_DRM
  467. [core] REVIEWED: WaitTime(), fix regression causing video stuttering (#2503) by @flashback-fx
  468. [core] REVIEWED: Mouse device support on PLATFORM_DRM (#2381)
  469. [core] REVIEWED: Support OpenBSD timming functions
  470. [core] REVIEWED: Improved boolean definitions (#2485) by @noodlecollie
  471. [core] REVIEWED: TakeScreenshot(), use GetWindowScaleDPI() to calculate size in screenshot/recording (#2446) by @gulrak
  472. [core] REVIEWED: Remove fps requirement for drm connector selection (#2468) by @Crydsch
  473. [core] REVIEWED: IsFileExtension() (#2530)
  474. [camera] REVIEWED: Some camera improvements (#2563)
  475. [rlgl] ADDED: Premultiplied alpha blend mode (#2342) by @megagrump
  476. [rlgl] REVIEWED: VR rendering not taking render target size into account (#2424) by @FireFlyForLife
  477. [rlgl] REVIEWED: Set rlgl internal framebuffer (#2420)
  478. [rlgl] REVIEWED: rlGetCompressedFormatName()
  479. [rlgl] REVIEWED: Display OpenGL 4.3 capabilities with a compile flag (#2124) by @GithubPrankster
  480. [rlgl] REVIEWED: rlUpdateTexture()
  481. [rlgl] REVIEWED: Minimize buffer overflow probability
  482. [rlgl] REVIEWED: Fix scissor mode on macOS (#2170) by @ArnaudValensi
  483. [rlgl] REVIEWED: Clear SSBO buffers on loading (#2185)
  484. [rlgl] REVIEWED: rlLoadShaderCode(), improved shader loading code
  485. [rlgl] REVIEWED: Comment notes about custom blend modes (#2260) by @glorantq
  486. [rlgl] REVIEWED: rlGenTextureMipmaps()
  487. [rlgl] REVIEWED: rlTextureParameters()
  488. [raymath] ADDED: Wrap() (#2522) by @Tekkitslime
  489. [raymath] ADDED: Vector2Transform()
  490. [raymath] ADDED: Vector2DistanceSqr() (#2376) by @AnilBK
  491. [raymath] ADDED: Vector3DistanceSqr() (#2376) by @AnilBK
  492. [raymath] ADDED: Vector2ClampValue(), Vector3ClampValue() (#2428) by @saccharineboi
  493. [raymath] ADDED: Vector3RotateByAxisAngle() (#2590) by @Crydsch
  494. [raymath] `WARNING`: REDESIGNED: Vector2Angle() returns radians instead of degrees (#2193) by @schveiguy
  495. [raymath] `WARNING`: REMOVED: MatrixNormalize() (#2412)
  496. [raymath] REVIEWED: Fix inverse length in Vector2Normalize() (#2189) by @HarriP
  497. [raymath] REVIEWED: Vector2Angle() not working as expected (#2196) by @jdeokkim
  498. [raymath] REVIEWED: Vector2Angle() and Vector3Angle() (#2203) by @trikko
  499. [raymath] REVIEWED: QuaternionInvert(), code simplified (#2324) by @megagrump
  500. [raymath] REVIEWED: QuaternionScale() (#2419) by @tana
  501. [raymath] REVIEWED: Vector2Rotate(), optimized (#2340) by @jdeokkim
  502. [raymath] REVIEWED: QuaternionFromMatrix(), QuaternionEquals() (#2591) by @kirigirihitomi
  503. [raymath] REVIEWED: MatrixRotate*() (#2595, #2599) by @GoodNike
  504. [shapes] REVIEWED: CheckCollision*() consistency
  505. [shapes] REVIEWED: DrawRectanglePro(), support TRIANGLES drawing
  506. [textures] ADDED: Support for QOI image format
  507. [textures] REVIEWED: ImageColorTint(), GetImageColor(), ImageDrawRectangleRec(), optimized functions (#2429) by @AnilBK
  508. [textures] REVIEWED: LoadTextureFromImage(), allow texture loading with no data transfer
  509. [textures] REVIEWED: ImageDraw(), comment to note that f32bit is not supported (#2222)
  510. [textures] REVIEWED: DrawTextureNPatch(), avoid batch overflow (#2401) by @JeffM2501
  511. [textures] REVIEWED: DrawTextureTiled() (#2173)
  512. [textures] REVIEWED: GenImageCellular() (#2178)
  513. [textures] REVIEWED: LoadTextureCubemap() (#2223, #2224)
  514. [textures] REVIEWED: Export format for float 32bit
  515. [textures] REVIEWED: ExportImage(), support export ".jpeg" files
  516. [textures] REVIEWED: ColorAlphaBlend() (#2524) by @royqh1979
  517. [textures] REVIEWED: ImageResize() (#2572)
  518. [textures] REVIEWED: ImageFromImage() (#2594) by @wiertek
  519. [text] ADDED: ExportFontAsCode()
  520. [text] ADDED: DrawTextCodepoints() (#2308) by @siddharthroy12
  521. [text] REVIEWED: TextIsEqual(), protect from NULLs (#2121) by @lukekras
  522. [text] REVIEWED: LoadFontEx(), comment to specify how to get the default character set (#2221) by @JeffM2501
  523. [text] REVIEWED: GenImageFontAtlas(), increase atlas size guesstimate by @megagrump
  524. [text] REVIEWED: GetCodepoint() (#2201)
  525. [text] REVIEWED: GenImageFontAtlas() (#2556)
  526. [text] REVIEWED: ExportFontAsCode() to use given font padding (#2525) by @TheTophatDemon
  527. [models] ADDED: Reference code to load bones id and weight data for animations
  528. [models] `WARNING`: REMOVED: GetRayCollisionModel() (#2405)
  529. [models] REMOVED: GenMeshBinormals()
  530. [models] REVIEWED: External library: vox_loader.h, 64bit issue (#2186)
  531. [models] REVIEWED: Material color loading when no texture material is available (#2298) by @royqh1979
  532. [models] REVIEWED: Fix Undefined Symbol _ftelli64 in cgltf (#2319) by @audinue
  533. [models] REVIEWED: LoadGLTF(), fix memory leak (#2441, #2442) by @leomonta
  534. [models] REVIEWED: DrawTriangle3D() batch limits check (#2489)
  535. [models] REVIEWED: DrawBillboardPro() (#2494)
  536. [models] REVIEWED: DrawMesh*() issue (#2211)
  537. [models] REVIEWED: ExportMesh() (#2220)
  538. [models] REVIEWED: GenMeshCylinder() (#2225)
  539. [audio] `WARNING`: ADDED: rAudioProcessor pointer to AudioStream struct (used by Sound and Music structs)
  540. [audio] ADDED: SetSoundPan(), SetMusicPan(), SetAudioStreamPan(), panning support (#2205) by ptarabbia
  541. [audio] ADDED: Audio stream input callback (#2212) by ptarabbia
  542. [audio] ADDED: Audio stream processors support (#2212) by ptarabbia
  543. [audio] REVIEWED: GetMusicTimePlayed(), incorrect value after the stream restarted for XM audio (#2092 #2215) by @ptarabbia
  544. [audio] REVIEWED: Turn on interpolation for XM playback (#2216) by @ptarabbia
  545. [audio] REVIEWED: Fix crash with delay example (#2472) by @ptarabbia
  546. [audio] REVIEWED: PlaySoundMulti() (#2231)
  547. [audio] REVIEWED: ExportWaveAsCode()
  548. [audio] REVIEWED: UpdateMusicStream(), reduce dynamic allocations (#2532) by @dbechrd
  549. [audio] REVIEWED: UpdateMusicStream() to support proper stream looping (#2579) by @veins1
  550. [utils] ADDED: ExportDataAsCode()
  551. [utils] REVIEWED: Force flush stdout after trace messages (#2465) by @nagy
  552. [easings] ADDED: Function descriptions (#2471) by @RobLoach
  553. [camera] REVIEWED: Fix free camera panning in the wrong direction (#2347) by @DavidLyhedDanielsson
  554. [examples] ADDED: core_window_should_close
  555. [examples] ADDED: core_2d_camera_mouse_zoom (#2583) by @JeffM2501
  556. [examples] ADDED: shapes_top_down_lights (#2199) by @JeffM2501
  557. [examples] ADDED: textures_fog_of_war
  558. [examples] ADDED: textures_gif_player
  559. [examples] ADDED: text_codepoints_loading
  560. [examples] ADDED: audio_stream_effects
  561. [examples] REMOVED: core_quat_conversion, not working properly
  562. [examples] REMOVED: raudio_standalone, moved to raudio repo
  563. [examples] RENAMED: textures_rectangle -> textures_sprite_anim
  564. [examples] REVIEWED: core_input_gamepad, improve joystick visualisation (#2390) by @kristianlm
  565. [examples] REVIEWED: textures_draw_tiled
  566. [examples] REVIEWED: shaders_mesh_instancing, free allocated matrices (#2425) by @AnilBK
  567. [examples] REVIEWED: shaders_raymarching
  568. [examples] REVIEWED: audio_raw_stream (#2205) by ptarabbia
  569. [examples] REVIEWED: audio_music_stream
  570. [examples] REVIEWED: shaders_mesh_instancing, simplified
  571. [examples] REVIEWED: shaders_basic_lighting, rlights.h simplified
  572. [examples] REVIEWED: All examples descriptions, included creation/update raylib versions
  573. [parser] ADDED: Defines to parser (#2269) by @iskolbin
  574. [parser] ADDED: Aliases to parser (#2444) by @lazaray
  575. [parser] ADDED: Parse struct descriptions (#2214) by @eutro
  576. [parser] ADDED: Parse enum descriptions and value descriptions (#2208) by @eutro
  577. [parser] ADDED: Lua output format for parser by @iskolbin
  578. [parser] ADDED: Makefile for raylib_parser by @iskolbin
  579. [parser] ADDED: Support for truncating parser input (#2464) by @lazaray
  580. [parser] ADDED: Support for calculated defines to parser (#2463) by @lazaray
  581. [parser] REVIEWED: Update parser files (#2125) by @catmanl
  582. [parser] REVIEWED: Fix memory leak in parser (#2136) by @ronnieholm
  583. [parser] REVIEWED: EscapeBackslashes()
  584. [parser] REVIEWED: Parser improvements (#2461 #2462) by @lazaray
  585. [bindings] ADDED: License details for BINDINGS
  586. [bindings] ADDED: dart-raylib (#2149) by @wolfenrain
  587. [bindings] ADDED: raylib-cslo (#2169) by @jasonswearingen
  588. [bindings] ADDED: raylib-d (#2194) by @schveiguy
  589. [bindings] ADDED: raylib-guile (#2202) by @petelliott
  590. [bindings] ADDED: raylib-scopes (#2238) by @salotz
  591. [bindings] ADDED: naylib (Nim) (#2386) by @planetis-m
  592. [bindings] ADDED: raylib.jl (Julia) (#2403) by @irishgreencitrus
  593. [bindings] ADDED: raylib.zig (#2449) by @ryupold
  594. [bindings] ADDED: racket-raylib (#2454) by @eutro
  595. [bindings] ADDED: raylibr (#2611) by @ramiromagno
  596. [bindings] ADDED: Raylib.4.0.Pascal (#2617) by @sysrpl
  597. [bindings] REVIEWED: Multiple bindings updated to raylib 4.0
  598. [build] ADDED: VS2022 project
  599. [build] ADDED: Support macOS by zig build system (#2175)
  600. [build] ADDED: Support custom modules selection on compilation
  601. [build] ADDED: Minimal web shell for WebAssembly compilation
  602. [build] ADDED: BSD support for zig builds (#2332) by @zigster64
  603. [build] ADDED: Repology badge (#2367) by @jubalh
  604. [build] ADDED: Support DLL compilation with TCC compiler (#2569) by @audinue
  605. [build] ADDED: Missing examples to VS2022 examples solution
  606. [build] REMOVED: VS2019 project (unmaintained)
  607. [build] REMOVED: SUPPORT_MOUSE_CURSOR_POINT config option
  608. [build] REVIEWED: Fixed RPi make install (#2217) by @wereii
  609. [build] REVIEWED: Fix build results path on Linux and RPi (#2218) by @wereii
  610. [build] REVIEWED: Makefiles debug flag
  611. [build] REVIEWED: Fixed cross-compilation from x86-64 to RPi (#2233) by @pitpit
  612. [build] REVIEWED: All Makefiles, simplified
  613. [build] REVIEWED: All Makefiles, improve organization
  614. [build] REVIEWED: All Makefiles, support CUSTOM_CFLAGS
  615. [build] REVIEWED: Fixed compiling for Android using CMake (#2270) by @hero2002
  616. [build] REVIEWED: Make zig build functionality available to zig programs (#2271) by @Not-Nik
  617. [build] REVIEWED: Update CMake project template with docs and web (#2274) by @RobLoach
  618. [build] REVIEWED: Update VSCode project to work with latest makefile and web (#2296) by @phil-shenk
  619. [build] REVIEWED: Support audio examples compilation with external glfw (#2329) by @locriacyber
  620. [build] REVIEWED: Fix "make clean" target failing when shell is not cmd (#2338) by @Peter0x44
  621. [build] REVIEWED: Makefile linkage -latomic, required by miniaudio on ARM 32bit #2452
  622. [build] REVIEWED: Update raylib-config.cmake (#2374) by @marcogmaia
  623. [build] REVIEWED: Simplify build.zig to not require user to specify raylib path (#2383) by @Hejsil
  624. [build] REVIEWED: Fix OpenGL 4.3 graphics option in CMake (#2427) by @GoldenThumbs
  625. [extras] `WARNING`: REMOVED: physac from raylib sources/examples, use github.com/raysan5/physac
  626. [extras] `WARNING`: REMOVED: raygui from raylib/src/extras, use github.com/raysan5/raygui
  627. [extras] `WARNING`: REMOVED: rmem from raylib/src/extras, moved to github.com/raylib-extras/rmem
  628. [extras] `WARNING`: REMOVED: easings from raylib/src/extras, moved to github.com/raylib-extras/reasings
  629. [extras] `WARNING`: REMOVED: raudio.h from raylib/src, moved to github.com/raysan5/raudio
  630. [misc] REVIEWED: Update some external libraries to latest versions
  631. -------------------------------------------------------------------------
  632. Release: raylib 4.0 - 8th Anniversary Edition (05 November 2021)
  633. -------------------------------------------------------------------------
  634. KEY CHANGES:
  635. - Naming consistency and coherency: Complete review of the library: syntax, naming, comments, decriptions, logs...
  636. - Event Automation System: Support for input events recording and automatic re-playing, useful for automated testing and more!
  637. - Custom game-loop control: Intended for advance users that want to control the events polling and the timming mechanisms
  638. - rlgl 4.0: Completely decoupling from platform layer and raylib, intended for standalone usage as single-file header-only
  639. - raymath 1.5: Complete review following new conventions, to make it more portable and self-contained
  640. - raygui 3.0: Complete review and official new release, more portable and self-contained, intended for tools development
  641. - raylib_parser: New tool to parse raylib.h and extract all required info into custom output formats (TXT, XML, JSON...)
  642. - Zig and Odin official support
  643. Detailed changes:
  644. [core] ADDED: Support canvas resizing on web (#1840) by @skylersaleh
  645. [core] ADDED: GetMouseDelta() (#1832) by @adricoin2010
  646. [core] ADDED: Support additional mouse buttons (#1753) by @lambertwang
  647. [core] ADDED: SetRandomSeed() (#1994) by @TommiSinivuo
  648. [core] ADDED: GetTouchPointId() #1972
  649. [core] ADDED: EncodeDataBase64() and DecodeDataBase64()
  650. [core] REMOVED: PLATFORM_UWP, difficult to maintain
  651. [core] REMOVED: IsGamepadName()
  652. [core] RENAMED: SwapBuffers() to SwapScreenBuffer()
  653. [core] RENAMED: Wait() to WaitTime()
  654. [core] RENAMED: RayHitInfo to RayCollision (#1781)
  655. [core] RENAMED: GetRayCollisionGround() to GetRayCollisionQuad() (#1781)
  656. [core] REVIEWED: Support mouse wheel on x-axis (#1948)
  657. [core] REVIEWED: DisableCursor() on web by registering an empty mouse click event function in emscripten (#1900) by @grenappels
  658. [core] REVIEWED: LoadShader() and default locations and descriptions
  659. [core] REVIEWED: LoadShaderFromMemory() (#1851) by @Ruminant
  660. [core] REVIEWED: WaitTime(), avoid global variables dependency to make the function is self-contained (#1841)
  661. [core] REVIEWED: SetWindowSize() to work on web (#1847) by @nikki93
  662. [core] REVIEWED: Raspberry RPI/DRM keyboard blocking render loop (#1879) @luizpestana
  663. [core] REVIEWED: Android multi-touch (#1869) by @humbe
  664. [core] REVIEWED: Implemented GetGamepadName() for emscripten by @nbarkhina
  665. [core] REVIEWED: HighDPI support (#1987) by @ArnaudValensi
  666. [core] REVIEWED: KeyCallback(), register keys independently of the actions
  667. [rlgl] ADDED: GRAPHIC_API_OPENGL_43
  668. [rlgl] ADDED: rlUpdateVertexBufferElements() (#1915)
  669. [rlgl] ADDED: rlActiveDrawBuffers() (#1911)
  670. [rlgl] ADDED: rlEnableColorBlend()/rlDisableColorBlend()
  671. [rlgl] ADDED: rlGetPixelFormatName()
  672. [rlgl] REVIEWED: rlUpdateVertexBuffer (#1914) by @630Studios
  673. [rlgl] REVIEWED: rlDrawVertexArrayElements() (#1891)
  674. [rlgl] REVIEWED: Wrong normal matrix calculation (#1870)
  675. [raymath] ADDED: Vector3Angle()
  676. [raymath] REVIEWED: QuaternionFromAxisAngle() (#1892)
  677. [raymath] REVIEWED: QuaternionToMatrix() returning transposed result. (#1793) by @object71
  678. [shapes] ADDED: RenderPolyLinesEx() (#1758) by @lambertwang
  679. [shapes] ADDED: DrawSplineBezierCubic() (#2021) by @SAOMDVN
  680. [textures] ADDED: GetImageColor() #2024
  681. [textures] REMOVED: GenImagePerlinNoise()
  682. [textures] RENAMED: GetTextureData() to LoadImageFromTexture()
  683. [textures] RENAMED: GetScreenData() to LoadImageFromScreen()
  684. [textures] REVIEWED: ExportImage() to use SaveFileData() (#1779)
  685. [textures] REVIEWED: LoadImageAnim() #2005
  686. [text] ADDED: Security check in case of not valid font
  687. [text] ADDED: `GetGlyphInfo()` to get glyph info for a specific codepoint
  688. [text] ADDED: `GetGlyphAtlasRec()` to get glyph rectangle within the generated font atlas
  689. [text] ADDED: DrawTextPro() with text rotation support, WARNING: DrawTextPro() requires including `rlgl.h`, before it was only dependant on `textures` module.
  690. [text] ADDED: UnloadCodepoints() to safely free loaded codepoints
  691. [text] REMOVED: DrawTextRec() and DrawTextRecEx(), moved to example, those functions could be very specific depending on user needs so it's better to give the user the full source in case of special requirements instead of allowing a function with +10 input parameters.
  692. [text] RENAMED: struct `CharInfo` to `GlyphInfo`, actually that's the correct naming for the data contained. It contains the character glyph metrics and the glyph image; in the past it also contained rectangle within the font atlas but that data has been moved to `Font` struct directly, so, `GlyphInfo` is a more correct name.
  693. [text] RENAMED: `CodepointToUtf8()` to `CodepointToUTF8()`, capitalization of UTF-8 is the correct form, it would also require de hyphen but it can be omitted in this case.
  694. [text] RENAMED: `TextToUtf8()` to `TextCodepointsToUTF8` for consistency and more detail on the functionality.
  695. [text] RENAMED: GetCodepoints() to LoadCodepoints(), now codepoint array data is loaded dynamically instead of reusing a limited static buffer.
  696. [text] RENAMED: GetNextCodepoint() to GetCodepoint()
  697. [models] ADDED: MagikaVoxel VOX models loading
  698. [models] ADDED: GenMeshCone() (#1903)
  699. [models] ADDED: GetModelBoundingBox()
  700. [models] ADDED: DrawBillboardPro() (#1759) by @nobytesgiven
  701. [models] ADDED: DrawCubeTextureRec() (#2001) by @tdgroot
  702. [models] ADDED: DrawCylinderEx() and DrawCylinderWiresEx() (#2049) by @Horrowind
  703. [models] REMOVED: DrawBillboardEx()
  704. [models] RENAMED: MeshBoundingBox() to GetMeshBoundingBox()
  705. [models] RENAMED: MeshTangents() to GenMeshTangents()
  706. [models] RENAMED: MeshBinormals() to GenMeshBinormals()
  707. [models] REVIEWED: GenMeshTangents() (#1877) by @630Studios
  708. [models] REVIEWED: CheckCollisionBoxSphere() by @Crydsch
  709. [models] REVIEWED: GetRayCollisionQuad() by @Crydsch
  710. [models] REVIEWED: LoadGLTF(), fixed missing transformations and nonroot skinning by @MrDiver
  711. [models] REVIEWED: LoadGLTF(), rewriten from scratch, removed animations support (broken)
  712. [models] REVIEWED: Decouple DrawMesh() and DrawMeshInstanced() (#1958)
  713. [models] REVIEWED: Support vertex color attribute for GLTF and IQM (#1790) by @object71
  714. [models] REVIEWED: DrawBillboardPro() (#1941) by @GithubPrankster
  715. [models] REDESIGNED: Major review of glTF loading functionality (#1849) by @object71
  716. [audio] ADDED: SeekMusicStream() (#2006) by @GithubPrankster
  717. [audio] REMOVED: GetAudioStreamBufferSizeDefault()
  718. [audio] RENAMED: InitAudioStream() to LoadAudioStream()
  719. [audio] RENAMED: CloseAudioStream() to UnloadAudioStream()
  720. [audio] RENAMED: IsMusicPlaying() to IsMusicStreamPlaying()
  721. [audio] REVIEWED: ExportWaveAsCode()
  722. [audio] REDESIGNED: Use frameCount on audio instead of sampleCount
  723. [utils] REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR (#1796)
  724. [examples] ADDED: core_custom_frame_control
  725. [examples] ADDED: core_basic_screen_manager
  726. [examples] ADDED: core_split_screen (#1806) by @JeffM2501
  727. [examples] ADDED: core_smooth_pixelperfect (#1771) by @NotManyIdeasDev
  728. [examples] ADDED: shaders_texture_outline (#1883) by @GoldenThumbs
  729. [examples] ADDED: models_loading_vox (#1940) by @procfxgen
  730. [examples] ADDED: rlgl_compute_shader by @TSnake41 (#2088)
  731. [examples] REMOVED: models_material_pbr
  732. [examples] REMOVED: models_gltf_animation
  733. [examples] REVIEWED: core_3d_picking
  734. [examples] REVIEWED: core_input_mouse
  735. [examples] REVIEWED: core_vr_simulator, RenderTexture usage
  736. [examples] REVIEWED: core_window_letterbox, RenderTexture usage
  737. [examples] REVIEWED: shapes_basic_shapes
  738. [examples] REVIEWED: shapes_logo_raylib_anim
  739. [examples] REVIEWED: textures_to_image
  740. [examples] REVIEWED: text_rectangle_bounds
  741. [examples] REVIEWED: text_unicode
  742. [examples] REVIEWED: text_draw_3d
  743. [examples] REVIEWED: models_loading
  744. [examples] REVIEWED: models_skybox (#1792) (#1778)
  745. [examples] REVIEWED: models_mesh_picking
  746. [examples] REVIEWED: models_yaw_pitch_roll
  747. [examples] REVIEWED: models_rlgl_solar_system
  748. [examples] REVIEWED: shaders_custom_uniform, RenderTexture usage
  749. [examples] REVIEWED: shaders_eratosthenes, RenderTexture usage
  750. [examples] REVIEWED: shaders_julia_set, RenderTexture usage
  751. [examples] REVIEWED: shaders_postprocessing, RenderTexture usage
  752. [examples] REVIEWED: shaders_basic_lighting, simplified (#1865)
  753. [examples] REVIEWED: audio_raw_stream.c
  754. [examples] REVIEWED: raudio_standalone
  755. [examples] REVIEWED: raylib_opengl_interop
  756. [examples] REVIEWED: rlgl_standalone.c
  757. [examples] REVIEWED: Resources licenses
  758. [examples] REVIEWED: models resources reorganization
  759. [templates] REMOVED: Moved to a separate repo: https://github.com/raysan5/raylib-game-template
  760. [build] ADDED: Zig build file (#2014) by @TommiSinivuo
  761. [build] ADDED: Android VS2019 solution (#2013) by @Kronka
  762. [build] REMOVED: VS2017 project, outdated
  763. [build] RENAMED: All raylib modules prefixed with 'r' (core -> rcore)
  764. [build] RENAMED: SUPPORT_MOUSE_CURSOR_NATIVE to SUPPORT_MOUSE_CURSOR_POINT
  765. [build] REVIEWED: examples/examples_template.c
  766. [build] REVIEWED: Makefile to latest Emscripten SDK r23
  767. [build] REVIEWED: Makefile for latest Android NDK r32 LTS
  768. [build] REVIEWED: raylib resource files
  769. [build] Moved some extra raylib libraries to /extras/ directory
  770. [*] UPDATED: Multiple bindings to latest version
  771. [*] UPDATED: Most external libraries to latest versions (except GLFW)
  772. [*] Multiple code improvements and fixes by multiple contributors!
  773. -------------------------------------------------------------------------
  774. Release: raylib 3.7 (26 April 2021)
  775. -------------------------------------------------------------------------
  776. KEY CHANGES:
  777. - [rlgl] REDESIGNED: Greater abstraction level, some functionality moved to core module
  778. - [rlgl] REVIEWED: Instancing and stereo rendering
  779. - [core] REDESIGNED: VR simulator, fbo/shader exposed to user
  780. - [utils] ADDED: File access callbacks system
  781. - [models] ADDED: glTF animations support (#1551) by @object71
  782. - [audio] ADDED: Music streaming support from memory (#1606) by @nezvers
  783. - [*] RENAMED: enum types and enum values for consistency
  784. Detailed changes:
  785. [core] ADDED: LoadVrStereoConfig()
  786. [core] ADDED: UnloadVrStereoConfig()
  787. [core] ADDED: BeginVrStereoMode()
  788. [core] ADDED: EndVrStereoMode()
  789. [core] ADDED: GetCurrentMonitor() (#1485) by @object71
  790. [core] ADDED: SetGamepadMappings() (#1506)
  791. [core] RENAMED: struct Camera: camera.type to camera.projection
  792. [core] RENAMED: LoadShaderCode() to LoadShaderFromMemory() (#1690)
  793. [core] RENAMED: SetMatrixProjection() to rlSetMatrixProjection()
  794. [core] RENAMED: SetMatrixModelview() to rlSetMatrixModelview()
  795. [core] RENAMED: GetMatrixModelview() to rlGetMatrixModelview()
  796. [core] RENAMED: GetMatrixProjection() to rlGetMatrixProjection()
  797. [core] RENAMED: GetShaderDefault() to rlGetShaderDefault()
  798. [core] RENAMED: GetTextureDefault() to rlGetTextureDefault()
  799. [core] REMOVED: GetShapesTexture()
  800. [core] REMOVED: GetShapesTextureRec()
  801. [core] REMOVED: GetMouseCursor()
  802. [core] REMOVED: SetTraceLogExit()
  803. [core] REVIEWED: GetFileName() and GetDirectoryPath() (#1534) by @gilzoide
  804. [core] REVIEWED: Wait() to support FreeBSD (#1618)
  805. [core] REVIEWED: HighDPI support on macOS retina (#1510)
  806. [core] REDESIGNED: GetFileExtension(), includes the .dot
  807. [core] REDESIGNED: IsFileExtension(), includes the .dot
  808. [core] REDESIGNED: Compresion API to use sdefl/sinfl libs
  809. [rlgl] ADDED: SUPPORT_GL_DETAILS_INFO config flag
  810. [rlgl] REMOVED: GenTexture*() functions (#721)
  811. [rlgl] REVIEWED: rlLoadShaderDefault()
  812. [rlgl] REDESIGNED: rlLoadExtensions(), more details exposed
  813. [raymath] REVIEWED: QuaternionFromEuler() (#1651)
  814. [raymath] REVIEWED: MatrixRotateZYX() (#1642)
  815. [shapes] ADDED: DrawSplineBezierQuad() (#1468) by @epsilon-phase
  816. [shapes] ADDED: CheckCollisionLines()
  817. [shapes] ADDED: CheckCollisionPointLine() by @mkupiec1
  818. [shapes] REVIEWED: CheckCollisionPointTriangle() by @mkupiec1
  819. [shapes] REDESIGNED: SetShapesTexture()
  820. [shapes] REDESIGNED: DrawCircleSector(), to use float params
  821. [shapes] REDESIGNED: DrawCircleSectorLines(), to use float params
  822. [shapes] REDESIGNED: DrawRing(), to use float params
  823. [shapes] REDESIGNED: DrawRingLines(), to use float params
  824. [textures] ADDED: DrawTexturePoly() and example (#1677) by @chriscamacho
  825. [textures] ADDED: UnloadImageColors() for allocs consistency
  826. [textures] RENAMED: GetImageData() to LoadImageColors()
  827. [textures] REVIEWED: ImageClearBackground() and ImageDrawRectangleRec() (#1487) by @JeffM2501
  828. [textures] REVIEWED: DrawTexturePro() and DrawRectanglePro() transformations (#1632) by @ChrisDill
  829. [text] REDESIGNED: DrawFPS()
  830. [models] ADDED: UploadMesh() (#1529)
  831. [models] ADDED: UpdateMeshBuffer()
  832. [models] ADDED: DrawMesh()
  833. [models] ADDED: DrawMeshInstanced()
  834. [models] ADDED: UnloadModelAnimations() (#1648) by @object71
  835. [models] REMOVED: DrawGizmo()
  836. [models] REMOVED: LoadMeshes()
  837. [models] REMOVED: MeshNormalsSmooth()
  838. [models] REVIEWED: DrawLine3D() (#1643)
  839. [audio] REVIEWED: Multichannel sound system (#1548)
  840. [audio] REVIEWED: jar_xm library (#1701) by @jmorel33
  841. [utils] ADDED: SetLoadFileDataCallback()
  842. [utils] ADDED: SetSaveFileDataCallback()
  843. [utils] ADDED: SetLoadFileTextCallback()
  844. [utils] ADDED: SetSaveFileTextCallback()
  845. [examples] ADDED: text_draw_3d (#1689) by @Demizdor
  846. [examples] ADDED: textures_poly (#1677) by @chriscamacho
  847. [examples] ADDED: models_gltf_model (#1551) by @object71
  848. [examples] RENAMED: shaders_rlgl_mesh_instanced to shaders_mesh_intancing
  849. [examples] REDESIGNED: shaders_rlgl_mesh_instanced by @moliad
  850. [examples] REDESIGNED: core_vr_simulator
  851. [examples] REDESIGNED: models_yaw_pitch_roll
  852. [build] ADDED: Config flag: SUPPORT_STANDARD_FILEIO
  853. [build] ADDED: Config flag: SUPPORT_WINMM_HIGHRES_TIMER (#1641)
  854. [build] ADDED: Config flag: SUPPORT_GL_DETAILS_INFO
  855. [build] ADDED: Examples projects to VS2019 solution
  856. [build] REVIEWED: Makefile to support PLATFORM_RPI (#1580)
  857. [build] REVIEWED: Multiple typecast warnings by @JeffM2501
  858. [build] REDESIGNED: VS2019 project build paths
  859. [build] REDESIGNED: CMake build system by @object71
  860. [*] RENAMED: Several functions parameters for consistency
  861. [*] UPDATED: Multiple bindings to latest version
  862. [*] UPDATED: All external libraries to latest versions
  863. [*] Multiple code improvements and fixes by multiple contributors!
  864. -------------------------------------------------------------------------
  865. Release: raylib 3.5 - 7th Anniversary Edition (25 December 2020)
  866. -------------------------------------------------------------------------
  867. KEY CHANGES:
  868. - [core] ADDED: PLATFORM_DRM to support RPI4 and other devices (#1388) by @kernelkinetic
  869. - [core] REDESIGNED: Window states management system through FLAGS
  870. - [rlgl] ADDED: RenderBatch type and related functions to allow custom batching (internal only)
  871. - [rlgl] REDESIGNED: Framebuffers API to support multiple attachment types (#721)
  872. - [textures] REDESIGNED: Image*() functions, big performance improvements (software rendering)
  873. - [*] REVIEWED: Multiple functions to replace file accesses by memory accesses
  874. - [*] ADDED: GitHub Actions CI to support multiple raylib build configurations
  875. Detailed changes:
  876. [core] ADDED: SetWindowState() / ClearWindowState() -> New flags added!
  877. [core] ADDED: IsWindowFocused()
  878. [core] ADDED: GetWindowScaleDPI()
  879. [core] ADDED: GetMonitorRefreshRate() (#1289) by @Shylie
  880. [core] ADDED: IsCursorOnScreen() (#1262) by @ChrisDill
  881. [core] ADDED: SetMouseCursor() and GetMouseCursor() for standard Desktop cursors (#1407) by @chances
  882. [core] REMOVED: struct RenderTexture2D: depthTexture variable
  883. [core] REMOVED: HideWindow() / UnhideWindow() -> Use SetWindowState()
  884. [core] REMOVED: DecorateWindow() / UndecorateWindow() -> Use SetWindowState()
  885. [core] RENAMED: GetExtension() to GetFileExtension()
  886. [core] REVIEWED: Several structs to reduce size and padding
  887. [core] REVIEWED: struct Texture maps to Texture2D and TextureCubemap
  888. [core] REVIEWED: ToggleFullscreen() (#1287)
  889. [core] REVIEWED: InitWindow(), support empty title for window (#1323)
  890. [core] REVIEWED: RPI: Mouse movements are bound to the screen resolution (#1392) (#1410) by @kernelkinetic
  891. [core] REVIEWED: GetPrevDirectoryPath() fixes on Unix-like systems (#1246) by @ivan-cx
  892. [core] REPLACED: rgif.h by msf_gif.h for automatic gif recording
  893. [core] REDESIGNED: GetMouseWheelMove() to return float movement for precise scrolling (#1397) by @Doy-lee
  894. [core] REDESIGNED: GetKeyPressed(), and added GetCharPressed() (#1336)
  895. [core] UWP rework with improvements (#1231) by @Rover656
  896. [core] Gamepad axis bug fixes and improvement (#1228) by @mmalecot
  897. [core] Updated joystick mappings with latest version of gamecontrollerdb (#1381) by @coderoth
  898. [rlgl] Corrected issue with OpenGL 1.1 support
  899. [rlgl] ADDED: rlDrawMeshInstanced() (#1318) by @seanpringle
  900. [rlgl] ADDED: rlCheckErrors (#1321) by @seanpringle
  901. [rlgl] ADDED: BLEND_SET blending mode (#1251) by @RandomErrorMessage
  902. [rlgl] ADDED: rlSetLineWidth(), rlGetLineWidth(), rlEnableSmoothLines(), rlDisableSmoothLines() (#1457) by @JeffM2501
  903. [rlgl] RENAMED: rlUnproject() to Vector3Unproject() [raymath]
  904. [rlgl] REVIEWED: Replace rlglDraw() calls by DrawRenderBatch() internal calls
  905. [rlgl] REVIEWED: GenTextureCubemap(), use rlgl functionality only
  906. [rlgl] REVIEWED: rlFramebufferAttach() to support texture layers
  907. [rlgl] REVIEWED: GenDrawCube() and GenDrawQuad()
  908. [rlgl] REVIEWED: Issues with vertex batch overflow (#1223)
  909. [rlgl] REVIEWED: rlUpdateTexture(), issue with offsets
  910. [rlgl] REDESIGNED: GenTexture*() to use the new fbo API (#721)
  911. [raymath] ADDED: Normalize() and Remap() functions (#1247) by @NoorWachid
  912. [raymath] ADDED: Vector2Reflect() (#1400) by @daniel-junior-dube
  913. [raymath] ADDED: Vector2LengthSqr() and Vector3LengthSqr() (#1248) by @ThePituLegend
  914. [raymath] ADDED: Vector2MoveTowards() function (#1233) by @anatagawa
  915. [raymath] REVIEWED: Some functions consistency (#1197) by @Not-Nik
  916. [raymath] REVIEWED: QuaternionFromVector3ToVector3() (#1263) by @jvocaturo
  917. [raymath] REVIEWED: MatrixLookAt(), optimized (#1442) by @RandomErrorMessage
  918. [shapes] ADDED: CheckCollisionLines(), by @Elkantor
  919. [text] Avoid [textures] functions dependencies
  920. [text] ADDED: Config flag: SUPPORT_TEXT_MANIPULATION
  921. [text] ADDED: LoadFontFromMemory() (TTF only) (#1327)
  922. [text] ADDED: UnloadFontData()
  923. [text] RENAMED: FormatText() -> TextFormat()
  924. [text] REVIEWED: Font struct, added charsPadding (#1432)
  925. [text] REVIEWED: TextJoin()
  926. [text] REVIEWED: TextReplace() (#1172)
  927. [text] REVIEWED: LoadBMFont() to load data from memory (#1232)
  928. [text] REVIEWED: GenImageFontAtlas(), fixed offset (#1171)
  929. [text] REDESIGNED: LoadFontData(), reviewed input parameters
  930. [text] REDESIGNED: LoadFontDefault(), some code simplifications
  931. [text] REDESIGNED: LoadFontFromImage(), avoid LoadImageEx()
  932. [text] REDESIGNED: LoadFontData(), avoid GenImageColor(), ImageFormat()
  933. [text] REDESIGNED: LoadBMFont(), avoid ImageCopy(), ImageFormat(), ImageAlphaMask()
  934. [textures] Move Color functions from [core] to [textures] module
  935. [textures] ADDED: ColorAlphaBlend()
  936. [textures] ADDED: GetPixelColor()
  937. [textures] ADDED: SetPixelColor()
  938. [textures] ADDED: LoadImageFromMemory() (#1327)
  939. [textures] ADDED: LoadImageAnim() to load animated sequence of images
  940. [textures] ADDED: DrawTextureTiled() (#1291) - @Demizdor
  941. [textures] ADDED: UpdateTextureRec()
  942. [textures] ADDED: UnloadImageColors(), UnloadImagePalette(), UnloadWaveSamples()
  943. [textures] REMOVED: Config flag: SUPPORT_IMAGE_DRAWING
  944. [textures] REMOVED: LoadImageEx()
  945. [textures] REMOVED: LoadImagePro()
  946. [textures] REMOVED: GetImageDataNormalized(), not exposed in the API
  947. [textures] RENAMED: ImageExtractPalette() to GetImagePalette()
  948. [textures] RENAMED: Fade() to ColorAlpha(), added #define for compatibility
  949. [textures] RENAMED: GetImageData() -> LoadImageColors()
  950. [textures] RENAMED: GetImagePalette() -> LoadImagePalette()
  951. [textures] RENAMED: GetWaveData() -> LoadWaveSamples()
  952. [textures] REVIEWED: GetPixelDataSize() to consider compressed data properly
  953. [textures] REVIEWED: GetTextureData(), allow retrieving 32bit float data
  954. [textures] REVIEWED: ImageDrawText*() params order
  955. [textures] REVIEWED: ColorAlphaBlend(), support tint color
  956. [textures] REVIEWED: ColorAlphaBlend(), integers-version, optimized (#1218)
  957. [textures] REVIEWED: ImageDraw(), consider negative source offset properly (#1283)
  958. [textures] REVIEWED: ImageDraw(), optimizations test (#1218)
  959. [textures] REVIEWED: ImageResizeCanvas(), optimization (#1218)
  960. [textures] REVIEWED: ExportImage(), optimized
  961. [textures] REVIEWED: ImageAlphaPremultiply(), optimization
  962. [textures] REVIEWED: ImageAlphaClear(), minor optimization
  963. [textures] REVIEWED: ImageToPOT(), renamed parameter
  964. [textures] REVIEWED: ImageCrop() (#1218)
  965. [textures] REVIEWED: ImageToPOT() (#1218)
  966. [textures] REVIEWED: ImageAlphaCrop() (#1218)
  967. [textures] REVIEWED: ExportImage(), optimized (#1218)
  968. [textures] REDESIGNED: ImageCrop(), optimized (#1218)
  969. [textures] REDESIGNED: ImageRotateCCW(), optimized (#1218)
  970. [textures] REDESIGNED: ImageRotateCW(), optimized (#1218)
  971. [textures] REDESIGNED: ImageFlipHorizontal(), optimized (#1218)
  972. [textures] REDESIGNED: ImageFlipVertical(), optimized (#1218)
  973. [textures] REDESIGNED: ImageResizeCanvas(), optimized (#1218)
  974. [textures] REDESIGNED: ImageDrawPixel(), optimized
  975. [textures] REDESIGNED: ImageDrawLine(), optimized
  976. [textures] REDESIGNED: ImageDraw(), optimized (#1218)
  977. [textures] REDESIGNED: ImageResize(), optimized (#1218)
  978. [textures] REDESIGNED: ImageFromImage(), optimized (#1218)
  979. [textures] REDESIGNED: ImageDraw(), optimization (#1218)
  980. [textures] REDESIGNED: ImageAlphaClear(), optimized (#1218)
  981. [textures] REDESIGNED: ExportImageAsCode() to use memory buffer (#1232)
  982. [textures] REDESIGNED: ColorFromHSV()
  983. [models] ADDED: DrawTriangle3D() and DrawTriangleStrip3D()
  984. [models] ADDED: UnloadModelKeepMeshes()
  985. [models] REVIEWED: LoadModel(), avoid loading texcoords and normals from model if not existent
  986. [models] REVIEWED: GenMeshCubicmap(), added comments and simplification
  987. [models] REVIEWED: GenMeshCubicmap(), fixed generated normals (#1244) by @GoldenThumbs
  988. [models] REVIEWED: GenMeshPoly(), fixed buffer overflow (#1269) by @frithrah
  989. [models] REVIEWED: LoadOBJ(): Allow for multiple materials in obj files (#1408) by @chriscamacho and @codifies
  990. [models] REVIEWED: LoadIQM() materials loading (#1227) by @sikor666
  991. [models] REVIEWED: LoadGLTF() to read from memory buffer
  992. [models] REVIEWED: UpdateMesh(), fix extra memory allocated when updating color buffer (#1271) by @4yn
  993. [models] REVIEWED: MeshNormalsSmooth() (#1317) by @seanpringle
  994. [models] REVIEWED: DrawGrid() (#1417)
  995. [models] REDESIGNED: ExportMesh() to use memory buffer (#1232)
  996. [models] REDESIGNED: LoadIQM() and LoadModelAnimations() to use memory buffers
  997. [audio] ADDED: LoadWaveFromMemory() (#1327)
  998. [audio] REMOVED: SetMusicLoopCount()
  999. [audio] REVIEWED: Several functions, sampleCount vs frameCount (#1423)
  1000. [audio] REVIEWED: SaveWAV() to use memory write insted of file
  1001. [audio] REVIEWED: LoadMusicStream(), support WAV music streaming (#1198)
  1002. [audio] REVIEWED: Support multiple WAV sampleSize for MusicStream (#1340)
  1003. [audio] REVIEWED: SetAudioBufferPitch()
  1004. [audio] REDESIGNED: Audio looping system
  1005. [audio] REDESIGNED: LoadSound(): Use memory loading (WAV, OGG, MP3, FLAC) (#1312)
  1006. [audio] REDESIGNED: ExportWaveAsCode() to use memory buffers
  1007. [utils] ADDED: MemAlloc() / MemFree() (#1440)
  1008. [utils] ADDED: UnloadFileData() / UnloadFileText()
  1009. [utils] REVIEWED: android_fopen() to support SDCard access
  1010. [utils] REDESIGNED: SaveFile*() functions to expose file access results (#1420)
  1011. [rmem] REVIEWED: MemPool and other allocators optimization (#1211) by @assyrianic
  1012. [examples] ADDED: core/core_window_flags
  1013. [examples] ADDED: core/core_quat_conversion by @chriscamacho and @codifies
  1014. [examples] ADDED: textures/textures_blend_modes (#1261) by @accidentalrebel
  1015. [examples] ADDED: textures/textures_draw_tiled (#1291) by @Demizdor
  1016. [examples] ADDED: shaders/shaders_hot_reloading (#1198)
  1017. [examples] ADDED: shaders/shaders_rlgl_mesh_instanced (#1318) by @seanpringle
  1018. [examples] ADDED: shaders/shaders_multi_sampler2d
  1019. [examples] ADDED: others/embedded_files_loading
  1020. [examples] REVIEWED: textures/textures_raw_data (#1286)
  1021. [examples] REVIEWED: textures/textures_sprite_explosion, replace resources
  1022. [examples] REVIEWED: textures/textures_particles_blending, replace resources
  1023. [examples] REVIEWED: textures/textures_image_processing, support mouse
  1024. [examples] REVIEWED: models/models_skybox to work on OpenGL ES 2.0
  1025. [examples] REVIEWED: audio/resources, use open license resources
  1026. [examples] REVIEWED: others/raudio_standalone.c
  1027. [build] ADDED: New config.h configuration options exposing multiple #define values
  1028. [build] REMOVED: ANGLE VS2017 template project
  1029. [build] REVIEWED: All MSVC compile warnings
  1030. [build] Updated Makefile for web (#1332) by @rfaile313
  1031. [build] Updated build pipelines to use latest emscripten and Android NDK
  1032. [build] Updated emscriptem build script to generate .a on WebAssembly
  1033. [build] Updated Android build for Linux, supporting ANDROID_NDK at compile time by @branlix3000
  1034. [build] Updated VSCode project template tasks
  1035. [build] Updated VS2017.UWP project template by @Rover656
  1036. [build] Updated Android build pipeline
  1037. [build] REMOVED: AppVeyor and Travis CI build systems
  1038. [*] Moved raysan5/raylib/games to independent repo: raysan5/raylib-games
  1039. [*] Replaced several examples resources with more open licensed alternatives
  1040. [*] Updated BINDINGS.md with NEW bindings and added raylib version binding!
  1041. [*] Updated all external libraries to latest versions
  1042. [*] Multiple code improvements and small fixes
  1043. -----------------------------------------------
  1044. Release: raylib 3.0 (01 April 2020)
  1045. -----------------------------------------------
  1046. KEY CHANGES:
  1047. - Global context states used on all modules.
  1048. - Custom memory allocators for all modules and dependencies.
  1049. - Centralized file access system and memory data loading.
  1050. - Structures reviewed to reduce size and always be used as pass-by-value.
  1051. - Tracelog messages completely reviewed and categorized.
  1052. - raudio module reviewed to accomodate new Music struct and new miniaudio.
  1053. - text module reviewed to improve fonts generation and text management functions.
  1054. - Multiple new examples added and categorized examples table.
  1055. - GitHub Actions CI implemented for Windows, Linux and macOS.
  1056. Detailed changes:
  1057. [build] ADDED: VS2017.ANGLE project, by @msmshazan
  1058. [build] ADDED: VS2017 project support for x64 platform configuration
  1059. [build] ADDED: Makefile for Android building on macOS, by @Yunoinsky
  1060. [build] ADDED: Makefile for Android building on Linux, by @pamarcos
  1061. [build] REMOVED: VS2015 project
  1062. [build] REVIEWED: VSCode project
  1063. [build] REVIEWED: Makefile build system
  1064. [build] REVIEWED: Android building, by @NimbusFox
  1065. [build] REVIEWED: Compilation with CLion IDE, by @Rover656
  1066. [build] REVIEWED: Generation of web examples, by @pamarcos
  1067. [build] REVIEWED: Makefiles path to 'shell.html', by @niorad
  1068. [build] REVIEWED: VS2017 64bit compilation issues, by @spec-chum
  1069. [build] REVIEWED: Multiple fixes on projects building, by @ChrisDill, @JuDelCo, @electronstudio
  1070. [core] ADDED: Support touch/mouse indistinctly
  1071. [core] ADDED: FLAG_WINDOW_ALWAYS_RUN to avoid pause on minimize
  1072. [core] ADDED: Config flag SUPPORT_HALFBUSY_WAIT_LOOP
  1073. [core] ADDED: RPI mouse cursor point support on native mode
  1074. [core] ADDED: GetWorldToScreen2D()- Get screen space position for a 2d camera world space position, by @arvyy
  1075. [core] ADDED: GetScreenToWorld2D() - Get world space position for a 2d camera screen space position, by @arvyy
  1076. [core] ADDED: GetWorldToScreenEx() - Get size position for a 3d world space position
  1077. [core] ADDED: DirectoryExists() - Check if a directory path exists
  1078. [core] ADDED: GetPrevDirectoryPath() - Get previous directory path for a given path
  1079. [core] ADDED: CompressData() - Compress data (DEFLATE algorythm)
  1080. [core] ADDED: DecompressData() - Decompress data (DEFLATE algorythm)
  1081. [core] ADDED: GetWindowPosition() - Get window position XY on monitor
  1082. [core] ADDED: LoadFileData() - Load file data as byte array (read)
  1083. [core] ADDED: SaveFileData() - Save data to file from byte array (write)
  1084. [core] ADDED: LoadFileText() - Load text data from file (read), returns a '\0' terminated string
  1085. [core] ADDED: SaveFileText() - Save text data to file (write), string must be '\0' terminated
  1086. [core] REMOVED: Show raylib logo at initialization
  1087. [core] REVIEWED: GetFileName(), security checks
  1088. [core] REVIEWED: LoadStorageValue(), by @danimartin82
  1089. [core] REVIEWED: SaveStorageValue(), by @danimartin82
  1090. [core] REVIEWED: IsMouseButtonReleased(), when press/release events come too fast, by @oswjk
  1091. [core] REVIEWED: SetWindowMonitor(), by @DropsOfSerenity
  1092. [core] REVIEWED: IsFileExtension() to be case-insensitive
  1093. [core] REVIEWED: IsFileExtension() when checking no-extension files
  1094. [core] REVIEWED: Default font scale filter for HighDPI mode
  1095. [core] REVIEWED: Touch input scaling for PLATFORM_WEB
  1096. [core] REVIEWED: RPI input system, by @DarkElvenAngel
  1097. [core] REVIEWED: RPI input threads issues
  1098. [core] REVIEWED: OpenGL extensions loading and freeing
  1099. [core] REVIEWED: GetDirectoryPath()
  1100. [core] REVIEWED: Camera2D behavior, by @arvyy
  1101. [core] REVIEWED: OpenGL ES 2.0 extensions check
  1102. [rlgl] ADDED: Flags to allow frustrum culling near/far distance configuration at compile time
  1103. [rlgl] ADDED: Flags to sllow MAX_BATCH_BUFFERING config at compile time
  1104. [rlgl] ADDED: GetMatrixProjection(), by @chriscamacho
  1105. [rlgl] ADDED: rlUpdateMeshAt() - Update vertex or index data on GPU, at index, by @brankoku
  1106. [rlgl] REVIEWED: Vertex padding not zeroed for quads, by @kawa-yoiko
  1107. [rlgl] REVIEWED: Read texture data as RGBA from FBO on GLES 2.0
  1108. [rlgl] REVIEWED: LoadShaderCode() for const correctness, by @heretique
  1109. [rlgl] REVIEWED: rlLoadTexture()
  1110. [rlgl] REVIEWED: rlReadTexturePixels()
  1111. [rlgl] REVIEWED: rlUpdateMesh() to supports updating indices, by @brankoku
  1112. [rlgl] REVIEWED: GenTextureCubemap(), renamed parameters for consistency
  1113. [rlgl] REVIEWED: HDR pixels loading
  1114. [raymath] ADDED: MatrixRotateXYZ(), by @chriscamacho
  1115. [raymath] RENAMED: Vector3Multiply() to Vector3Scale()
  1116. [camera] REVIEWED: Free camera pitch, by @chriscamacho
  1117. [camera] REVIEWED: Camera not working properly at z-align, by @Ushio
  1118. [shapes] ADDED: DrawTriangleStrip() - Draw a triangle strip defined by points
  1119. [shapes] ADDED: DrawEllipse() - Draw ellipse
  1120. [shapes] ADDED: DrawEllipseLines() - Draw ellipse outline
  1121. [shapes] ADDED: DrawPolyLines() - Draw a polygon outline of n sides
  1122. [shapes] REVIEWED: DrawPoly() shape rendering, by @AlexHCC
  1123. [textures] ADDED: LoadAnimatedGIF() - Load animated GIF file
  1124. [textures] ADDED: GetImageAlphaBorder() - Get image alpha border rectangle
  1125. [textures] ADDED: ImageFromImage() - Create an image from another image piece
  1126. [textures] ADDED: ImageClearBackground(), by @iamsouravgupta
  1127. [textures] ADDED: ImageDrawPixel(), by @iamsouravgupta
  1128. [textures] ADDED: ImageDrawCircle(), by @iamsouravgupta
  1129. [textures] ADDED: ImageDrawLineEx(), by @iamsouravgupta
  1130. [textures] ADDED: ImageDrawPixelV(), by @RobLoach
  1131. [textures] ADDED: ImageDrawCircleV(), by @RobLoach
  1132. [textures] ADDED: ImageDrawLineV(), by @RobLoach
  1133. [textures] ADDED: ImageDrawRectangleV(), by @RobLoach
  1134. [textures] ADDED: ImageDrawRectangleRec(), by @RobLoach
  1135. [textures] REVIEWED: ImageDrawPixel(), by @RobLoach
  1136. [textures] REVIEWED: ImageDrawLine(), by @RobLoach
  1137. [textures] REVIEWED: ImageDrawCircle(), by @RobLoach
  1138. [textures] REVIEWED: ImageDrawRectangle(), by @RobLoach
  1139. [textures] REVIEWED: ImageDraw(), now it supports color tint parameter
  1140. [textures] REVIEWED: ImageResizeCanvas()
  1141. [textures] REVIEWED: ImageCrop() with security checks
  1142. [textures] REVIEWED: ImageAlphaMask()
  1143. [textures] REVIEWED: ImageDrawRectangleLines()
  1144. [textures] REVIEWED: GetImageData()
  1145. [text] ADDED: TextCopy() - Copy one string to another, returns bytes copied
  1146. [text] ADDED: GetCodepoints() - Get all codepoints in a string
  1147. [text] ADDED: CodepointToUtf8() - Encode codepoint into utf8 text
  1148. [text] ADDED: DrawTextCodepoint() - Draw one character (codepoint)
  1149. [text] RENAMED: LoadDefaultFont() -> LoadFontDefault()
  1150. [text] RENAMED: TextCountCodepoints() -> GetCodepointsCount()
  1151. [text] REVIEWED: TextFormat(), to support caching, by @brankoku
  1152. [text] REVIEWED: LoadFontData(), generate empty image for space character
  1153. [text] REVIEWED: TextSplit()
  1154. [text] REVIEWED: TextToInteger()
  1155. [text] REVIEWED: GetNextCodepoint(), renamed parameters for clarity
  1156. [text] REVIEWED: GenImageFontAtlas(), improved atlas size computing
  1157. [text] REDESIGNED: struct Font, character rectangles have been moved out from CharInfo to Font
  1158. [text] REDESIGNED: struct CharInfo, now includes directly an Image of the glyph
  1159. [text] REDESIGNED: GenImageFontAtlas(), additional recs parameter added
  1160. [text] REDESIGNED: ImageTextEx(), to avoid font retrieval from GPU
  1161. [models] ADDED: Support rlPushMatrix() and rlPopMatrix() on mesh drawing
  1162. [models] ADDED: DrawPoint3D() - Draw a point in 3D space, actually a small line, by @ProfJski
  1163. [models] ADDED: Multi texture support for materials in GLTF format, by @Gamerfiend, @chriscamacho
  1164. [models] REVIEWED: LoadGLTF(), fixed memory leak, by @jubalh
  1165. [models] REVIEWED: LoadIQM(), support multiple animations loading, by @culacant
  1166. [models] REVIEWED: GetCollisionRayModel(), to avoid pointers
  1167. [models] REVIEWED: CheckCollisionRay*(), parameters renamed
  1168. [models] REVIEWED: UnloadMesh(), to avoid pointers
  1169. [models] REVIEWED: LoadModel(), memory initialization
  1170. [models] REVIEWED: UpdateModelAnimation(), added security checks
  1171. [models] REVIEWED: Multiple fixes on models loading, by @jubalh
  1172. [models] REVIEWED: Normals updated when using animated meshes, by @@las3rlars
  1173. [models] REVIEWED: Compilation when the SUPPORT_MESH_GENERATION not set, by @@Elkantor
  1174. [raudio] ADDED: Multi-channel audio playing, by @chriscamacho
  1175. [raudio] REMOVED: LoadWaveEx()
  1176. [raudio] RENAMED: IsAudioBufferProcessed() to IsAudioStreamProcessed()
  1177. [raudio] REVIEWED: Ensure .xm playback starts in the right place, by @illegalinstruction
  1178. [raudio] REVIEWED: Fix short non-looping sounds, by @jbosh
  1179. [raudio] REVIEWED: Modules playing time to full length
  1180. [raudio] REDESIGNED: Replaced Music pointer by struct
  1181. [raudio] REDESIGNED: Removed sampleLeft from Music struct
  1182. [examples] ADDED: core_scissor_test, by @ChrisDill
  1183. [examples] ADDED: core_2d_camera_platformer, by @arvyy
  1184. [examples] ADDED: textures_mouse_painting, by @ChrisDill
  1185. [examples] ADDED: models_waving_cubes, by @codecat
  1186. [examples] ADDED: models_solar_system, by @aldrinmartoq
  1187. [examples] ADDED: shaders_fog, by @chriscamacho
  1188. [examples] ADDED: shaders_texture_waves, by @Anata
  1189. [examples] ADDED: shaders_basic_lighting, by @chriscamacho
  1190. [examples] ADDED: shaders_simple_mask, by @chriscamacho
  1191. [examples] ADDED: audio_multichannel_sound, by @chriscamacho
  1192. [examples] ADDED: shaders_spotlight, by @chriscamacho
  1193. [examples] RENAMED: text_sprite_font > text_font_spritefont
  1194. [examples] RENAMED: text_ttf_loading > text_font_filters
  1195. [examples] RENAMED: text_bmfont_ttf > text_font_loading
  1196. [examples] REMOVED: models_obj_viewer
  1197. [examples] REMOVED: models_solar_system
  1198. [examples] REVIEWED: models_obj_loading > models_loading
  1199. [examples] REVIEWED: models_materials_pbr, shader issues
  1200. [examples] REVIEWED: core_window_letterbox, detailed explanation, by @jotac0
  1201. [examples] REVIEWED: core_window_letterbox, virtual mouse, by @anatagawa
  1202. [games] ADDED: GGJ2020 game - RE-PAIR
  1203. [*] Misc fixes and tweaks, by @yaram, @oraoto, @zatherz, @piecedigital, @Shylie
  1204. [*] Update ALL supported projects (Notepad++, VS2017)
  1205. [*] Update ALL external libraries to latest versions (29.Jan.2020)
  1206. [*] Update ALL examples and games
  1207. [*] Update BINDINGS list
  1208. -----------------------------------------------
  1209. Release: raylib 2.5 (May 2019)
  1210. -----------------------------------------------
  1211. KEY CHANGES:
  1212. - [core] Redesigned Gamepad mechanism, now common to all platforms and gamepads
  1213. - [core] HighDPI monitors support with automatic content scaling
  1214. - [rlgl] Complete module redesign to use one single internal buffer
  1215. - [rlgl] VR system redesign to allow custom device parameters and distortion shader
  1216. - [shapes] New drawing shapes available: CircleSector, Ring and RectangleRounded
  1217. - [text] New text management API (multiple functions)
  1218. - [text] Full Unicode support (utf8 text)
  1219. - [textures] Cubemap textures support
  1220. - [textures] Quad and N-Patch drawing
  1221. - [models] Skeletal model animation support
  1222. - [models] Support multiple meshes per model
  1223. - [models] Support glTF model loading
  1224. Detailed changes:
  1225. [build] REVIEWED: Default raylib and examples Makefile
  1226. [build] REVIEWED: Notepad++ NppExec scripts
  1227. [build] REVIEWED: VS2015 and VS2017 projects
  1228. [build] REVIEWED: Android APK build pipeline
  1229. [core] Converted most #defined values as enum values
  1230. [core] Complete redesign of RPI input system to use evdev events
  1231. [core] ADDED: IsWindowResized() - Check if window has been resized
  1232. [core] ADDED: IsWindowHidden() - Check if window is currently hidden
  1233. [core] ADDED: UnhideWindow() - Show the window
  1234. [core] ADDED: HideWindow() - Hide the window
  1235. [core] ADDED: GetWindowHandle() - Get native window handle
  1236. [core] ADDED: GetMonitorCount() - Get number of connected monitors
  1237. [core] ADDED: GetMonitorWidth() - Get primary monitor width
  1238. [core] ADDED: GetMonitorHeight() - Get primary monitor height
  1239. [core] ADDED: GetMonitorPhysicalWidth() - Get primary monitor physical width in millimetres
  1240. [core] ADDED: GetMonitorPhysicalHeight() - Get primary monitor physical height in millimetres
  1241. [core] ADDED: GetMonitorName() - Get the human-readable, UTF-8 encoded name of the primary monitor
  1242. [core] ADDED: GetClipboardText() - Get clipboard text content
  1243. [core] ADDED: SetClipboardText() - Set clipboard text content
  1244. [core] ADDED: ColorFromHSV() - Returns a Color from HSV values
  1245. [core] ADDED: FileExists() - Check if file exists
  1246. [core] ADDED: GetFileNameWithoutExt() - Get filename string without extension (memory should be freed)
  1247. [core] ADDED: GetDirectoryFiles() - Get filenames in a directory path (memory should be freed)
  1248. [core] ADDED: ClearDirectoryFiles() - Clear directory files paths buffers (free memory)
  1249. [core] ADDED: OpenURL() - Open URL with default system browser (if available)
  1250. [core] ADDED: SetMouseOffset() - Set mouse offset
  1251. [core] ADDED: SetMouseScale() - Set mouse scaling
  1252. [core] REMOVED: ShowLogo() - Activate raylib logo at startup (can be done with flags)
  1253. [shapes] ADDED: DrawCircleSector() - Draw a piece of a circle
  1254. [shapes] ADDED: DrawCircleSectorLines() - Draw circle sector outline
  1255. [shapes] ADDED: DrawRing() - Draw ring
  1256. [shapes] ADDED: DrawRingLines() - Draw ring outline
  1257. [shapes] ADDED: DrawRectangleRounded() - Draw rectangle with rounded edges
  1258. [shapes] ADDED: DrawRectangleRoundedLines() - Draw rectangle with rounded edges outline
  1259. [shapes] ADDED: SetShapesTexture() - Define default texture used to draw shapes
  1260. [textures] REVIEWED: ExportImage() - Reorder function parameters
  1261. [textures] REVIEWED: ImageDrawRectangle() - Remove unneeded parameter
  1262. [textures] ADDED: ExportImageAsCode() - Export image as code file defining an array of bytes
  1263. [textures] ADDED: LoadTextureCubemap() - Load cubemap from image, multiple image cubemap layouts supported
  1264. [textures] ADDED: ImageExtractPalette() - Extract color palette from image to maximum size (memory should be freed)
  1265. [textures] ADDED: ImageDrawRectangleLines() - Draw rectangle lines within an image
  1266. [textures] ADDED: DrawTextureQuad() - Draw texture quad with tiling and offset parameters
  1267. [textures] ADDED: DrawTextureNPatch() - Draws a texture (or part of it) that stretches or shrinks nicely
  1268. [models] REVIEWED: LoadMesh() -> LoadMeshes() - Support multiple meshes loading
  1269. [models] REVIEWED: LoadMaterial() -> LoadMaterials() - Support multiple materials loading
  1270. [models] REVIEWED: ExportMesh() - Reorder parameters
  1271. [models] ADDED: DrawCubeWiresV() - Draw cube wires (Vector version)
  1272. [models] ADDED: GenMeshPoly() - Generate polygonal mesh
  1273. [models] ADDED: SetMaterialTexture() - Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
  1274. [models] ADDED: SetModelMeshMaterial() - Set material for a mesh
  1275. [models] ADDED: LoadModelAnimations() - Load model animations from file
  1276. [models] ADDED: UpdateModelAnimation() - Update model animation pose
  1277. [models] ADDED: UnloadModelAnimation() - Unload animation data
  1278. [models] ADDED: IsModelAnimationValid() - Check model animation skeleton match
  1279. [rlgl] Improved internal batching mechanism (multibuffering support, triangle texcoords...)
  1280. [rlgl] REVIEWED: rlPushMatrix()/rlPopMatrix() - Now works like OpenGL 1.1
  1281. [rlgl] REVIEWED: SetShaderValue() - More generic, now requires uniform type
  1282. [rlgl] REMOVED: SetShaderValuei() - Can be acoomplished with new SetShaderValue()
  1283. [rlgl] ADDED: SetShaderValueV() - Set shader uniform value vector
  1284. [rlgl] ADDED: SetShaderValueTexture() - Set shader uniform value for texture
  1285. [rlgl] ADDED: BeginScissorMode() - Begin scissor mode (define screen area for following drawing)
  1286. [rlgl] ADDED: EndScissorMode() - End scissor mode
  1287. [rlgl] ADDED: SetVrConfiguration() - Set stereo rendering configuration parameters
  1288. [rlgl] REVIEWED: InitVrSimulator() - No input parameter required, use SetVrConfiguration()
  1289. [text] REVIEWED: LoadFontEx() - Reorder function parameters
  1290. [text] REVIEWED: LoadFontData() - Reorder function parameters
  1291. [text] REVIEWED: GenImageFontAtlas() - Reorder function parameters
  1292. [text] RENAMED: FormatText() -> TextFormat()
  1293. [text] RENAMED: SubText() -> TextSubtext()
  1294. [text] ADDED: LoadFontFromImage() - Load font from Image (XNA style)
  1295. [text] ADDED: DrawTextRec() - Draw text using font inside rectangle limits
  1296. [text] ADDED: DrawTextRecEx() - Draw text using font inside rectangle limits with support for text selection
  1297. [text] ADDED: TextIsEqual() - Check if two text string are equal
  1298. [text] ADDED: TextLength() - Get text length, checks for '\0' ending
  1299. [text] ADDED: TextReplace() - Replace text string (memory should be freed!)
  1300. [text] ADDED: TextInsert() - Insert text in a position (memory should be freed!)
  1301. [text] ADDED: TextJoin() - Join text strings with delimiter
  1302. [text] ADDED: TextSplit() - Split text into multiple strings
  1303. [text] ADDED: TextAppend() - Append text at specific position and move cursor!
  1304. [text] ADDED: TextFindIndex() - Find first text occurrence within a string
  1305. [text] ADDED: TextToUpper() - Get upper case version of provided string
  1306. [text] ADDED: TextToLower() - Get lower case version of provided string
  1307. [text] ADDED: TextToPascal() - Get Pascal case notation version of provided string
  1308. [text] ADDED: TextToInteger() - Get integer value from text (negative values not supported)
  1309. [raudio] ADDED: ExportWave() - Export wave data to file
  1310. [raudio] ADDED: ExportWaveAsCode() - Export wave sample data to code (.h)
  1311. [raudio] ADDED: IsAudioStreamPlaying() - Check if audio stream is playing
  1312. [raudio] ADDED: SetAudioStreamVolume() - Set volume for audio stream (1.0 is max level)
  1313. [raudio] ADDED: SetAudioStreamPitch() - Set pitch for audio stream (1.0 is base level)
  1314. [examples] Complete review of full examples collection, many additions
  1315. [examples] ADDED: core_custom_logging - Custom trace log system
  1316. [examples] ADDED: core_input_multitouch - Multitouch input example
  1317. [examples] ADDED: core_window_letterbox - Window adapted to screen
  1318. [examples] ADDED: core_loading_thread - Data loading in second thread
  1319. [examples] REVIEWED: core_input_gamepad - Adapted to new gamepad system
  1320. [examples] REVIEWED: core_vr_simulator - HMD device parameters and distortion shader should be provided
  1321. [examples] ADDED: core_window_scale_letterbox - Windows resizing and letterbox content
  1322. [examples] ADDED: shapes_rectangle_scaling_mouse - Scale a rectangle with mouse
  1323. [examples] ADDED: shapes_draw_circle_sector - Circle sector drawing
  1324. [examples] ADDED: shapes_draw_ring - Ring drawing
  1325. [examples] ADDED: shapes_draw_rectangle_rounded - Rounded rectangle drawing
  1326. [examples] ADDED: shapes_bouncing_ball - Ball bouncing in the screen
  1327. [examples] ADDED: shapes_collision_area - Collision detection and drawing
  1328. [examples] ADDED: shapes_following_eyes - Some maths on eyes and mouse
  1329. [examples] ADDED: shapes_easings_ball_anim - Ball animation
  1330. [examples] ADDED: shapes_easings_box_anim - Box animation
  1331. [examples] ADDED: shapes_easings_rectangle_array - Rectangles animation
  1332. [examples] REVIEWED: shapes_colors_palette - Reviewed color selection and text displaying
  1333. [examples] ADDED: textures_background_scrolling - Scrolling and parallaz background effect
  1334. [examples] ADDED: textures_image_npatch - Drawing N-Patch based boxes
  1335. [examples] ADDED: textures_sprite_button - Sprite button with sound
  1336. [examples] ADDED: textures_sprite_explosion - Sprite explosion with sound
  1337. [examples] ADDED: textures_bunnymark - Benchmarking test
  1338. [examples] ADDED: text_draw_inside_rectangle - Drawing text inside a delimited rectangle box
  1339. [examples] ADDED: text_unicode - Multiple languages text drawing
  1340. [examples] ADDED: text_rectangle_bound - Fit text inside a rectangle
  1341. [examples] REVIEWED: text_bmfont_ttf - Simplified example
  1342. [examples] ADDED: models_animation - Animated models loading and animation playing
  1343. [examples] ADDED: models_obj_viewer - Draw and drop models viewer
  1344. [examples] ADDED: models_rlgl_solar_system - Solar system simulation using rlgl functionality
  1345. [examples] ADDED: models_first_person_maze - 3D maze fps
  1346. [examples] ADDED: shaders_palette_switch - Switching color palette on shader
  1347. [examples] ADDED: shaders_raymarching - Raymarching shader
  1348. [examples] ADDED: shaders_texture_drawing - Texture drawing on GPU
  1349. [examples] ADDED: shaders_texture_waves - Texture waves on shader
  1350. [examples] ADDED: shaders_julia_set - Julia set fractals
  1351. [examples] ADDED: shaders_eratosthenes - Prime number visualization shader
  1352. [examples] REVIEWED: audio_raw_stream - Mostly rewritten
  1353. [games] ADDED: GGJ19 game - Cat vs Roomba
  1354. [*] Updated external libraries to latest version
  1355. [*] Multiple bugs corrected (check github issues)
  1356. -----------------------------------------------
  1357. Release: raylib 2.0 (July 2018)
  1358. -----------------------------------------------
  1359. KEY CHANGES:
  1360. - Removed external dependencies (GLFW3 and OpenAL)
  1361. - Complete redesign of audio module to use miniaudio library
  1362. - Support AppVeyor and Travis CI (continuous integration) building
  1363. - Reviewed raymath.h for better consistency and performance (inlining)
  1364. - Refactor all #define SUPPORT_* into a single config.h
  1365. - Support TCC compiler (32bit and 64bit)
  1366. Detailed changes:
  1367. [build] REMOVED: GitHub develop branch
  1368. [build] REMOVED: External dependencies GLFW and OpenAL
  1369. [build] ADDED: Android 64bit ARM support
  1370. [build] ADDED: FreeBSD, OpenBSD, NetBSD, Dragon Fly OS support
  1371. [build] ADDED: Universal Windows Platform (UWP) support
  1372. [build] ADDED: Wayland Linux desktop support
  1373. [build] ADDED: AppVeyor CI for automatic Windows builds
  1374. [build] ADDED: Travis CI for automatic Linux/macOS builds
  1375. [build] ADDED: rglfw (GLFW3 module) to avoid external dependency
  1376. [build] ADDED: VS2017 UWP project
  1377. [build] ADDED: Builder project template
  1378. [build] ADDED: Compiler memory sanitizer for better debug
  1379. [build] ADDED: CMake package target and CI auto-deploy tags
  1380. [build] ADDED: DEBUG library building support
  1381. [build] ADDED: Notepad++ NppExec scripts
  1382. [build] REVIEWED: VS2015 and VS2017 projects
  1383. [build] REVIEWED: Android APK build pipeline
  1384. [core] REVIEWED: Window creation hints to support transparent windows
  1385. [core] Unified InitWindow() between platforms
  1386. [core] Export Android main entry point
  1387. [core] RENAMED: Begin3dMode() to BeginMode3D()
  1388. [core] RENAMED: End3dMode() to EndMode3D()
  1389. [core] RENAMED: Begin2dMode() to BeginMode2D()
  1390. [core] RENAMED: End2dMode() to EndMode2D()
  1391. [core] RENAMED: struct Camera to Camera3D
  1392. [core] RENAMED: struct SpriteFont to Font -> plus all required functions!
  1393. [core] RENAMED: enum TextureFormat to PixelFormat
  1394. [core] REVIEWED: Rectangle params int to float
  1395. [core] REVIEWED: timing system for macOS
  1396. [core] REMOVED: ColorToFloat()
  1397. [core] ADDED: GetCurrentTime() on macOS
  1398. [core] ADDED: GetTime()
  1399. [core] ADDED: struct Vector4
  1400. [core] ADDED: SetTraceLog() to define trace log messages type
  1401. [core] ADDED: GetFileName() to get filename from path string
  1402. [core] ADDED: ColorToHSV()
  1403. [core] ADDED: ColorNormalize()
  1404. [core] ADDED: SetWindowSize() to scale Windows in runtime
  1405. [core] ADDED: SetMouseScale() to scale mouse input
  1406. [core] ADDED: key definitions - KEY_GRAVE, KEY_SLASH, KEY_BACKSLASH
  1407. [core] RENAMED: GetHexValue() to ColorToInt()
  1408. [core] REVIEWED: Fade()
  1409. [core] REVIEWED: InitWindow() to avoid void pointer (safety)
  1410. [core] Support camera 3d orthographic projection mode
  1411. [shapes] ADDED: DrawRectangleLinesEx()
  1412. [textures] Improved pixel formats support (32bit channels)
  1413. [textures] Improved textures support for OpenGL 2.1
  1414. [textures] REMOVED: DrawRectangleT() --> Added support to DrawRectangle()
  1415. [textures] ADDED: GetPixelDataSize(); pixel data size in bytes (image or texture)
  1416. [textures] ADDED: ImageAlphaClear() --> Clear alpha channel to desired color
  1417. [textures] ADDED: ImageAlphaCrop() --> Crop image depending on alpha value
  1418. [textures] ADDED: ImageAlphaPremultiply() --> Premultiply alpha channel
  1419. [textures] ADDED: ImageDrawRectangle()
  1420. [textures] ADDED: ImageMipmaps()
  1421. [textures] ADDED: GenImageColor()
  1422. [textures] ADDED: GetPixelDataSize()
  1423. [textures] ADDED: ImageRotateCW()
  1424. [textures] ADDED: ImageRotateCCW()
  1425. [textures] ADDED: ImageResizeCanvas()
  1426. [textures] ADDED: GetImageDataNormalized()
  1427. [textures] REVIEWED: ImageFormat() to use normalized data
  1428. [textures] REVIEWED: Manual mipmap generation
  1429. [textures] REVIEWED: LoadASTC()
  1430. [textures] REVIEWED: GenImagePerlinNoise()
  1431. [textures] REVIEWED: ImageTextEx() to support UTF8 basic characters
  1432. [textures] REVIEWED: GetTextureData() for RPI - requires some work
  1433. [textures] Added new example: text drawing on image
  1434. [text] Corrected issue with ttf font y-offset
  1435. [text] Support SDF font data generation
  1436. [text] ADDED: GenImageFontAtlas()
  1437. [text] ADDED: LoadFontData() to load data from TTF file
  1438. [text] REMOVED: LoadTTF() internal function
  1439. [text] REVIEWED: DrawTextEx() - avoid rendering SPACE character!
  1440. [text] RENAMED: GetDefaultFont() to GetFontDefault()
  1441. [rlgl] ADDED: rlCheckBufferLimit()
  1442. [rlgl] ADDED: LoadShaderCode()
  1443. [rlgl] ADDED: GetMatrixModelview()
  1444. [rlgl] ADDED: SetVrDistortionShader(Shader shader)
  1445. [rlgl] REVIEWED: rlLoadTexture() - added mipmaps support, improved compressed textures loading
  1446. [rlgl] REVIEWED: rlReadTexturePixels()
  1447. [models] Support 4 components mesh.tangent data
  1448. [models] Removed tangents generation from LoadOBJ()
  1449. [models] ADDED: MeshTangents()
  1450. [models] ADDED: MeshBinormals()
  1451. [models] ADDED: ExportMesh()
  1452. [models] ADDED: GetCollisionRayModel()
  1453. [models] RENAMED: CalculateBoundingBox() to MeshBoundingBox()
  1454. [models] REMOVED: GetCollisionRayMesh() - does not consider model transform
  1455. [models] REVIEWED: LoadMesh() - fallback to default cube mesh if loading fails
  1456. [audio] ADDED: Support for MP3 fileformat
  1457. [audio] ADDED: IsAudioStreamPlaying()
  1458. [audio] ADDED: SetAudioStreamVolume()
  1459. [audio] ADDED: SetAudioStreamPitch()
  1460. [utils] Corrected issue with SaveImageAs()
  1461. [utils] RENAMED: SaveImageAs() to ExportImage()
  1462. [utils] REMOVED: rres support - moved to external library (rres.h)
  1463. [shaders] REVIEWED: GLSL 120 shaders
  1464. [raymath] ADDED: Vector3RotateByQuaternion()
  1465. [raymath] REVIEWED: math usage to reduce temp variables
  1466. [raymath] REVIEWED: Avoid pointer-based parameters for API consistency
  1467. [physac] REVIEWED: physac.h timing system
  1468. [examples] Replaced dwarf model by brand new 3d assets: 3d medieval buildings
  1469. [examples] Assets cleaning and some replacements
  1470. [games] ADDED: GGJ18 game - transmission mission
  1471. [games] REVIEWED: Light my Ritual game - improved gameplay drawing
  1472. [*] Updated external libraries to latest version
  1473. [*] Multiple bugs corrected (check github issues)
  1474. -----------------------------------------------
  1475. Release: raylib 1.8.0 (Oct 2017)
  1476. -----------------------------------------------
  1477. NOTE:
  1478. In this release, multiple parts of the library have been reviewed (again) for consistency and simplification.
  1479. It exposes more than 30 new functions in comparison with previous version and it improves overall programming experience.
  1480. BIG CHANGES:
  1481. - New Image generation functions: Gradient, Checked, Noise, Cellular...
  1482. - New Mesh generation functions: Cube, Sphere, Cylinder, Torus, Knot...
  1483. - New Shaders and Materials systems to support PBR materials
  1484. - Custom Android APK build pipeline with simple Makefile
  1485. - Complete review of rlgl layer functionality
  1486. - Complete review of raymath functionality
  1487. detailed changes:
  1488. [rlgl] RENAMED: rlglLoadTexture() to rlLoadTexture()
  1489. [rlgl] RENAMED: rlglLoadRenderTexture() to rlLoadRenderTexture()
  1490. [rlgl] RENAMED: rlglUpdateTexture() to rlUpdateTexture()
  1491. [rlgl] RENAMED: rlglGenerateMipmaps() to rlGenerateMipmaps()
  1492. [rlgl] RENAMED: rlglReadScreenPixels() to rlReadScreenPixels()
  1493. [rlgl] RENAMED: rlglReadTexturePixels() to rlReadTexturePixels()
  1494. [rlgl] RENAMED: rlglLoadMesh() to rlLoadMesh()
  1495. [rlgl] RENAMED: rlglUpdateMesh() to rlUpdateMesh()
  1496. [rlgl] RENAMED: rlglDrawMesh() to rlDrawMesh()
  1497. [rlgl] RENAMED: rlglUnloadMesh() to rlUnloadMesh()
  1498. [rlgl] RENAMED: rlglUnproject() to rlUnproject()
  1499. [rlgl] RENAMED: LoadCompressedTexture() to LoadTextureCompressed()
  1500. [rlgl] RENAMED: GetDefaultTexture() to GetTextureDefault()
  1501. [rlgl] RENAMED: LoadDefaultShader() to LoadShaderDefault()
  1502. [rlgl] RENAMED: LoadDefaultShaderLocations() to SetShaderDefaultLocations()
  1503. [rlgl] RENAMED: UnloadDefaultShader() to UnLoadShaderDefault()
  1504. [rlgl] ADDED: rlGenMapCubemap(), Generate cubemap texture map from HDR texture
  1505. [rlgl] ADDED: rlGenMapIrradiance(), Generate irradiance texture map
  1506. [rlgl] ADDED: rlGenMapPrefilter(), Generate prefilter texture map
  1507. [rlgl] ADDED: rlGenMapBRDF(), Generate BRDF texture map
  1508. [rlgl] ADDED: GetVrDeviceInfo(), Get VR device information for some standard devices
  1509. [rlgl] REVIEWED: InitVrSimulator(), to accept device parameters as input
  1510. [core] ADDED: SetWindowTitle(), Set title for window (only PLATFORM_DESKTOP)
  1511. [core] ADDED: GetExtension(), Get file extension
  1512. [shapes] REMOVED: DrawRectangleGradient(), replaced by DrawRectangleGradientV() and DrawRectangleGradientH()
  1513. [shapes] ADDED: DrawRectangleGradientV(), Draw a vertical-gradient-filled rectangle
  1514. [shapes] ADDED: DrawRectangleGradientH(), Draw a horizontal-gradient-filled rectangle
  1515. [shapes] ADDED: DrawRectangleGradientEx(), Draw a gradient-filled rectangle with custom vertex colors
  1516. [shapes] ADDED: DrawRectangleT(), Draw rectangle using text character
  1517. [textures] ADDED: SaveImageAs(), Save image as PNG file
  1518. [textures] ADDED: GenImageGradientV(), Generate image: vertical gradient
  1519. [textures] ADDED: GenImageGradientH(), Generate image: horizontal gradient
  1520. [textures] ADDED: GenImageGradientRadial(), Generate image: radial gradient
  1521. [textures] ADDED: GenImageChecked(), Generate image: checked
  1522. [textures] ADDED: GenImageWhiteNoise(), Generate image: white noise
  1523. [textures] ADDED: GenImagePerlinNoise(), Generate image: perlin noise
  1524. [textures] ADDED: GenImageCellular(), Generate image: cellular algorithm. Bigger tileSize means bigger cells
  1525. [textures] ADDED: GenTextureCubemap(), Generate cubemap texture from HDR texture
  1526. [textures] ADDED: GenTextureIrradiance(), Generate irradiance texture using cubemap data
  1527. [textures] ADDED: GenTexturePrefilter(), Generate prefilter texture using cubemap data
  1528. [textures] ADDED: GenTextureBRDF(), Generate BRDF texture using cubemap data
  1529. [models] REMOVED: LoadMeshEx(), Mesh struct variables can be directly accessed
  1530. [models] REMOVED: UpdateMesh(), very ineficient
  1531. [models] REMOVED: LoadHeightmap(), use GenMeshHeightmap() and LoadModelFromMesh()
  1532. [models] REMOVED: LoadCubicmap(), use GenMeshCubicmap() and LoadModelFromMesh()
  1533. [models] RENAMED: LoadDefaultMaterial() to LoadMaterialDefault()
  1534. [models] ADDED: GenMeshPlane(), Generate plane mesh (with subdivisions)
  1535. [models] ADDED: GenMeshCube(), Generate cuboid mesh
  1536. [models] ADDED: GenMeshSphere(), Generate sphere mesh (standard sphere)
  1537. [models] ADDED: GenMeshHemiSphere(), Generate half-sphere mesh (no bottom cap)
  1538. [models] ADDED: GenMeshCylinder(), Generate cylinder mesh
  1539. [models] ADDED: GenMeshTorus(), Generate torus mesh
  1540. [models] ADDED: GenMeshKnot(), Generate trefoil knot mesh
  1541. [models] ADDED: GenMeshHeightmap(), Generate heightmap mesh from image data
  1542. [models] ADDED: GenMeshCubicmap(), Generate cubes-based map mesh from image data
  1543. [raymath] REVIEWED: full Matrix functionality to align with GLM in usage
  1544. [raymath] RENAMED: Vector3 functions for consistency: Vector*() renamed to Vector3*()
  1545. [build] Integrate Android APK building into examples Makefile
  1546. [build] Integrate Android APK building into templates Makefiles
  1547. [build] Improved Visual Studio 2015 project, folders, references...
  1548. [templates] Reviewed the full pack to support Android building
  1549. [examples] Reviewed full collection to adapt to raylib changes
  1550. [examples] [textures] ADDED: textures_image_generation
  1551. [examples] [models] ADDED: models_mesh_generation
  1552. [examples] [models] ADDED: models_material_pbr
  1553. [examples] [models] ADDED: models_skybox
  1554. [examples] [models] ADDED: models_yaw_pitch_roll
  1555. [examples] [others] REVIEWED: rlgl_standalone
  1556. [examples] [others] REVIEWED: audio_standalone
  1557. [github] Moved raylib webpage to own repo: github.com/raysan5/raylib.com
  1558. [games] Reviewed game: Koala Seasons
  1559. [*] Updated STB libraries to latest version
  1560. [*] Multiple bugs corrected (check github issues)
  1561. -----------------------------------------------
  1562. Release: raylib 1.7.0 (20 May 2017)
  1563. -----------------------------------------------
  1564. NOTE:
  1565. In this new raylib release, multiple parts of the library have been reviewed for consistency and simplification.
  1566. It exposes almost 300 functions, around 30 new functions in comparison with previous version and, again,
  1567. it sets a stepping stone towards raylib future.
  1568. BIG changes:
  1569. - More than 30 new functions added to the library, check list below.
  1570. - Support of configuration flags on every raylib module, to customize library build.
  1571. - Improved build system for all supported platforms with a unique Makefile to compile sources.
  1572. - Complete review of examples and sample games, added new sample material.
  1573. - Support automatic GIF recording of current window, just pressing Ctrl+F12
  1574. - Improved library consistency and organization in general.
  1575. other changes:
  1576. [core] Added function: SetWindowIcon(), to setup icon by code
  1577. [core] Added function: SetWindowMonitor(), to set current display monitor
  1578. [core] Added function: SetWindowMinSize(), to set minimum resize size
  1579. [core] Added function: TakeScreenshot(), made public to API (also launched internally with F12)
  1580. [core] Added function: GetDirectoryPath(), get directory for a given fileName (with path)
  1581. [core] Added function: GetWorkingDirectory(), get current working directory
  1582. [core] Added function: ChangeDirectory(), change working directory
  1583. [core] Added function: TraceLog(), made public to API
  1584. [core] Improved timing system to avoid busy wait loop on frame sync: Wait()
  1585. [core] Added support for gamepad on HTML5 platform
  1586. [core] Support mouse lock, useful for camera system
  1587. [core] Review functions description comments
  1588. [rlgl] Removed function: GetStandardShader(), removed internal standard shader
  1589. [rlgl] Removed function: CreateLight(), removed internal lighting system
  1590. [rlgl] Removed function: DestroyLight(), removed internal lighting system
  1591. [rlgl] Removed function: InitVrDevice(), removed VR device render, using simulator
  1592. [rlgl] Removed function: CloseVrDevice(), removed VR device render, using simulator
  1593. [rlgl] Removed function: IsVrDeviceReady(), removed VR device render, using simulator
  1594. [rlgl] Removed function: IsVrSimulator(), removed VR device render, using simulator
  1595. [rlgl] Added function: InitVrSimulator(), init VR simulator for selected device
  1596. [rlgl] Added function: CloseVrSimulator(), close VR simulator for current device
  1597. [rlgl] Added function: IsVrSimulatorReady(), detect if VR device is ready
  1598. [rlgl] Added function: BeginVrDrawing(), begin VR simulator stereo rendering
  1599. [rlgl] Added function: EndVrDrawing(), end VR simulator stereo rendering
  1600. [rlgl] Renamed function: ReadTextFile() to LoadText() and exposed to API
  1601. [rlgl] Removed internal lighting system and standard shader, moved to example
  1602. [rlgl] Removed Oculus Rift support, moved to oculus_rift example
  1603. [rlgl] Removed VR device support and replaced by VR simulator
  1604. [shapes] Added function: DrawLineEx(), draw line with QUADS, supports custom line thick
  1605. [shapes] Added function: DrawLineBezier(), draw a line using cubic-bezier curves in-out
  1606. [shapes] Added function: DrawRectanglePro(), draw a color-filled rectangle with pro parameters
  1607. [textures] Removed function: LoadImageFromRES(), redesigning custom RRES fileformat
  1608. [textures] Removed function: LoadTextureFromRES(), redesigning custom RRES fileformat
  1609. [textures] Removed function: LoadTextureEx(), use instead Image -> LoadImagePro(), LoadImageEx()
  1610. [textures] Added function: LoadImagePro()), load image from raw data with parameters
  1611. [textures] Review TraceLog() message when image file not found
  1612. [text] Renamed function: LoadSpriteFontTTF() to LoadSpriteFontEx(), for consistency
  1613. [text] Removed rBMF fileformat support, replaced by .png
  1614. [text] Refactor SpriteFont struct (better for rres custom fileformat)
  1615. [text] Renamed some variables for consistency
  1616. [models] Added function: LoadMesh(), load mesh from file
  1617. [models] Added function: LoadMeshEx(), load mesh from vertex data
  1618. [models] Added function: UnloadMesh(), unload mesh from memory (RAM and/or VRAM)
  1619. [models] Added function: GetCollisionRayMesh(), get collision info between ray and mesh
  1620. [models] Added function: GetCollisionRayTriangle(), get collision info between ray and triangle
  1621. [models] Added function: GetCollisionRayGround(), get collision info between ray and ground plane
  1622. [models] Renamed function: LoadModelEx() to LoadModelFromMesh()
  1623. [models] Removed function: DrawLight(), removed internal lighting system
  1624. [models] Renamed function: LoadModelEx() to LoadModelFromMesh() for consistency
  1625. [models] Removed function: LoadStandardMaterial(), removed internal standard shader
  1626. [models] Removed function: LoadModelFromRES(), redesigning custom RRES fileformat
  1627. [models] Renamed multiple variables for consistency
  1628. [audio] Added function: SetMasterVolume(), define listener volume
  1629. [audio] Added function: ResumeSound(), resume a paused sound
  1630. [audio] Added function: SetMusicLoopCount(), set number of repeats for a music
  1631. [audio] Added function: LoadWaveEx(), load wave from raw audio data
  1632. [audio] Added function: WaveCrop(), crop wave audio data
  1633. [audio] Added function: WaveFormat(), format audio data
  1634. [audio] Removed function: LoadSoundFromRES(), redesigning custom RRES fileformat
  1635. [audio] Added support for 32bit audio samples
  1636. [audio] Preliminary support for multichannel, limited to mono and stereo
  1637. [audio] Make sure buffers are ready for update: UpdateMusicStream()
  1638. [utils] Replaced function: GetExtension() by IsFileExtension() and made public to API
  1639. [utils] Unified function: TraceLog() between Android and other platforms
  1640. [utils] Removed internal function: GetNextPOT(), simplified implementation
  1641. [raymath] Added function: QuaternionToEuler(), to work with Euler angles
  1642. [raymath] Added function: QuaternionFromEuler(), to work with Euler angles
  1643. [raymath] Added multiple Vector2 math functions
  1644. [build] Integrate Android source building into Makefile
  1645. [example] Added example: shapes_lines_bezier
  1646. [example] Added example: text_input_box
  1647. [github] Moved gh-pages branch to master/docs
  1648. [github] Moved rlua.h and Lua examples to own repo: raylib-lua
  1649. [games] Reviewed full games collection
  1650. [games] New game added to collection: Koala Seasons
  1651. [*] Reviewed and improved examples collection (new assets)
  1652. [*] Reorganized library functions, structs, enums
  1653. [*] Updated STB libraries to latest version
  1654. -----------------------------------------------
  1655. Release: raylib 1.6.0 (20 November 2016)
  1656. -----------------------------------------------
  1657. NOTE:
  1658. This new raylib version commemorates raylib 3rd anniversary and represents another complete review of the library.
  1659. It includes some interesting new features and is a stepping stone towards raylib future.
  1660. HUGE changes:
  1661. [rlua] Lua BINDING: Complete raylib Lua binding, ALL raylib functions ported to Lua plus the +60 code examples.
  1662. [audio] COMPLETE REDESIGN: Improved music support and also raw audio data processing and playing, +20 new functions added.
  1663. [physac] COMPLETE REWRITE: Improved performance, functionality and simplified usage, moved to own repository and added multiple examples!
  1664. other changes:
  1665. [core] Corrected issue on OSX with HighDPI display
  1666. [core] Added flag to allow resizable window
  1667. [core] Allow no default font loading
  1668. [core] Corrected old issue with mouse buttons on web
  1669. [core] Improved gamepad support, unified across platforms
  1670. [core] Gamepad id functionality: GetGamepadName(), IsGamepadName()
  1671. [core] Gamepad buttons/axis checking functionality:
  1672. [core] Reviewed Android key inputs system, unified with desktop
  1673. [rlgl] Redesigned lighting shader system
  1674. [rlgl] Updated standard shader for better performance
  1675. [rlgl] Support alpha on framebuffer: rlglLoadRenderTexture()
  1676. [rlgl] Reviewed UpdateVrTracking() to update camera
  1677. [rlgl] Added IsVrSimulator() to check for VR simulator
  1678. [shapes] Corrected issue on DrawPolyEx()
  1679. [textures] Simplified supported image formats support
  1680. [textures] Improved text drawing within an image: ImageDrawText()
  1681. [textures] Support image alpha mixing: ImageAlphaMask()
  1682. [textures] Support textures filtering: SetTextureFilter()
  1683. [textures] Support textures wrap modes: SetTextureWrap()
  1684. [text] Improved TTF spritefont generation: LoadSpriteFontTTF()
  1685. [text] Improved AngelCode fonts support (unordered chars)
  1686. [text] Added TraceLog info on image spritefont loading
  1687. [text] Improved text measurement: MeasureTextEx()
  1688. [models] Improved OBJ loading flexibility
  1689. [models] Reviewed functions: DrawLine3D(), DrawCircle3D()
  1690. [models] Removed function: ResolveCollisionCubicmap()
  1691. [camera] Redesigned camera system and ported to header-only
  1692. [camera] Removed function: UpdateCameraPlayer()
  1693. [gestures] Redesigned gestures module to header-only
  1694. [audio] Simplified Music loading and playing system
  1695. [audio] Added trace on audio device closing
  1696. [audio] Reviewed Wave struct, improved flexibility
  1697. [audio] Support sound data update: UpdateSound()
  1698. [audio] Added support for FLAC audio loading/streaming
  1699. [raygui] Removed raygui from raylib repo (moved to own repo)
  1700. [build] Added OpenAL static library
  1701. [build] Added Visual Studio 2015 projects
  1702. [build] Support shared/dynamic raylib compilation
  1703. [*] Updated LibOVR to SDK version 1.8
  1704. [*] Updated games to latest raylib version
  1705. [*] Improved examples and added new ones
  1706. [*] Improved Android support
  1707. -----------------------------------------------
  1708. Release: raylib 1.5.0 (18 July 2016)
  1709. -----------------------------------------------
  1710. NOTE:
  1711. Probably this new version is the biggest boost of the library ever, lots of parts of the library have been redesigned,
  1712. lots of bugs have been solved and some **AMAZING** new features have been added.
  1713. HUGE changes:
  1714. [rlgl] OCULUS RIFT CV1: Added support for VR, not oly Oculus Rift CV1 but also stereo rendering simulator (multiplatform).
  1715. [rlgl] MATERIALS SYSTEM: Added support for Materials (.mtl) and multiple material properties: diffuse, specular, normal.
  1716. [rlgl] LIGHTING SYSTEM: Added support for up to 8 lights of 3 different types: Omni, Directional and Spot.
  1717. [physac] REDESIGNED: Improved performance and simplified usage, physic objects now are managed internally in a second thread!
  1718. [audio] CHIPTUNES: Added support for module audio music (.xm, .mod) loading and playing. Multiple mixing channels supported.
  1719. other changes:
  1720. [core] Review Android button inputs
  1721. [core] Support Android internal data storage
  1722. [core] Renamed WorldToScreen() to GetWorldToScreen()
  1723. [core] Removed function SetCustomCursor()
  1724. [core] Removed functions BeginDrawingEx(), BeginDrawingPro()
  1725. [core] Replaced functions InitDisplay() + InitGraphics() with: InitGraphicsDevice()
  1726. [core] Added support for field-of-view Y (fovy) on 3d Camera
  1727. [core] Added 2D camera mode functions: Begin2dMode() - End2dMode()
  1728. [core] Translate mouse inputs to Android touch/gestures internally
  1729. [core] Translate mouse inputs as touch inputs in HTML5
  1730. [core] Improved function GetKeyPressed() to support multiple keys (including function keys)
  1731. [core] Improved gamepad support, specially for RaspberryPi (including multiple gamepads support)
  1732. [rlgl] Support stereo rendering simulation (duplicate draw calls by viewport, optimized)
  1733. [rlgl] Added distortion shader (embeded) to support custom VR simulator: shader_distortion.h
  1734. [rlgl] Added support for OpenGL 2.1 on desktop
  1735. [rlgl] Improved 2D vs 3D drawing system (lines, triangles, quads)
  1736. [rlgl] Improved DXT-ETC1 support on HTML5
  1737. [rlgl] Review function: rlglUnproject()
  1738. [rlgl] Removed function: rlglInitGraphics(), integrated into rlglInit()
  1739. [rlgl] Updated Mesh and Shader structs
  1740. [rlgl] Simplified internal (default) dynamic buffers
  1741. [rlgl] Added support for indexed and dynamic mesh data
  1742. [rlgl] Set fixed vertex attribs location points
  1743. [rlgl] Improved mesh data loading support
  1744. [rlgl] Added standard shader (embeded) to support materials and lighting: shader_standard.h
  1745. [rlgl] Added light functions: CreateLight(), DestroyLight()
  1746. [rlgl] Added wire mode functions: rlDisableWireMode(), rlEnableWireMode()
  1747. [rlgl] Review function consistency, added: rlglLoadMesh(), rlglUpdateMesh(), rlglDrawMesh(), rlglUnloadMesh()
  1748. [rlgl] Replaced SetCustomShader() by: BeginShaderMode() - EndShaderMode()
  1749. [rlgl] Replaced SetBlendMode() by: BeginBlendMode() - EndBlendMode()
  1750. [rlgl] Added functions to customize internal matrices: SetMatrixProjection(), SetMatrixModelview()
  1751. [rlgl] Unified internal shaders to only one default shader
  1752. [rlgl] Added support for render to texture (RenderTexture2D):
  1753. LoadRenderTexture() - UnloadRenderTexture()
  1754. BeginTextureMode() - EndTextureMode()
  1755. [rlgl] Removed SetShaderMap*() functions
  1756. [rlgl] Redesigned default buffers usage functions:
  1757. LoadDefaultBuffers() - UnloadDefaultBuffers()
  1758. UpdateDefaultBuffers() - DrawDefaultBuffers()
  1759. [shapes] Corrected bug on GetCollisionRec()
  1760. [textures] Added support for Nearest-Neighbor image scaling
  1761. [textures] Added functions to draw text on image: ImageDrawText(), ImageDrawTextEx()
  1762. [text] Reorganized internal functions: Added LoadImageFont()
  1763. [text] Security check for unsupported BMFonts
  1764. [models] Split mesh creation from model loading on heightmap and cubicmap
  1765. [models] Updated BoundingBox collision detections
  1766. [models] Added color parameter to DrawBoundigBox()
  1767. [models] Removed function: DrawQuad()
  1768. [models] Removed function: SetModelTexture()
  1769. [models] Redesigned DrawPlane() to use RL_TRIANGLES
  1770. [models] Redesigned DrawRectangleV() to use RL_TRIANGLES
  1771. [models] Redesign to accomodate new materials system: LoadMaterial()
  1772. [models] Added material functions: LoadDefaultMaterial(), LoadStandardMaterial()
  1773. [models] Added MTL material loading support: LoadMTL()
  1774. [models] Added function: DrawLight()
  1775. [audio] Renamed SoundIsPlaying() to IsSoundPlaying()
  1776. [audio] Renamed MusicIsPlaying() to IsMusicPlaying()
  1777. [audio] Support multiple Music streams (indexed)
  1778. [audio] Support multiple mixing channels
  1779. [gestures] Improved and reviewed gestures system
  1780. [raymath] Added QuaternionInvert()
  1781. [raymath] Removed function: PrintMatrix()
  1782. [raygui] Ported to header-only library (https://github.com/raysan5/raygui)
  1783. [shaders] Added depth drawing shader (requires a depth texture)
  1784. [shaders] Reviewed included shaders and added comments
  1785. [OpenAL Soft] Updated to latest version (1.17.2)
  1786. [GLFW3] Updated to latest version (3.2)
  1787. [stb] Updated to latest headers versions
  1788. [GLAD] Converted to header only library and simplified to only used extensions
  1789. [*] Reorganize library folders: external libs moved to src/external folder
  1790. [*] Reorganize src folder for Android library
  1791. [*] Review external dependencies usage
  1792. [*] Improved Linux and OSX build systems
  1793. [*] Lots of tweaks and bugs corrected all around
  1794. -----------------------------------------------
  1795. Release: raylib 1.4.0 (22 February 2016)
  1796. -----------------------------------------------
  1797. NOTE:
  1798. This version supposed another big improvement for raylib, including new modules and new features.
  1799. More than 30 new functions have been added to previous raylib version.
  1800. Around 8 new examples and +10 new game samples have been added.
  1801. BIG changes:
  1802. [textures] IMAGE MANIPULATION: Functions to crop, resize, colorize, flip, dither and even draw image-to-image or text-to-image.
  1803. [text] SPRITEFONT SUPPORT: Added support for AngelCode fonts (.fnt) and TrueType fonts (.ttf).
  1804. [gestures] REDESIGN: Gestures system simplified and prepared to process generic touch events, including mouse events (multiplatform).
  1805. [physac] NEW MODULE: Basic 2D physics support, use colliders and rigidbodies; apply forces to physic objects.
  1806. other changes:
  1807. [rlgl] Removed GLEW library dependency, now using GLAD
  1808. [rlgl] Implemented alternative to glGetTexImage() on OpenGL ES
  1809. [rlgl] Using depth data on batch drawing
  1810. [rlgl] Reviewed glReadPixels() function
  1811. [core][rlgl] Reviewed raycast system, now 3D picking works
  1812. [core] Android: Reviewed Android App cycle, paused if inactive
  1813. [shaders] Implemented Blinn-Phong lighting shading model
  1814. [textures] Implemented Floyd-Steinberg dithering - ImageDither()
  1815. [text] Added line-break support to DrawText()
  1816. [text] Added TrueType Fonts support (using stb_truetype)
  1817. [models] Implement function: CalculateBoundingBox(Mesh mesh)
  1818. [models] Added functions to check Ray collisions
  1819. [models] Improve map resolution control on LoadHeightmap()
  1820. [camera] Corrected small-glitch on zoom-in with mouse-wheel
  1821. [gestures] Implemented SetGesturesEnabled() to enable only some gestures
  1822. [gestures] Implemented GetElapsedTime() on Windows system
  1823. [gestures] Support mouse gestures for desktop platforms
  1824. [raymath] Complete review of the module and converted to header-only
  1825. [easings] Added new module for easing animations
  1826. [stb] Updated to latest headers versions
  1827. [*] Lots of tweaks around
  1828. -----------------------------------------------
  1829. Release: raylib 1.3.0 (01 September 2015)
  1830. -----------------------------------------------
  1831. NOTE:
  1832. This version supposed a big boost for raylib, new modules have been added with lots of features.
  1833. Most of the modules have been completely reviewed to accomodate to the new features.
  1834. Over 50 new functions have been added to previous raylib version.
  1835. Most of the examples have been redone and +10 new advanced examples have been added.
  1836. BIG changes:
  1837. [rlgl] SHADERS: Support for model shaders and postprocessing shaders (multiple functions)
  1838. [textures] FORMATS: Support for multiple internal formats, including compressed formats
  1839. [camera] NEW MODULE: Set of cameras for 3d view: Free, Orbital, 1st person, 3rd person
  1840. [gestures] NEW MODULE: Gestures system for Android and HTML5 platforms
  1841. [raygui] NEW MODULE: Set of IMGUI elements for tools development (experimental)
  1842. other changes:
  1843. [rlgl] Added check for OpenGL supported extensions
  1844. [rlgl] Added function SetBlenMode() to select some predefined blending modes
  1845. [core] Added support for drop&drag of external files into running program
  1846. [core] Added functions ShowCursor(), HideCursor(), IsCursorHidden()
  1847. [core] Renamed function SetFlags() to SetConfigFlags()
  1848. [shapes] Simplified some functions to improve performance
  1849. [textures] Review of Image struct to support multiple data formats
  1850. [textures] Added function LoadImageEx()
  1851. [textures] Added function LoadImageRaw()
  1852. [textures] Added function LoadTextureEx()
  1853. [textures] Simplified function parameters LoadTextureFromImage()
  1854. [textures] Added function GetImageData()
  1855. [textures] Added function GetTextureData()
  1856. [textures] Renamed function ConvertToPOT() to ImageConvertToPOT()
  1857. [textures] Added function ImageConvertFormat()
  1858. [textures] Added function GenTextureMipmaps()
  1859. [text] Added support for Latin-1 Extended characters for default font
  1860. [text] Redesigned SpriteFont struct, replaced Character struct by Rectangle
  1861. [text] Removed function GetFontBaseSize(), use directly spriteFont.size
  1862. [models] Review of struct: Model (added shaders support)
  1863. [models] Added 3d collision functions (sphere vs sphere vs box vs box)
  1864. [models] Added function DrawCubeTexture()
  1865. [models] Added function DrawQuad()
  1866. [models] Added function DrawRay()
  1867. [models] Simplified function DrawPlane()
  1868. [models] Removed function DrawPlaneEx()
  1869. [models] Simplified function DrawGizmo()
  1870. [models] Removed function DrawGizmoEx()
  1871. [models] Added function LoadModelEx()
  1872. [models] Review of function LoadCubicMap()
  1873. [models] Added function ResolveCollisionCubicmap()
  1874. [audio] Decopupled from raylib, now this module can be used as standalone
  1875. [audio] Added function UpdateMusicStream()
  1876. [raymath] Complete review of the module
  1877. [stb] Updated to latest headers versions
  1878. [*] Lots of tweaks around
  1879. -----------------------------------------------
  1880. Release: raylib 1.2.2 (31 December 2014)
  1881. -----------------------------------------------
  1882. [*] Added support for HTML5 compiling (emscripten, asm.js)
  1883. [core] Corrected bug on input handling (keyboard and mouse)
  1884. [textures] Renamed function CreateTexture() to LoadTextureFromImage()
  1885. [textures] Added function ConvertToPOT()
  1886. [rlgl] Added support for color tint on models on GL 3.3+ and ES2
  1887. [rlgl] Added support for normals on models
  1888. [models] Corrected bug on DrawBillboard()
  1889. [models] Corrected bug on DrawHeightmap()
  1890. [models] Renamed LoadCubesmap() to LoadCubicmap()
  1891. [audio] Added function LoadSoundFromWave()
  1892. [makefile] Added support for Linux and OSX compiling
  1893. [stb] Updated to latest headers versions
  1894. [*] Lots of tweaks around
  1895. ---------------------------------------------------------------
  1896. Update: raylib 1.2.1 (17 October 2014) (Small Fixes Update)
  1897. ---------------------------------------------------------------
  1898. [core] Added function SetupFlags() to preconfigure raylib Window
  1899. [core] Corrected bug on fullscreen mode
  1900. [rlgl] rlglDrawmodel() - Added rotation on Y axis
  1901. [text] MeasureTextEx() - Corrected bug on measures for default font
  1902. -----------------------------------------------
  1903. Release: raylib 1.2 (16 September 2014)
  1904. -----------------------------------------------
  1905. NOTE:
  1906. This version supposed a complete redesign of the [core] module to support Android and Raspberry Pi.
  1907. Multiples modules have also been tweaked to accomodate to the new platforms, specially [rlgl]
  1908. [core] Added multiple platforms support: Android and Raspberry Pi
  1909. [core] InitWindow() - Complete rewrite and split for Android
  1910. [core] InitDisplay() - Internal function added to calculate proper display size
  1911. [core] InitGraphics() - Internal function where OpenGL graphics are initialized
  1912. [core] Complete refactoring of input functions to accomodate to new platforms
  1913. [core] Mouse and Keyboard raw data reading functions added for Raspberry Pi
  1914. [core] GetTouchX(), GetTouchY() - Added for Android
  1915. [core] Added Android callbacks to process inputs and Android activity commands
  1916. [rlgl] Adjusted buffers depending on platform
  1917. [rlgl] Added security check in case deployed vertex excess buffer size
  1918. [rlgl] Adjusted indices type depending on GL version (int or short)
  1919. [rlgl] Fallback to VBOs only usage if VAOs not supported on ES2
  1920. [rlgl] rlglLoadModel() stores vbo ids on new Model struct
  1921. [textures] Added support for PKM files (ETC1, ETC2 compression support)
  1922. [shapes] DrawRectangleV() - Modified, depending on OGL version uses TRIANGLES or QUADS
  1923. [text] LoadSpriteFont() - Modified to use LoadImage()
  1924. [models] Minor changes on models loading to accomodate to new Model struct
  1925. [audio] PauseMusicStream(), ResumeMusicStream() - Added
  1926. [audio] Reduced music buffer size to avoid stalls on Raspberry Pi
  1927. [src] Added makefile for Windows and RPI
  1928. [src] Added resources file (raylib icon and executable info)
  1929. [examples] Added makefile for Windows and RPI
  1930. [examples] Renamed and merged with test examples for coherence with module names
  1931. [templates] Added multiple templates to be use as a base-code for games
  1932. -----------------------------------------------
  1933. Release: raylib 1.1.1 (22 July 2014)
  1934. -----------------------------------------------
  1935. [core] ShowLogo() - To enable raylib logo animation at startup
  1936. [core] Corrected bug with window resizing
  1937. [rlgl] Redefined colors arrays to use byte instead of float
  1938. [rlgl] Removed double buffer system (no performance improvement)
  1939. [rlgl] rlglDraw() - Reorganized buffers drawing order
  1940. [rlgl] Corrected bug on screen resizing
  1941. [shapes] DrawRectangle() - Use QUADS instead of TRIANGLES
  1942. [models] DrawSphereWires() - Corrected some issues
  1943. [models] LoadOBJ() - Redesigned to support multiple meshes
  1944. [models] LoadCubesMap() - Loading a map as cubes (by pixel color)
  1945. [textures] Added security check if file doesn't exist
  1946. [text] Corrected bug on SpriteFont loading
  1947. [examples] Corrected some 3d examples
  1948. [test] Added cubesmap loading test
  1949. -----------------------------------------------
  1950. Release: raylib 1.1.0 (19 April 2014)
  1951. -----------------------------------------------
  1952. NOTE:
  1953. This version supposed a complete internal redesign of the library to support OpenGL 3.3+ and OpenGL ES 2.0.
  1954. New module [rlgl] has been added to 'translate' immediate mode style functions (i.e. rlVertex3f()) to GL 1.1, 3.3+ or ES2.
  1955. Another new module [raymath] has also been added with lot of useful 3D math vector-matrix-quaternion functions.
  1956. [rlgl] New module, abstracts OpenGL rendering (multiple versions support)
  1957. [raymath] New module, useful 3D math vector-matrix-quaternion functions
  1958. [core] Adapt all OpenGL code (initialization, drawing) to use [rlgl]
  1959. [shapes] Rewrite all shapes drawing functions to use [rlgl]
  1960. [textures] Adapt texture GPU loading to use [rlgl]
  1961. [textures] Added support for DDS images (compressed and uncompressed)
  1962. [textures] CreateTexture() - Redesigned to add mipmap automatic generation
  1963. [textures] DrawTexturePro() - Redesigned and corrected bugs
  1964. [models] Rewrite all 3d-shapes drawing functions to use [rlgl]
  1965. [models] Adapt model loading and drawing to use [rlgl]
  1966. [models] Model struct updated to include texture id
  1967. [models] SetModelTexture() - Added, link a texture to a model
  1968. [models] DrawModelEx() - Redesigned with extended parameters
  1969. [audio] Added music streaming support (OGG files)
  1970. [audio] Added support for OGG files as Sound
  1971. [audio] PlayMusicStream() - Added, open a new music stream and play it
  1972. [audio] StopMusicStream() - Added, stop music stream playing and close stream
  1973. [audio] PauseMusicStream() - Added, pause music stream playing
  1974. [audio] MusicIsPlaying() - Added, to check if music is playing
  1975. [audio] SetMusicVolume() - Added, set volume for music
  1976. [audio] GetMusicTimeLength() - Added, get current music time length (in seconds)
  1977. [audio] GetMusicTimePlayed() - Added, get current music time played (in seconds)
  1978. [utils] Added log tracing functionality - TraceLog(), TraceLogOpen(), TraceLogClose()
  1979. [*] Log tracing messages all around the code
  1980. -----------------------------------------------
  1981. Release: raylib 1.0.6 (16 March 2014)
  1982. -----------------------------------------------
  1983. [core] Removed unused lighting-system code
  1984. [core] Removed SetPerspective() function, calculated directly
  1985. [core] Unload and reload default font on fullscreen toggle
  1986. [core] Corrected bug gamepad buttons checking if no gamepad available
  1987. [texture] DrawTextureV() - Added, to draw using Vector2 for position
  1988. [texture] LoadTexture() - Redesigned, now uses LoadImage() + CreateTexture()
  1989. [text] FormatText() - Corrected memory leak bug
  1990. [models] Added Matrix struct and related functions
  1991. [models] DrawBillboard() - Reviewed, now it works!
  1992. [models] DrawBillboardRec() - Reviewed, now it works!
  1993. [tests] Added folder with multiple tests for new functions
  1994. -----------------------------------------------
  1995. Update: raylib 1.0.5 (28 January 2014)
  1996. -----------------------------------------------
  1997. [audio] LoadSound() - Corrected a bug, WAV file was not closed!
  1998. [core] GetMouseWheelMove() - Added, check mouse wheel Y movement
  1999. [texture] CreateTexture2D() renamed to CreateTexture()
  2000. [models] LoadHeightmap() - Added, Heightmap can be loaded as a Model
  2001. [tool] rREM updated, now supports (partially) drag and drop of files
  2002. -----------------------------------------------
  2003. Release: raylib 1.0.4 (23 January 2014)
  2004. -----------------------------------------------
  2005. [tool] Published a first alpha version of rREM tool (raylib Resource Embedder)
  2006. [core] GetRandomValue() - Bug corrected, now works right
  2007. [core] Fade() - Added, fades a color to an alpha percentadge
  2008. [core] WriteBitmap() - Moved to new module: utils.c, not used anymore
  2009. [core] TakeScreenshot() - Now uses WritePNG() (utils.c)
  2010. [utils] New module created with utility functions
  2011. [utils] WritePNG() - Write a PNG file (used by TakeScreenshot() on core)
  2012. [utils] DecompressData() - Added, used for rRES resource data decompresion
  2013. [textures] LoadImageFromRES() - Added, load an image from a rRES resource file
  2014. [textures] LoadTextureFromRES() - Added, load a texture from a rRES resource file
  2015. [audio] LoadSoundFromRES() - Added, load a sound from a rRES resource file
  2016. [audio] IsPlaying() - Added, check if a sound is currently playing
  2017. [audio] SetVolume() - Added, set the volume for a sound
  2018. [audio] SetPitch() - Added, set the pitch for a sound
  2019. [examples] ex06a_color_select completed
  2020. [examples] ex06b_logo_anim completed
  2021. [examples] ex06c_font select completed
  2022. -----------------------------------------------
  2023. Release: raylib 1.0.3 (19 December 2013)
  2024. -----------------------------------------------
  2025. [fonts] Added 8 rBMF free fonts to be used on projects!
  2026. [text] LoadSpriteFont() - Now supports rBMF file loading (raylib Bitmap Font)
  2027. [examples] ex05a_sprite_fonts completed
  2028. [examples] ex05b_rbmf_fonts completed
  2029. [core] InitWindowEx() - InitWindow with extended parameters, resizing option and custom cursor!
  2030. [core] GetRandomValue() - Added, returns a random value within a range (int)
  2031. [core] SetExitKey() - Added, sets a key to exit program (default is ESC)
  2032. [core] Custom cursor not drawn when mouse out of screen
  2033. [shapes] CheckCollisionPointRec() - Added, check collision between point and rectangle
  2034. [shapes] CheckCollisionPointCircle() - Added, check collision between point and circle
  2035. [shapes] CheckCollisionPointTriangle() - Added, check collision between point and triangle
  2036. [shapes] DrawPoly() - Added, draw regular polygons of n sides, rotation can be defined!
  2037. -----------------------------------------------
  2038. Release: raylib 1.0.2 (1 December 2013)
  2039. -----------------------------------------------
  2040. [text] GetDefaultFont() - Added, get default SpriteFont to be used on DrawTextEx()
  2041. [shapes] CheckCollisionRecs() - Added, check collision between rectangles
  2042. [shapes] CheckCollisionCircles() - Added, check collision between circles
  2043. [shapes] CheckCollisionCircleRec() - Added, check collision circle-rectangle
  2044. [shapes] GetCollisionRec() - Added, get collision rectangle
  2045. [textures] CreateTexture2D() - Added, create Texture2D from Image data
  2046. [audio] Fixed WAV loading function, now audio works!
  2047. -----------------------------------------------
  2048. Update: raylib 1.0.1 (28 November 2013)
  2049. -----------------------------------------------
  2050. [text] DrawText() - Removed spacing parameter
  2051. [text] MeasureText() - Removed spacing parameter
  2052. [text] DrawFps() - Renamed to DrawFPS() for coherence with similar function
  2053. [core] IsKeyPressed() - Change functionality, check if key pressed once
  2054. [core] IsKeyDown() - Added, check if key is being pressed
  2055. [core] IsKeyReleased() - Change functionality, check if key released once
  2056. [core] IsKeyUp() - Added, check if key is being NOT pressed
  2057. [core] IsMouseButtonDown() - Added, check if mouse button is being pressed
  2058. [core] IsMouseButtonPressed() - Change functionality, check if mouse button pressed once
  2059. [core] IsMouseButtonUp() - Added, check if mouse button is NOT being pressed
  2060. [core] IsMouseButtonReleased() - Change functionality, check if mouse button released once
  2061. [textures] DrawTexturePro() - Added, texture drawing with 'pro' parameters
  2062. [examples] Function changes applied to ALL examples
  2063. -----------------------------------------------
  2064. Release: raylib 1.0.0 (18 November 2013)
  2065. -----------------------------------------------
  2066. * Initial version
  2067. * 6 Modules provided:
  2068. - core: basic window/context creation functions, input management, timing functions
  2069. - shapes: basic shapes drawing functions
  2070. - textures: image data loading and conversion to OpenGL textures
  2071. - text: text drawing, sprite fonts loading, default font loading
  2072. - models: basic 3d shapes drawing, OBJ models loading and drawing
  2073. - audio: audio device initialization, WAV files loading and playing