You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

760 lines
42 KiB

7 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
11 years ago
8 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
11 years ago
8 years ago
8 years ago
8 years ago
8 years ago
7 years ago
8 years ago
7 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
  1. changelog
  2. ---------
  3. Current Release: raylib 2.0.0 (July 2018)
  4. -----------------------------------------------
  5. Release: raylib 2.0 (July 2018)
  6. -----------------------------------------------
  7. KEY CHANGES:
  8. - Removed external dependencies (GLFW3 and OpenAL)
  9. - Complete redesign of audio module to use mini_al audio library
  10. - Support AppVeyor and Travis CI (continuous integration) building
  11. - Reviewed raymath.h for better consistency and performance (inlining)
  12. - Refactor all #define SUPPORT_* into a single config.h
  13. - Support TCC compiler (32bit and 64bit)
  14. Detailed changes:
  15. [build] REMOVED: GitHub develop branch
  16. [build] REMOVED: External dependencies GLFW and OpenAL
  17. [build] ADDED: Android 64bit ARM support
  18. [build] ADDED: FreeBSD, OpenBSD, NetBSD, Dragon Fly OS support
  19. [build] ADDED: Universal Windows Platform (UWP) support
  20. [build] ADDED: Wayland Linux desktop support
  21. [build] ADDED: AppVeyor CI for automatic Windows builds
  22. [build] ADDED: Travis CI for automatic Linux/macOS builds
  23. [build] ADDED: rglfw (GLFW3 module) to avoid external dependency
  24. [build] ADDED: VS2017 UWP project
  25. [build] ADDED: Builder project template
  26. [build] ADDED: Compiler memory sanitizer for better debug
  27. [build] ADDED: CMake package target and CI auto-deploy tags
  28. [build] ADDED: DEBUG library building support
  29. [build] ADDED: Notepad++ NppExec scripts
  30. [build] REVIEWED: VS2015 and VS2017 projects
  31. [build] REVIEWED: Android APK build pipeline
  32. [core] REVIEWED: Window creation hints to support transparent windows
  33. [core] Unified InitWindow() between platforms
  34. [core] Export Android main entry point
  35. [core] RENAMED: Begin3dMode() to BeginMode3D()
  36. [core] RENAMED: End3dMode() to EndMode3D()
  37. [core] RENAMED: Begin2dMode() to BeginMode2D()
  38. [core] RENAMED: End2dMode() to EndMode2D()
  39. [core] RENAMED: struct Camera to Camera3D
  40. [core] RENAMED: struct SpriteFont to Font -> plus all required functions!
  41. [core] RENAMED: enum TextureFormat to PixelFormat
  42. [core] REVIEWED: Rectangle params int to float
  43. [core] REVIEWED: timing system for macOS
  44. [core] REMOVED: ColorToFloat()
  45. [core] ADDED: GetCurrentTime() on macOS
  46. [core] ADDED: GetTime()
  47. [core] ADDED: struct Vector4
  48. [core] ADDED: SetTraceLog() to define trace log messages type
  49. [core] ADDED: GetFileName() to get filename from path string
  50. [core] ADDED: ColorToHSV()
  51. [core] ADDED: ColorNormalize()
  52. [core] ADDED: SetWindowSize() to scale Windows in runtime
  53. [core] ADDED: SetMouseScale() to scale mouse input
  54. [core] ADDED: key definitions - KEY_GRAVE, KEY_SLASH, KEY_BACKSLASH
  55. [core] RENAMED: GetHexValue() to ColorToInt()
  56. [core] REVIEWED: Fade()
  57. [core] REVIEWED: InitWindow() to avoid void pointer (safety)
  58. [core] Support camera 3d orthographic projection mode
  59. [shapes] ADDED: DrawRectangleLinesEx()
  60. [textures] Improved pixel formats support (32bit channels)
  61. [textures] Improved textures support for OpenGL 2.1
  62. [textures] REMOVED: DrawRectangleT() --> Added support to DrawRectangle()
  63. [textures] ADDED: GetPixelDataSize(); pixel data size in bytes (image or texture)
  64. [textures] ADDED: ImageAlphaClear() --> Clear alpha channel to desired color
  65. [textures] ADDED: ImageAlphaCrop() --> Crop image depending on alpha value
  66. [textures] ADDED: ImageAlphaPremultiply() --> Premultiply alpha channel
  67. [textures] ADDED: ImageDrawRectangle()
  68. [textures] ADDED: ImageMipmaps()
  69. [textures] ADDED: GenImageColor()
  70. [textures] ADDED: GetPixelDataSize()
  71. [textures] ADDED: ImageRotateCW()
  72. [textures] ADDED: ImageRotateCCW()
  73. [textures] ADDED: ImageResizeCanvas()
  74. [textures] ADDED: GetImageDataNormalized()
  75. [textures] REVIEWED: ImageFormat() to use normalized data
  76. [textures] REVIEWED: Manual mipmap generation
  77. [textures] REVIEWED: LoadASTC()
  78. [textures] REVIEWED: GenImagePerlinNoise()
  79. [textures] REVIEWED: ImageTextEx() to support UTF8 basic characters
  80. [textures] REVIEWED: GetTextureData() for RPI - requires some work
  81. [textures] Added new example: text drawing on image
  82. [text] Corrected issue with ttf font y-offset
  83. [text] Support SDF font data generation
  84. [text] ADDED: GenImageFontAtlas()
  85. [text] ADDED: LoadFontData() to load data from TTF file
  86. [text] REMOVED: LoadTTF() internal function
  87. [text] REVIEWED: DrawTextEx() - avoid rendering SPACE character!
  88. [text] RENAMED: GetDefaultFont() to GetFontDefault()
  89. [rlgl] ADDED: rlCheckBufferLimit()
  90. [rlgl] ADDED: LoadShaderCode()
  91. [rlgl] ADDED: GetMatrixModelview()
  92. [rlgl] ADDED: SetVrDistortionShader(Shader shader)
  93. [rlgl] REVIEWED: rlLoadTexture() - added mipmaps support, improved compressed textures loading
  94. [rlgl] REVIEWED: rlReadTexturePixels()
  95. [models] Support 4 components mesh.tangent data
  96. [models] Removed tangents generation from LoadOBJ()
  97. [models] ADDED: MeshTangents()
  98. [models] ADDED: MeshBinormals()
  99. [models] ADDED: ExportMesh()
  100. [models] ADDED: GetCollisionRayModel()
  101. [models] RENAMED: CalculateBoundingBox() to MeshBoundingBox()
  102. [models] REMOVED: GetCollisionRayMesh() - does not consider model transform
  103. [models] REVIEWED: LoadMesh() - fallback to default cube mesh if loading fails
  104. [audio] ADDED: Support for MP3 fileformat
  105. [audio] ADDED: IsAudioStreamPlaying()
  106. [audio] ADDED: SetAudioStreamVolume()
  107. [audio] ADDED: SetAudioStreamPitch()
  108. [utils] Corrected issue with SaveImageAs()
  109. [utils] RENAMED: SaveImageAs() to ExportImage()
  110. [utils] REMOVED: rres support - moved to external library (rres.h)
  111. [shaders] REVIEWED: GLSL 120 shaders
  112. [raymath] ADDED: Vector3RotateByQuaternion()
  113. [raymath] REVIEWED: math usage to reduce temp variables
  114. [raymath] REVIEWED: Avoid pointer-based parameters for API consistency
  115. [physac] REVIEWED: physac.h timing system
  116. [examples] Replaced dwarf model by brand new 3d assets: 3d medieval buildings
  117. [examples] Assets cleaning and some replacements
  118. [games] ADDED: GGJ18 game - transmission mission
  119. [games] REVIEWED: Light my Ritual game - improved gameplay drawing
  120. [*] Updated external libraries to latest version
  121. [*] Multiple bugs corrected (check github issues)
  122. -----------------------------------------------
  123. Release: raylib 1.8.0 (Oct 2017)
  124. -----------------------------------------------
  125. NOTE:
  126. In this release, multiple parts of the library have been reviewed (again) for consistency and simplification.
  127. It exposes more than 30 new functions in comparison with previous version and it improves overall programming experience.
  128. BIG CHANGES:
  129. - New Image generation functions: Gradient, Checked, Noise, Cellular...
  130. - New Mesh generation functions: Cube, Sphere, Cylinder, Torus, Knot...
  131. - New Shaders and Materials systems to support PBR materials
  132. - Custom Android APK build pipeline with simple Makefile
  133. - Complete review of rlgl layer functionality
  134. - Complete review of raymath functionality
  135. detailed changes:
  136. [rlgl] RENAMED: rlglLoadTexture() to rlLoadTexture()
  137. [rlgl] RENAMED: rlglLoadRenderTexture() to rlLoadRenderTexture()
  138. [rlgl] RENAMED: rlglUpdateTexture() to rlUpdateTexture()
  139. [rlgl] RENAMED: rlglGenerateMipmaps() to rlGenerateMipmaps()
  140. [rlgl] RENAMED: rlglReadScreenPixels() to rlReadScreenPixels()
  141. [rlgl] RENAMED: rlglReadTexturePixels() to rlReadTexturePixels()
  142. [rlgl] RENAMED: rlglLoadMesh() to rlLoadMesh()
  143. [rlgl] RENAMED: rlglUpdateMesh() to rlUpdateMesh()
  144. [rlgl] RENAMED: rlglDrawMesh() to rlDrawMesh()
  145. [rlgl] RENAMED: rlglUnloadMesh() to rlUnloadMesh()
  146. [rlgl] RENAMED: rlglUnproject() to rlUnproject()
  147. [rlgl] RENAMED: LoadCompressedTexture() to LoadTextureCompressed()
  148. [rlgl] RENAMED: GetDefaultTexture() to GetTextureDefault()
  149. [rlgl] RENAMED: LoadDefaultShader() to LoadShaderDefault()
  150. [rlgl] RENAMED: LoadDefaultShaderLocations() to SetShaderDefaultLocations()
  151. [rlgl] RENAMED: UnloadDefaultShader() to UnLoadShaderDefault()
  152. [rlgl] ADDED: rlGenMapCubemap(), Generate cubemap texture map from HDR texture
  153. [rlgl] ADDED: rlGenMapIrradiance(), Generate irradiance texture map
  154. [rlgl] ADDED: rlGenMapPrefilter(), Generate prefilter texture map
  155. [rlgl] ADDED: rlGenMapBRDF(), Generate BRDF texture map
  156. [rlgl] ADDED: GetVrDeviceInfo(), Get VR device information for some standard devices
  157. [rlgl] REVIEWED: InitVrSimulator(), to accept device parameters as input
  158. [core] ADDED: SetWindowTitle(), Set title for window (only PLATFORM_DESKTOP)
  159. [core] ADDED: GetExtension(), Get file extension
  160. [shapes] REMOVED: DrawRectangleGradient(), replaced by DrawRectangleGradientV() and DrawRectangleGradientH()
  161. [shapes] ADDED: DrawRectangleGradientV(), Draw a vertical-gradient-filled rectangle
  162. [shapes] ADDED: DrawRectangleGradientH(), Draw a horizontal-gradient-filled rectangle
  163. [shapes] ADDED: DrawRectangleGradientEx(), Draw a gradient-filled rectangle with custom vertex colors
  164. [shapes] ADDED: DrawRectangleT(), Draw rectangle using text character
  165. [textures] ADDED: SaveImageAs(), Save image as PNG file
  166. [textures] ADDED: GenImageGradientV(), Generate image: vertical gradient
  167. [textures] ADDED: GenImageGradientH(), Generate image: horizontal gradient
  168. [textures] ADDED: GenImageGradientRadial(), Generate image: radial gradient
  169. [textures] ADDED: GenImageChecked(), Generate image: checked
  170. [textures] ADDED: GenImageWhiteNoise(), Generate image: white noise
  171. [textures] ADDED: GenImagePerlinNoise(), Generate image: perlin noise
  172. [textures] ADDED: GenImageCellular(), Generate image: cellular algorithm. Bigger tileSize means bigger cells
  173. [textures] ADDED: GenTextureCubemap(), Generate cubemap texture from HDR texture
  174. [textures] ADDED: GenTextureIrradiance(), Generate irradiance texture using cubemap data
  175. [textures] ADDED: GenTexturePrefilter(), Generate prefilter texture using cubemap data
  176. [textures] ADDED: GenTextureBRDF(), Generate BRDF texture using cubemap data
  177. [models] REMOVED: LoadMeshEx(), Mesh struct variables can be directly accessed
  178. [models] REMOVED: UpdateMesh(), very ineficient
  179. [models] REMOVED: LoadHeightmap(), use GenMeshHeightmap() and LoadModelFromMesh()
  180. [models] REMOVED: LoadCubicmap(), use GenMeshCubicmap() and LoadModelFromMesh()
  181. [models] RENAMED: LoadDefaultMaterial() to LoadMaterialDefault()
  182. [models] ADDED: GenMeshPlane(), Generate plane mesh (with subdivisions)
  183. [models] ADDED: GenMeshCube(), Generate cuboid mesh
  184. [models] ADDED: GenMeshSphere(), Generate sphere mesh (standard sphere)
  185. [models] ADDED: GenMeshHemiSphere(), Generate half-sphere mesh (no bottom cap)
  186. [models] ADDED: GenMeshCylinder(), Generate cylinder mesh
  187. [models] ADDED: GenMeshTorus(), Generate torus mesh
  188. [models] ADDED: GenMeshKnot(), Generate trefoil knot mesh
  189. [models] ADDED: GenMeshHeightmap(), Generate heightmap mesh from image data
  190. [models] ADDED: GenMeshCubicmap(), Generate cubes-based map mesh from image data
  191. [raymath] REVIEWED: full Matrix functionality to align with GLM in usage
  192. [raymath] RENAMED: Vector3 functions for consistency: Vector*() renamed to Vector3*()
  193. [build] Integrate Android APK building into examples Makefile
  194. [build] Integrate Android APK building into templates Makefiles
  195. [build] Improved Visual Studio 2015 project, folders, references...
  196. [templates] Reviewed the full pack to support Android building
  197. [examples] Reviewed full collection to adapt to raylib changes
  198. [examples] [textures] ADDED: textures_image_generation
  199. [examples] [models] ADDED: models_mesh_generation
  200. [examples] [models] ADDED: models_material_pbr
  201. [examples] [models] ADDED: models_skybox
  202. [examples] [models] ADDED: models_yaw_pitch_roll
  203. [examples] [others] REVIEWED: rlgl_standalone
  204. [examples] [others] REVIEWED: audio_standalone
  205. [github] Moved raylib webpage to own repo: github.com/raysan5/raylib.com
  206. [games] Reviewed game: Koala Seasons
  207. [*] Updated STB libraries to latest version
  208. [*] Multiple bugs corrected (check github issues)
  209. -----------------------------------------------
  210. Release: raylib 1.7.0 (20 May 2017)
  211. -----------------------------------------------
  212. NOTE:
  213. In this new raylib release, multiple parts of the library have been reviewed for consistency and simplification.
  214. It exposes almost 300 functions, around 30 new functions in comparison with previous version and, again,
  215. it sets a stepping stone towards raylib future.
  216. BIG changes:
  217. - More than 30 new functions added to the library, check list below.
  218. - Support of configuration flags on every raylib module, to customize library build.
  219. - Improved build system for all supported platforms with a unique Makefile to compile sources.
  220. - Complete review of examples and sample games, added new sample material.
  221. - Support automatic GIF recording of current window, just pressing Ctrl+F12
  222. - Improved library consistency and organization in general.
  223. other changes:
  224. [core] Added function: SetWindowIcon(), to setup icon by code
  225. [core] Added function: SetWindowMonitor(), to set current display monitor
  226. [core] Added function: SetWindowMinSize(), to set minimum resize size
  227. [core] Added function: TakeScreenshot(), made public to API (also launched internally with F12)
  228. [core] Added function: GetDirectoryPath(), get directory for a given fileName (with path)
  229. [core] Added function: GetWorkingDirectory(), get current working directory
  230. [core] Added function: ChangeDirectory(), change working directory
  231. [core] Added function: TraceLog(), made public to API
  232. [core] Improved timing system to avoid busy wait loop on frame sync: Wait()
  233. [core] Added support for gamepad on HTML5 platform
  234. [core] Support mouse lock, useful for camera system
  235. [core] Review functions description comments
  236. [rlgl] Removed function: GetStandardShader(), removed internal standard shader
  237. [rlgl] Removed function: CreateLight(), removed internal lighting system
  238. [rlgl] Removed function: DestroyLight(), removed internal lighting system
  239. [rlgl] Removed function: InitVrDevice(), removed VR device render, using simulator
  240. [rlgl] Removed function: CloseVrDevice(), removed VR device render, using simulator
  241. [rlgl] Removed function: IsVrDeviceReady(), removed VR device render, using simulator
  242. [rlgl] Removed function: IsVrSimulator(), removed VR device render, using simulator
  243. [rlgl] Added function: InitVrSimulator(), init VR simulator for selected device
  244. [rlgl] Added function: CloseVrSimulator(), close VR simulator for current device
  245. [rlgl] Added function: IsVrSimulatorReady(), detect if VR device is ready
  246. [rlgl] Added function: BeginVrDrawing(), begin VR simulator stereo rendering
  247. [rlgl] Added function: EndVrDrawing(), end VR simulator stereo rendering
  248. [rlgl] Renamed function: ReadTextFile() to LoadText() and exposed to API
  249. [rlgl] Removed internal lighting system and standard shader, moved to example
  250. [rlgl] Removed Oculus Rift support, moved to oculus_rift example
  251. [rlgl] Removed VR device support and replaced by VR simulator
  252. [shapes] Added function: DrawLineEx(), draw line with QUADS, supports custom line thick
  253. [shapes] Added function: DrawLineBezier(), draw a line using cubic-bezier curves in-out
  254. [shapes] Added function: DrawRectanglePro(), draw a color-filled rectangle with pro parameters
  255. [textures] Removed function: LoadImageFromRES(), redesigning custom RRES fileformat
  256. [textures] Removed function: LoadTextureFromRES(), redesigning custom RRES fileformat
  257. [textures] Removed function: LoadTextureEx(), use instead Image -> LoadImagePro(), LoadImageEx()
  258. [textures] Added function: LoadImagePro()), load image from raw data with parameters
  259. [textures] Review TraceLog() message when image file not found
  260. [text] Renamed function: LoadSpriteFontTTF() to LoadSpriteFontEx(), for consistency
  261. [text] Removed rBMF fileformat support, replaced by .png
  262. [text] Refactor SpriteFont struct (better for rres custom fileformat)
  263. [text] Renamed some variables for consistency
  264. [models] Added function: LoadMesh(), load mesh from file
  265. [models] Added function: LoadMeshEx(), load mesh from vertex data
  266. [models] Added function: UnloadMesh(), unload mesh from memory (RAM and/or VRAM)
  267. [models] Added function: GetCollisionRayMesh(), get collision info between ray and mesh
  268. [models] Added function: GetCollisionRayTriangle(), get collision info between ray and triangle
  269. [models] Added function: GetCollisionRayGround(), get collision info between ray and ground plane
  270. [models] Renamed function: LoadModelEx() to LoadModelFromMesh()
  271. [models] Removed function: DrawLight(), removed internal lighting system
  272. [models] Renamed function: LoadModelEx() to LoadModelFromMesh() for consistency
  273. [models] Removed function: LoadStandardMaterial(), removed internal standard shader
  274. [models] Removed function: LoadModelFromRES(), redesigning custom RRES fileformat
  275. [models] Renamed multiple variables for consistency
  276. [audio] Added function: SetMasterVolume(), define listener volume
  277. [audio] Added function: ResumeSound(), resume a paused sound
  278. [audio] Added function: SetMusicLoopCount(), set number of repeats for a music
  279. [audio] Added function: LoadWaveEx(), load wave from raw audio data
  280. [audio] Added function: WaveCrop(), crop wave audio data
  281. [audio] Added function: WaveFormat(), format audio data
  282. [audio] Removed function: LoadSoundFromRES(), redesigning custom RRES fileformat
  283. [audio] Added support for 32bit audio samples
  284. [audio] Preliminary support for multichannel, limited to mono and stereo
  285. [audio] Make sure buffers are ready for update: UpdateMusicStream()
  286. [utils] Replaced function: GetExtension() by IsFileExtension() and made public to API
  287. [utils] Unified function: TraceLog() between Android and other platforms
  288. [utils] Removed internal function: GetNextPOT(), simplified implementation
  289. [raymath] Added function: QuaternionToEuler(), to work with Euler angles
  290. [raymath] Added function: QuaternionFromEuler(), to work with Euler angles
  291. [raymath] Added multiple Vector2 math functions
  292. [build] Integrate Android source building into Makefile
  293. [example] Added example: shapes_lines_bezier
  294. [example] Added example: text_input_box
  295. [github] Moved gh-pages branch to master/docs
  296. [github] Moved rlua.h and Lua examples to own repo: raylib-lua
  297. [games] Reviewed full games collection
  298. [games] New game added to collection: Koala Seasons
  299. [*] Reviewed and improved examples collection (new assets)
  300. [*] Reorganized library functions, structs, enums
  301. [*] Updated STB libraries to latest version
  302. -----------------------------------------------
  303. Release: raylib 1.6.0 (20 November 2016)
  304. -----------------------------------------------
  305. NOTE:
  306. This new raylib version commemorates raylib 3rd anniversary and represents another complete review of the library.
  307. It includes some interesting new features and is a stepping stone towards raylib future.
  308. HUGE changes:
  309. [rlua] Lua BINDING: Complete raylib Lua binding, ALL raylib functions ported to Lua plus the +60 code examples.
  310. [audio] COMPLETE REDESIGN: Improved music support and also raw audio data processing and playing, +20 new functions added.
  311. [physac] COMPLETE REWRITE: Improved performance, functionality and simplified usage, moved to own repository and added multiple examples!
  312. other changes:
  313. [core] Corrected issue on OSX with HighDPI display
  314. [core] Added flag to allow resizable window
  315. [core] Allow no default font loading
  316. [core] Corrected old issue with mouse buttons on web
  317. [core] Improved gamepad support, unified across platforms
  318. [core] Gamepad id functionality: GetGamepadName(), IsGamepadName()
  319. [core] Gamepad buttons/axis checking functionality:
  320. [core] Reviewed Android key inputs system, unified with desktop
  321. [rlgl] Redesigned lighting shader system
  322. [rlgl] Updated standard shader for better performance
  323. [rlgl] Support alpha on framebuffer: rlglLoadRenderTexture()
  324. [rlgl] Reviewed UpdateVrTracking() to update camera
  325. [rlgl] Added IsVrSimulator() to check for VR simulator
  326. [shapes] Corrected issue on DrawPolyEx()
  327. [textures] Simplified supported image formats support
  328. [textures] Improved text drawing within an image: ImageDrawText()
  329. [textures] Support image alpha mixing: ImageAlphaMask()
  330. [textures] Support textures filtering: SetTextureFilter()
  331. [textures] Support textures wrap modes: SetTextureWrap()
  332. [text] Improved TTF spritefont generation: LoadSpriteFontTTF()
  333. [text] Improved AngelCode fonts support (unordered chars)
  334. [text] Added TraceLog info on image spritefont loading
  335. [text] Improved text measurement: MeasureTextEx()
  336. [models] Improved OBJ loading flexibility
  337. [models] Reviewed functions: DrawLine3D(), DrawCircle3D()
  338. [models] Removed function: ResolveCollisionCubicmap()
  339. [camera] Redesigned camera system and ported to header-only
  340. [camera] Removed function: UpdateCameraPlayer()
  341. [gestures] Redesigned gestures module to header-only
  342. [audio] Simplified Music loading and playing system
  343. [audio] Added trace on audio device closing
  344. [audio] Reviewed Wave struct, improved flexibility
  345. [audio] Support sound data update: UpdateSound()
  346. [audio] Added support for FLAC audio loading/streaming
  347. [raygui] Removed raygui from raylib repo (moved to own repo)
  348. [build] Added OpenAL static library
  349. [build] Added Visual Studio 2015 projects
  350. [build] Support shared/dynamic raylib compilation
  351. [*] Updated LibOVR to SDK version 1.8
  352. [*] Updated games to latest raylib version
  353. [*] Improved examples and added new ones
  354. [*] Improved Android support
  355. -----------------------------------------------
  356. Release: raylib 1.5.0 (18 July 2016)
  357. -----------------------------------------------
  358. NOTE:
  359. Probably this new version is the biggest boost of the library ever, lots of parts of the library have been redesigned,
  360. lots of bugs have been solved and some **AMAZING** new features have been added.
  361. HUGE changes:
  362. [rlgl] OCULUS RIFT CV1: Added support for VR, not oly Oculus Rift CV1 but also stereo rendering simulator (multiplatform).
  363. [rlgl] MATERIALS SYSTEM: Added support for Materials (.mtl) and multiple material properties: diffuse, specular, normal.
  364. [rlgl] LIGHTING SYSTEM: Added support for up to 8 lights of 3 different types: Omni, Directional and Spot.
  365. [physac] REDESIGNED: Improved performance and simplified usage, physic objects now are managed internally in a second thread!
  366. [audio] CHIPTUNES: Added support for module audio music (.xm, .mod) loading and playing. Multiple mixing channels supported.
  367. other changes:
  368. [core] Review Android button inputs
  369. [core] Support Android internal data storage
  370. [core] Renamed WorldToScreen() to GetWorldToScreen()
  371. [core] Removed function SetCustomCursor()
  372. [core] Removed functions BeginDrawingEx(), BeginDrawingPro()
  373. [core] Replaced functions InitDisplay() + InitGraphics() with: InitGraphicsDevice()
  374. [core] Added support for field-of-view Y (fovy) on 3d Camera
  375. [core] Added 2D camera mode functions: Begin2dMode() - End2dMode()
  376. [core] Translate mouse inputs to Android touch/gestures internally
  377. [core] Translate mouse inputs as touch inputs in HTML5
  378. [core] Improved function GetKeyPressed() to support multiple keys (including function keys)
  379. [core] Improved gamepad support, specially for RaspberryPi (including multiple gamepads support)
  380. [rlgl] Support stereo rendering simulation (duplicate draw calls by viewport, optimized)
  381. [rlgl] Added distortion shader (embeded) to support custom VR simulator: shader_distortion.h
  382. [rlgl] Added support for OpenGL 2.1 on desktop
  383. [rlgl] Improved 2D vs 3D drawing system (lines, triangles, quads)
  384. [rlgl] Improved DXT-ETC1 support on HTML5
  385. [rlgl] Review function: rlglUnproject()
  386. [rlgl] Removed function: rlglInitGraphics(), integrated into rlglInit()
  387. [rlgl] Updated Mesh and Shader structs
  388. [rlgl] Simplified internal (default) dynamic buffers
  389. [rlgl] Added support for indexed and dynamic mesh data
  390. [rlgl] Set fixed vertex attribs location points
  391. [rlgl] Improved mesh data loading support
  392. [rlgl] Added standard shader (embeded) to support materials and lighting: shader_standard.h
  393. [rlgl] Added light functions: CreateLight(), DestroyLight()
  394. [rlgl] Added wire mode functions: rlDisableWireMode(), rlEnableWireMode()
  395. [rlgl] Review function consistency, added: rlglLoadMesh(), rlglUpdateMesh(), rlglDrawMesh(), rlglUnloadMesh()
  396. [rlgl] Replaced SetCustomShader() by: BeginShaderMode() - EndShaderMode()
  397. [rlgl] Replaced SetBlendMode() by: BeginBlendMode() - EndBlendMode()
  398. [rlgl] Added functions to customize internal matrices: SetMatrixProjection(), SetMatrixModelview()
  399. [rlgl] Unified internal shaders to only one default shader
  400. [rlgl] Added support for render to texture (RenderTexture2D):
  401. LoadRenderTexture() - UnloadRenderTexture()
  402. BeginTextureMode() - EndTextureMode()
  403. [rlgl] Removed SetShaderMap*() functions
  404. [rlgl] Redesigned default buffers usage functions:
  405. LoadDefaultBuffers() - UnloadDefaultBuffers()
  406. UpdateDefaultBuffers() - DrawDefaultBuffers()
  407. [shapes] Corrected bug on GetCollisionRec()
  408. [textures] Added support for Nearest-Neighbor image scaling
  409. [textures] Added functions to draw text on image: ImageDrawText(), ImageDrawTextEx()
  410. [text] Reorganized internal functions: Added LoadImageFont()
  411. [text] Security check for unsupported BMFonts
  412. [models] Split mesh creation from model loading on heightmap and cubicmap
  413. [models] Updated BoundingBox collision detections
  414. [models] Added color parameter to DrawBoundigBox()
  415. [models] Removed function: DrawQuad()
  416. [models] Removed function: SetModelTexture()
  417. [models] Redesigned DrawPlane() to use RL_TRIANGLES
  418. [models] Redesigned DrawRectangleV() to use RL_TRIANGLES
  419. [models] Redesign to accomodate new materials system: LoadMaterial()
  420. [models] Added material functions: LoadDefaultMaterial(), LoadStandardMaterial()
  421. [models] Added MTL material loading support: LoadMTL()
  422. [models] Added function: DrawLight()
  423. [audio] Renamed SoundIsPlaying() to IsSoundPlaying()
  424. [audio] Renamed MusicIsPlaying() to IsMusicPlaying()
  425. [audio] Support multiple Music streams (indexed)
  426. [audio] Support multiple mixing channels
  427. [gestures] Improved and reviewed gestures system
  428. [raymath] Added QuaternionInvert()
  429. [raymath] Removed function: PrintMatrix()
  430. [raygui] Ported to header-only library (https://github.com/raysan5/raygui)
  431. [shaders] Added depth drawing shader (requires a depth texture)
  432. [shaders] Reviewed included shaders and added comments
  433. [OpenAL Soft] Updated to latest version (1.17.2)
  434. [GLFW3] Updated to latest version (3.2)
  435. [stb] Updated to latest headers versions
  436. [GLAD] Converted to header only library and simplified to only used extensions
  437. [*] Reorganize library folders: external libs moved to src/external folder
  438. [*] Reorganize src folder for Android library
  439. [*] Review external dependencies usage
  440. [*] Improved Linux and OSX build systems
  441. [*] Lots of tweaks and bugs corrected all around
  442. -----------------------------------------------
  443. Release: raylib 1.4.0 (22 February 2016)
  444. -----------------------------------------------
  445. NOTE:
  446. This version supposed another big improvement for raylib, including new modules and new features.
  447. More than 30 new functions have been added to previous raylib version.
  448. Around 8 new examples and +10 new game samples have been added.
  449. BIG changes:
  450. [textures] IMAGE MANIPULATION: Functions to crop, resize, colorize, flip, dither and even draw image-to-image or text-to-image.
  451. [text] SPRITEFONT SUPPORT: Added support for AngelCode fonts (.fnt) and TrueType fonts (.ttf).
  452. [gestures] REDESIGN: Gestures system simplified and prepared to process generic touch events, including mouse events (multiplatform).
  453. [physac] NEW MODULE: Basic 2D physics support, use colliders and rigidbodies; apply forces to physic objects.
  454. other changes:
  455. [rlgl] Removed GLEW library dependency, now using GLAD
  456. [rlgl] Implemented alternative to glGetTexImage() on OpenGL ES
  457. [rlgl] Using depth data on batch drawing
  458. [rlgl] Reviewed glReadPixels() function
  459. [core][rlgl] Reviewed raycast system, now 3D picking works
  460. [core] Android: Reviewed Android App cycle, paused if inactive
  461. [shaders] Implemented Blinn-Phong lighting shading model
  462. [textures] Implemented Floyd-Steinberg dithering - ImageDither()
  463. [text] Added line-break support to DrawText()
  464. [text] Added TrueType Fonts support (using stb_truetype)
  465. [models] Implement function: CalculateBoundingBox(Mesh mesh)
  466. [models] Added functions to check Ray collisions
  467. [models] Improve map resolution control on LoadHeightmap()
  468. [camera] Corrected small-glitch on zoom-in with mouse-wheel
  469. [gestures] Implemented SetGesturesEnabled() to enable only some gestures
  470. [gestures] Implemented GetElapsedTime() on Windows system
  471. [gestures] Support mouse gestures for desktop platforms
  472. [raymath] Complete review of the module and converted to header-only
  473. [easings] Added new module for easing animations
  474. [stb] Updated to latest headers versions
  475. [*] Lots of tweaks around
  476. -----------------------------------------------
  477. Release: raylib 1.3.0 (01 September 2015)
  478. -----------------------------------------------
  479. NOTE:
  480. This version supposed a big boost for raylib, new modules have been added with lots of features.
  481. Most of the modules have been completely reviewed to accomodate to the new features.
  482. Over 50 new functions have been added to previous raylib version.
  483. Most of the examples have been redone and +10 new advanced examples have been added.
  484. BIG changes:
  485. [rlgl] SHADERS: Support for model shaders and postprocessing shaders (multiple functions)
  486. [textures] FORMATS: Support for multiple internal formats, including compressed formats
  487. [camera] NEW MODULE: Set of cameras for 3d view: Free, Orbital, 1st person, 3rd person
  488. [gestures] NEW MODULE: Gestures system for Android and HTML5 platforms
  489. [raygui] NEW MODULE: Set of IMGUI elements for tools development (experimental)
  490. other changes:
  491. [rlgl] Added check for OpenGL supported extensions
  492. [rlgl] Added function SetBlenMode() to select some predefined blending modes
  493. [core] Added support for drop&drag of external files into running program
  494. [core] Added functions ShowCursor(), HideCursor(), IsCursorHidden()
  495. [core] Renamed function SetFlags() to SetConfigFlags()
  496. [shapes] Simplified some functions to improve performance
  497. [textures] Review of Image struct to support multiple data formats
  498. [textures] Added function LoadImageEx()
  499. [textures] Added function LoadImageRaw()
  500. [textures] Added function LoadTextureEx()
  501. [textures] Simplified function parameters LoadTextureFromImage()
  502. [textures] Added function GetImageData()
  503. [textures] Added function GetTextureData()
  504. [textures] Renamed function ConvertToPOT() to ImageConvertToPOT()
  505. [textures] Added function ImageConvertFormat()
  506. [textures] Added function GenTextureMipmaps()
  507. [text] Added support for Latin-1 Extended characters for default font
  508. [text] Redesigned SpriteFont struct, replaced Character struct by Rectangle
  509. [text] Removed function GetFontBaseSize(), use directly spriteFont.size
  510. [models] Review of struct: Model (added shaders support)
  511. [models] Added 3d collision functions (sphere vs sphere vs box vs box)
  512. [models] Added function DrawCubeTexture()
  513. [models] Added function DrawQuad()
  514. [models] Added function DrawRay()
  515. [models] Simplified funtion DrawPlane()
  516. [models] Removed function DrawPlaneEx()
  517. [models] Simplified funtion DrawGizmo()
  518. [models] Removed function DrawGizmoEx()
  519. [models] Added function LoadModelEx()
  520. [models] Review of function LoadCubicMap()
  521. [models] Added function ResolveCollisionCubicmap()
  522. [audio] Decopupled from raylib, now this module can be used as standalone
  523. [audio] Added function UpdateMusicStream()
  524. [raymath] Complete review of the module
  525. [stb] Updated to latest headers versions
  526. [*] Lots of tweaks around
  527. -----------------------------------------------
  528. Release: raylib 1.2.2 (31 December 2014)
  529. -----------------------------------------------
  530. [*] Added support for HTML5 compiling (emscripten, asm.js)
  531. [core] Corrected bug on input handling (keyboard and mouse)
  532. [textures] Renamed function CreateTexture() to LoadTextureFromImage()
  533. [textures] Added function ConvertToPOT()
  534. [rlgl] Added support for color tint on models on GL 3.3+ and ES2
  535. [rlgl] Added support for normals on models
  536. [models] Corrected bug on DrawBillboard()
  537. [models] Corrected bug on DrawHeightmap()
  538. [models] Renamed LoadCubesmap() to LoadCubicmap()
  539. [audio] Added function LoadSoundFromWave()
  540. [makefile] Added support for Linux and OSX compiling
  541. [stb] Updated to latest headers versions
  542. [*] Lots of tweaks around
  543. ---------------------------------------------------------------
  544. Update: raylib 1.2.1 (17 October 2014) (Small Fixes Update)
  545. ---------------------------------------------------------------
  546. [core] Added function SetupFlags() to preconfigure raylib Window
  547. [core] Corrected bug on fullscreen mode
  548. [rlgl] rlglDrawmodel() - Added rotation on Y axis
  549. [text] MeasureTextEx() - Corrected bug on measures for default font
  550. -----------------------------------------------
  551. Release: raylib 1.2 (16 September 2014)
  552. -----------------------------------------------
  553. NOTE:
  554. This version supposed a complete redesign of the [core] module to support Android and Raspberry Pi.
  555. Multiples modules have also been tweaked to accomodate to the new platforms, specially [rlgl]
  556. [core] Added multiple platforms support: Android and Raspberry Pi
  557. [core] InitWindow() - Complete rewrite and split for Android
  558. [core] InitDisplay() - Internal function added to calculate proper display size
  559. [core] InitGraphics() - Internal function where OpenGL graphics are initialized
  560. [core] Complete refactoring of input functions to accomodate to new platforms
  561. [core] Mouse and Keyboard raw data reading functions added for Raspberry Pi
  562. [core] GetTouchX(), GetTouchY() - Added for Android
  563. [core] Added Android callbacks to process inputs and Android activity commands
  564. [rlgl] Adjusted buffers depending on platform
  565. [rlgl] Added security check in case deployed vertex excess buffer size
  566. [rlgl] Adjusted indices type depending on GL version (int or short)
  567. [rlgl] Fallback to VBOs only usage if VAOs not supported on ES2
  568. [rlgl] rlglLoadModel() stores vbo ids on new Model struct
  569. [textures] Added support for PKM files (ETC1, ETC2 compression support)
  570. [shapes] DrawRectangleV() - Modified, depending on OGL version uses TRIANGLES or QUADS
  571. [text] LoadSpriteFont() - Modified to use LoadImage()
  572. [models] Minor changes on models loading to accomodate to new Model struct
  573. [audio] PauseMusicStream(), ResumeMusicStream() - Added
  574. [audio] Reduced music buffer size to avoid stalls on Raspberry Pi
  575. [src] Added makefile for Windows and RPI
  576. [src] Added resources file (raylib icon and executable info)
  577. [examples] Added makefile for Windows and RPI
  578. [examples] Renamed and merged with test examples for coherence with module names
  579. [templates] Added multiple templates to be use as a base-code for games
  580. -----------------------------------------------
  581. Release: raylib 1.1.1 (22 July 2014)
  582. -----------------------------------------------
  583. [core] ShowLogo() - To enable raylib logo animation at startup
  584. [core] Corrected bug with window resizing
  585. [rlgl] Redefined colors arrays to use byte instead of float
  586. [rlgl] Removed double buffer system (no performance improvement)
  587. [rlgl] rlglDraw() - Reorganized buffers drawing order
  588. [rlgl] Corrected bug on screen resizing
  589. [shapes] DrawRectangle() - Use QUADS instead of TRIANGLES
  590. [models] DrawSphereWires() - Corrected some issues
  591. [models] LoadOBJ() - Redesigned to support multiple meshes
  592. [models] LoadCubesMap() - Loading a map as cubes (by pixel color)
  593. [textures] Added security check if file doesn't exist
  594. [text] Corrected bug on SpriteFont loading
  595. [examples] Corrected some 3d examples
  596. [test] Added cubesmap loading test
  597. -----------------------------------------------
  598. Release: raylib 1.1.0 (19 April 2014)
  599. -----------------------------------------------
  600. NOTE:
  601. This version supposed a complete internal redesign of the library to support OpenGL 3.3+ and OpenGL ES 2.0.
  602. New module [rlgl] has been added to 'translate' immediate mode style functions (i.e. rlVertex3f()) to GL 1.1, 3.3+ or ES2.
  603. Another new module [raymath] has also been added with lot of useful 3D math vector-matrix-quaternion functions.
  604. [rlgl] New module, abstracts OpenGL rendering (multiple versions support)
  605. [raymath] New module, useful 3D math vector-matrix-quaternion functions
  606. [core] Adapt all OpenGL code (initialization, drawing) to use [rlgl]
  607. [shapes] Rewrite all shapes drawing functions to use [rlgl]
  608. [textures] Adapt texture GPU loading to use [rlgl]
  609. [textures] Added support for DDS images (compressed and uncompressed)
  610. [textures] CreateTexture() - Redesigned to add mipmap automatic generation
  611. [textures] DrawTexturePro() - Redesigned and corrected bugs
  612. [models] Rewrite all 3d-shapes drawing functions to use [rlgl]
  613. [models] Adapt model loading and drawing to use [rlgl]
  614. [models] Model struct updated to include texture id
  615. [models] SetModelTexture() - Added, link a texture to a model
  616. [models] DrawModelEx() - Redesigned with extended parameters
  617. [audio] Added music streaming support (OGG files)
  618. [audio] Added support for OGG files as Sound
  619. [audio] PlayMusicStream() - Added, open a new music stream and play it
  620. [audio] StopMusicStream() - Added, stop music stream playing and close stream
  621. [audio] PauseMusicStream() - Added, pause music stream playing
  622. [audio] MusicIsPlaying() - Added, to check if music is playing
  623. [audio] SetMusicVolume() - Added, set volume for music
  624. [audio] GetMusicTimeLength() - Added, get current music time length (in seconds)
  625. [audio] GetMusicTimePlayed() - Added, get current music time played (in seconds)
  626. [utils] Added log tracing functionality - TraceLog(), TraceLogOpen(), TraceLogClose()
  627. [*] Log tracing messages all around the code
  628. -----------------------------------------------
  629. Release: raylib 1.0.6 (16 March 2014)
  630. -----------------------------------------------
  631. [core] Removed unused lighting-system code
  632. [core] Removed SetPerspective() function, calculated directly
  633. [core] Unload and reload default font on fullscreen toggle
  634. [core] Corrected bug gamepad buttons checking if no gamepad available
  635. [texture] DrawTextureV() - Added, to draw using Vector2 for position
  636. [texture] LoadTexture() - Redesigned, now uses LoadImage() + CreateTexture()
  637. [text] FormatText() - Corrected memory leak bug
  638. [models] Added Matrix struct and related functions
  639. [models] DrawBillboard() - Reviewed, now it works!
  640. [models] DrawBillboardRec() - Reviewed, now it works!
  641. [tests] Added folder with multiple tests for new functions
  642. -----------------------------------------------
  643. Update: raylib 1.0.5 (28 January 2014)
  644. -----------------------------------------------
  645. [audio] LoadSound() - Corrected a bug, WAV file was not closed!
  646. [core] GetMouseWheelMove() - Added, check mouse wheel Y movement
  647. [texture] CreateTexture2D() renamed to CreateTexture()
  648. [models] LoadHeightmap() - Added, Heightmap can be loaded as a Model
  649. [tool] rREM updated, now supports (partially) drag and drop of files
  650. -----------------------------------------------
  651. Release: raylib 1.0.4 (23 January 2014)
  652. -----------------------------------------------
  653. [tool] Published a first alpha version of rREM tool (raylib Resource Embedder)
  654. [core] GetRandomValue() - Bug corrected, now works right
  655. [core] Fade() - Added, fades a color to an alpha percentadge
  656. [core] WriteBitmap() - Moved to new module: utils.c, not used anymore
  657. [core] TakeScreenshot() - Now uses WritePNG() (utils.c)
  658. [utils] New module created with utility functions
  659. [utils] WritePNG() - Write a PNG file (used by TakeScreenshot() on core)
  660. [utils] DecompressData() - Added, used for rRES resource data decompresion
  661. [textures] LoadImageFromRES() - Added, load an image from a rRES resource file
  662. [textures] LoadTextureFromRES() - Added, load a texture from a rRES resource file
  663. [audio] LoadSoundFromRES() - Added, load a sound from a rRES resource file
  664. [audio] IsPlaying() - Added, check if a sound is currently playing
  665. [audio] SetVolume() - Added, set the volume for a sound
  666. [audio] SetPitch() - Added, set the pitch for a sound
  667. [examples] ex06a_color_select completed
  668. [examples] ex06b_logo_anim completed
  669. [examples] ex06c_font select completed
  670. -----------------------------------------------
  671. Release: raylib 1.0.3 (19 December 2013)
  672. -----------------------------------------------
  673. [fonts] Added 8 rBMF free fonts to be used on projects!
  674. [text] LoadSpriteFont() - Now supports rBMF file loading (raylib Bitmap Font)
  675. [examples] ex05a_sprite_fonts completed
  676. [examples] ex05b_rbmf_fonts completed
  677. [core] InitWindowEx() - InitWindow with extended parameters, resizing option and custom cursor!
  678. [core] GetRandomValue() - Added, returns a random value within a range (int)
  679. [core] SetExitKey() - Added, sets a key to exit program (default is ESC)
  680. [core] Custom cursor not drawn when mouse out of screen
  681. [shapes] CheckCollisionPointRec() - Added, check collision between point and rectangle
  682. [shapes] CheckCollisionPointCircle() - Added, check collision between point and circle
  683. [shapes] CheckCollisionPointTriangle() - Added, check collision between point and triangle
  684. [shapes] DrawPoly() - Added, draw regular polygons of n sides, rotation can be defined!
  685. -----------------------------------------------
  686. Release: raylib 1.0.2 (1 December 2013)
  687. -----------------------------------------------
  688. [text] GetDefaultFont() - Added, get default SpriteFont to be used on DrawTextEx()
  689. [shapes] CheckCollisionRecs() - Added, check collision between rectangles
  690. [shapes] CheckCollisionCircles() - Added, check collision between circles
  691. [shapes] CheckCollisionCircleRec() - Added, check collision circle-rectangle
  692. [shapes] GetCollisionRec() - Added, get collision rectangle
  693. [textures] CreateTexture2D() - Added, create Texture2D from Image data
  694. [audio] Fixed WAV loading function, now audio works!
  695. -----------------------------------------------
  696. Update: raylib 1.0.1 (28 November 2013)
  697. -----------------------------------------------
  698. [text] DrawText() - Removed spacing parameter
  699. [text] MeasureText() - Removed spacing parameter
  700. [text] DrawFps() - Renamed to DrawFPS() for coherence with similar function
  701. [core] IsKeyPressed() - Change functionality, check if key pressed once
  702. [core] IsKeyDown() - Added, check if key is being pressed
  703. [core] IsKeyReleased() - Change functionality, check if key released once
  704. [core] IsKeyUp() - Added, check if key is being NOT pressed
  705. [core] IsMouseButtonDown() - Added, check if mouse button is being pressed
  706. [core] IsMouseButtonPressed() - Change functionality, check if mouse button pressed once
  707. [core] IsMouseButtonUp() - Added, check if mouse button is NOT being pressed
  708. [core] IsMouseButtonReleased() - Change functionality, check if mouse button released once
  709. [textures] DrawTexturePro() - Added, texture drawing with 'pro' parameters
  710. [examples] Function changes applied to ALL examples
  711. -----------------------------------------------
  712. Release: raylib 1.0.0 (18 November 2013)
  713. -----------------------------------------------
  714. * Initial version
  715. * 6 Modules provided:
  716. - core: basic window/context creation functions, input management, timing functions
  717. - shapes: basic shapes drawing functions
  718. - textures: image data loading and conversion to OpenGL textures
  719. - text: text drawing, sprite fonts loading, default font loading
  720. - models: basic 3d shapes drawing, OBJ models loading and drawing
  721. - audio: audio device initialization, WAV files loading and playing