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.

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