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.

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