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

640 行
36 KiB

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