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.

738 lines
41 KiB

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