Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

1350 linhas
77 KiB

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