您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1352 行
77 KiB

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