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.

1351 lines
77 KiB

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