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.

392 lines
21 KiB

11 years ago
11 years ago
9 years ago
9 years ago
9 years ago
9 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.5.0 (23 June 2016)
  4. NOTE: Only versions marked as 'Release' are available in installer, updates are only available as source.
  5. NOTE: Current Release includes all previous updates.
  6. -----------------------------------------------
  7. Release: raylib 1.5.0 (23 June 2016)
  8. -----------------------------------------------
  9. NOTE:
  10. Probably this new version is the biggest boost of the library ever, lots of parts of the library have been redesigned,
  11. lots of bugs have been solved and some **AMAZING** new features have been added.
  12. HUGE changes:
  13. [core] OCULUS RIFT CV1: Added support for VR witha bunch of Oculus-specific functions to init/close device and Oculus rendering.
  14. [rlgl] MATERIALS SYSTEM: Added support for Materials (.mtl) and multiple material properties: diffuse, specular, normal.
  15. [rlgl] LIGHTING SYSTEM: Added support for up to 8 lights of 3 different types: Omni, Directional and Spot
  16. [physac] REDESIGNED: Improved performance and simplified usage, physic objects are managed internally
  17. [audio] CHIPTUNES: Added support for module audio music (.xm, .mod) loading and playing
  18. other changes:
  19. [core] Review Android button inputs
  20. [core] Support Android internal data storage
  21. [core] Renamed WorldToScreen() to GetWorldToScreen()
  22. [core] Removed function SetCustomCursor()
  23. [core] Removed functions BeginDrawingEx(), BeginDrawingPro()
  24. [core] Added support for field-of-view Y (fovy) on 3d Camera
  25. [core] Added 2D camera mode functions: Begin2dMode() - End2dMode()
  26. [core] Translate mouse inputs to Android touch/gestures internally
  27. [core] Translate mouse inputs as touch inputs in HTML5
  28. [core] Improved function GetKeyPressed() to support multiple keys (including function keys)
  29. [core] Improved gamepad support, specially for RaspberryPi (including multiple gamepads support)
  30. [rlgl] Improved 2D vs 3D drawing system (lines, triangles, quads)
  31. [rlgl] Improved DXT-ETC1 support on HTML5
  32. [rlgl] Review function: rlglUnproject()
  33. [rlgl] Updated Mesh and Shader structs
  34. [rlgl] Simplified internal (default) dynamic buffers
  35. [rlgl] Added support for indexed and dynamic mesh data
  36. [rlgl] Set fixed vertex attribs location points
  37. [rlgl] Improved mesh data loading support
  38. [rlgl] Added standard shader (embeded) to support materials and lighting: standard_shader.h
  39. [rlgl] Added light functions: CreateLight(), DestroyLight()
  40. [rlgl] Added wire mode functions: rlDisableWireMode(), rlEnableWireMode()
  41. [rlgl] Review function consistency, added: rlglLoadMesh(), rlglUpdateMesh(), rlglDrawMesh(), rlglUnloadMesh()
  42. [rlgl] Replaced SetCustomShader() by: BeginShaderMode() - EndShaderMode()
  43. [rlgl] Replaced SetBlendMode() by: BeginBlendMode() - EndBlendMode()
  44. [rlgl] Added functions to customize internal matrices: SetMatrixProjection(), SetMatrixModelview()
  45. [rlgl] Unified internal shaders to only one default shader
  46. [rlgl] Added support for render to texture (RenderTexture2D):
  47. LoadRenderTexture() - UnloadRenderTexture()
  48. BeginTextureMode() - EndTextureMode()
  49. [rlgl] Removed SetShaderMap*() functions
  50. [rlgl] Redesigned default buffers usage functions:
  51. LoadDefaultBuffers() - UnloadDefaultBuffers()
  52. UpdateDefaultBuffers() - DrawDefaultBuffers()
  53. [shapes] Corrected bug on GetCollisionRec()
  54. [textures] Added support for Nearest-Neighbor image scaling
  55. [textures] Added functions to draw text on image: ImageDrawText(), ImageDrawTextEx()
  56. [text] Reorganized internal functions: Added LoadImageFont()
  57. [text] Security check for unsupported BMFonts
  58. [models] Split mesh creation from model loading on heightmap and cubicmap
  59. [models] Updated BoundingBox collision detections
  60. [models] Added color parameter to DrawBoundigBox()
  61. [models] Removed function: DrawQuad()
  62. [models] Redesigned DrawPlane() to use RL_TRIANGLES
  63. [models] Redesigned DrawRectangleV() to use RL_TRIANGLES
  64. [models] Redesign to accomodate new materials system: LoadMaterial()
  65. [models] Added material functions: LoadDefaultMaterial(), LoadStandardMaterial()
  66. [models] Added MTL material loading support: LoadMTL()
  67. [models] Added function: DrawLight()
  68. [audio] Renamed SoundIsPlaying() to IsSoundPlaying()
  69. [audio] Renamed MusicIsPlaying() to IsMusicPlaying()
  70. [audio] Support multiple Music streams (indexed)
  71. [gestures] Improved and reviewed gestures system
  72. [raymath] Added QuaternionInvert()
  73. [raymath] Removed function: PrintMatrix()
  74. [raygui] Ported to header-only library
  75. [shaders] Added depth drawing shader (requires a depth texture)
  76. [shaders] Reviewed included shaders and added comments
  77. [OpenAL Soft] Updated to latest version (1.17.2)
  78. [GLFW3] Updated to latest version (3.2)
  79. [GLAD] Converted to header only library
  80. [stb] Updated to latest headers versions
  81. [*] Reorganize library folders: external libs moved to src/external folder
  82. [*] Reorganize src folder for Android library
  83. [*] Review external dependencies usage
  84. [*] Improved Linux and OSX build systems
  85. [*] Lots of tweaks and bugs corrected all around
  86. -----------------------------------------------
  87. Release: raylib 1.4.0 (22 February 2016)
  88. -----------------------------------------------
  89. NOTE:
  90. This version supposed another big improvement for raylib, including new modules and new features.
  91. More than 30 new functions have been added to previous raylib version.
  92. Around 8 new examples and +10 new game samples have been added.
  93. BIG changes:
  94. [textures] IMAGE MANIPULATION: Functions to crop, resize, colorize, flip, dither and even draw image-to-image or text-to-image.
  95. [text] SPRITEFONT SUPPORT: Added support for AngelCode fonts (.fnt) and TrueType fonts (.ttf).
  96. [gestures] REDESIGN: Gestures system simplified and prepared to process generic touch events, including mouse events (multiplatform).
  97. [physac] NEW MODULE: Basic 2D physics support, use colliders and rigidbodies; apply forces to physic objects.
  98. other changes:
  99. [rlgl] Removed GLEW library dependency, now using GLAD
  100. [rlgl] Implemented alternative to glGetTexImage() on OpenGL ES
  101. [rlgl] Using depth data on batch drawing
  102. [rlgl] Reviewed glReadPixels() function
  103. [core][rlgl] Reviewed raycast system, now 3D picking works
  104. [core] Android: Reviewed Android App cycle, paused if inactive
  105. [shaders] Implemented Blinn-Phong lighting shading model
  106. [textures] Implemented Floyd-Steinberg dithering - ImageDither()
  107. [text] Added line-break support to DrawText()
  108. [text] Added TrueType Fonts support (using stb_truetype)
  109. [models] Implement function: CalculateBoundingBox(Mesh mesh)
  110. [models] Added functions to check Ray collisions
  111. [models] Improve map resolution control on LoadHeightmap()
  112. [camera] Corrected small-glitch on zoom-in with mouse-wheel
  113. [gestures] Implemented SetGesturesEnabled() to enable only some gestures
  114. [gestures] Implemented GetElapsedTime() on Windows system
  115. [gestures] Support mouse gestures for desktop platforms
  116. [raymath] Complete review of the module and converted to header-only
  117. [easings] Added new module for easing animations
  118. [stb] Updated to latest headers versions
  119. [*] Lots of tweaks around
  120. -----------------------------------------------
  121. Release: raylib 1.3.0 (01 September 2015)
  122. -----------------------------------------------
  123. NOTE:
  124. This version supposed a big boost for raylib, new modules have been added with lots of features.
  125. Most of the modules have been completely reviewed to accomodate to the new features.
  126. Over 50 new functions have been added to previous raylib version.
  127. Most of the examples have been redone and +10 new advanced examples have been added.
  128. BIG changes:
  129. [rlgl] SHADERS: Support for model shaders and postprocessing shaders (multiple functions)
  130. [textures] FORMATS: Support for multiple internal formats, including compressed formats
  131. [camera] NEW MODULE: Set of cameras for 3d view: Free, Orbital, 1st person, 3rd person
  132. [gestures] NEW MODULE: Gestures system for Android and HTML5 platforms
  133. [raygui] NEW MODULE: Set of IMGUI elements for tools development (experimental)
  134. smaller changes:
  135. [rlgl] Added check for OpenGL supported extensions
  136. [rlgl] Added function SetBlenMode() to select some predefined blending modes
  137. [core] Added support for drop&drag of external files into running program
  138. [core] Added functions ShowCursor(), HideCursor(), IsCursorHidden()
  139. [core] Renamed function SetFlags() to SetConfigFlags()
  140. [shapes] Simplified some functions to improve performance
  141. [textures] Review of Image struct to support multiple data formats
  142. [textures] Added function LoadImageEx()
  143. [textures] Added function LoadImageRaw()
  144. [textures] Added function LoadTextureEx()
  145. [textures] Simplified function parameters LoadTextureFromImage()
  146. [textures] Added function GetImageData()
  147. [textures] Added function GetTextureData()
  148. [textures] Renamed function ConvertToPOT() to ImageConvertToPOT()
  149. [textures] Added function ImageConvertFormat()
  150. [textures] Added function GenTextureMipmaps()
  151. [text] Added support for Latin-1 Extended characters for default font
  152. [text] Redesigned SpriteFont struct, replaced Character struct by Rectangle
  153. [text] Removed function GetFontBaseSize(), use directly spriteFont.size
  154. [models] Review of struct: Model (added shaders support)
  155. [models] Added 3d collision functions (sphere vs sphere vs box vs box)
  156. [models] Added function DrawCubeTexture()
  157. [models] Added function DrawQuad()
  158. [models] Added function DrawRay()
  159. [models] Simplified funtion DrawPlane()
  160. [models] Removed function DrawPlaneEx()
  161. [models] Simplified funtion DrawGizmo()
  162. [models] Removed function DrawGizmoEx()
  163. [models] Added function LoadModelEx()
  164. [models] Review of function LoadCubicMap()
  165. [models] Added function ResolveCollisionCubicmap()
  166. [audio] Decopupled from raylib, now this module can be used as standalone
  167. [audio] Added function UpdateMusicStream()
  168. [raymath] Complete review of the module
  169. [stb] Updated to latest headers versions
  170. [*] Lots of tweaks around
  171. -----------------------------------------------
  172. Release: raylib 1.2.2 (31 December 2014)
  173. -----------------------------------------------
  174. [*] Added support for HTML5 compiling (emscripten, asm.js)
  175. [core] Corrected bug on input handling (keyboard and mouse)
  176. [textures] Renamed function CreateTexture() to LoadTextureFromImage()
  177. [textures] Added function ConvertToPOT()
  178. [rlgl] Added support for color tint on models on GL 3.3+ and ES2
  179. [rlgl] Added support for normals on models
  180. [models] Corrected bug on DrawBillboard()
  181. [models] Corrected bug on DrawHeightmap()
  182. [models] Renamed LoadCubesmap() to LoadCubicmap()
  183. [audio] Added function LoadSoundFromWave()
  184. [makefile] Added support for Linux and OSX compiling
  185. [stb] Updated to latest headers versions
  186. [*] Lots of tweaks around
  187. ---------------------------------------------------------------
  188. Update: raylib 1.2.1 (17 October 2014) (Small Fixes Update)
  189. ---------------------------------------------------------------
  190. [core] Added function SetupFlags() to preconfigure raylib Window
  191. [core] Corrected bug on fullscreen mode
  192. [rlgl] rlglDrawmodel() - Added rotation on Y axis
  193. [text] MeasureTextEx() - Corrected bug on measures for default font
  194. -----------------------------------------------
  195. Release: raylib 1.2 (16 September 2014)
  196. -----------------------------------------------
  197. NOTE:
  198. This version supposed a complete redesign of the [core] module to support Android and Raspberry Pi.
  199. Multiples modules have also been tweaked to accomodate to the new platforms, specially [rlgl]
  200. [core] Added multiple platforms support: Android and Raspberry Pi
  201. [core] InitWindow() - Complete rewrite and split for Android
  202. [core] InitDisplay() - Internal function added to calculate proper display size
  203. [core] InitGraphics() - Internal function where OpenGL graphics are initialized
  204. [core] Complete refactoring of input functions to accomodate to new platforms
  205. [core] Mouse and Keyboard raw data reading functions added for Raspberry Pi
  206. [core] GetTouchX(), GetTouchY() - Added for Android
  207. [core] Added Android callbacks to process inputs and Android activity commands
  208. [rlgl] Adjusted buffers depending on platform
  209. [rlgl] Added security check in case deployed vertex excess buffer size
  210. [rlgl] Adjusted indices type depending on GL version (int or short)
  211. [rlgl] Fallback to VBOs only usage if VAOs not supported on ES2
  212. [rlgl] rlglLoadModel() stores vbo ids on new Model struct
  213. [textures] Added support for PKM files (ETC1, ETC2 compression support)
  214. [shapes] DrawRectangleV() - Modified, depending on OGL version uses TRIANGLES or QUADS
  215. [text] LoadSpriteFont() - Modified to use LoadImage()
  216. [models] Minor changes on models loading to accomodate to new Model struct
  217. [audio] PauseMusicStream(), ResumeMusicStream() - Added
  218. [audio] Reduced music buffer size to avoid stalls on Raspberry Pi
  219. [src] Added makefile for Windows and RPI
  220. [src] Added resources file (raylib icon and executable info)
  221. [examples] Added makefile for Windows and RPI
  222. [examples] Renamed and merged with test examples for coherence with module names
  223. [templates] Added multiple templates to be use as a base-code for games
  224. -----------------------------------------------
  225. Release: raylib 1.1.1 (22 July 2014)
  226. -----------------------------------------------
  227. [core] ShowLogo() - To enable raylib logo animation at startup
  228. [core] Corrected bug with window resizing
  229. [rlgl] Redefined colors arrays to use byte instead of float
  230. [rlgl] Removed double buffer system (no performance improvement)
  231. [rlgl] rlglDraw() - Reorganized buffers drawing order
  232. [rlgl] Corrected bug on screen resizing
  233. [shapes] DrawRectangle() - Use QUADS instead of TRIANGLES
  234. [models] DrawSphereWires() - Corrected some issues
  235. [models] LoadOBJ() - Redesigned to support multiple meshes
  236. [models] LoadCubesMap() - Loading a map as cubes (by pixel color)
  237. [textures] Added security check if file doesn't exist
  238. [text] Corrected bug on SpriteFont loading
  239. [examples] Corrected some 3d examples
  240. [test] Added cubesmap loading test
  241. -----------------------------------------------
  242. Release: raylib 1.1.0 (19 April 2014)
  243. -----------------------------------------------
  244. NOTE:
  245. This version supposed a complete internal redesign of the library to support OpenGL 3.3+ and OpenGL ES 2.0.
  246. New module [rlgl] has been added to 'translate' immediate mode style functions (i.e. rlVertex3f()) to GL 1.1, 3.3+ or ES2.
  247. Another new module [raymath] has also been added with lot of useful 3D math vector-matrix-quaternion functions.
  248. [rlgl] New module, abstracts OpenGL rendering (multiple versions support)
  249. [raymath] New module, useful 3D math vector-matrix-quaternion functions
  250. [core] Adapt all OpenGL code (initialization, drawing) to use [rlgl]
  251. [shapes] Rewrite all shapes drawing functions to use [rlgl]
  252. [textures] Adapt texture GPU loading to use [rlgl]
  253. [textures] Added support for DDS images (compressed and uncompressed)
  254. [textures] CreateTexture() - Redesigned to add mipmap automatic generation
  255. [textures] DrawTexturePro() - Redesigned and corrected bugs
  256. [models] Rewrite all 3d-shapes drawing functions to use [rlgl]
  257. [models] Adapt model loading and drawing to use [rlgl]
  258. [models] Model struct updated to include texture id
  259. [models] SetModelTexture() - Added, link a texture to a model
  260. [models] DrawModelEx() - Redesigned with extended parameters
  261. [audio] Added music streaming support (OGG files)
  262. [audio] Added support for OGG files as Sound
  263. [audio] PlayMusicStream() - Added, open a new music stream and play it
  264. [audio] StopMusicStream() - Added, stop music stream playing and close stream
  265. [audio] PauseMusicStream() - Added, pause music stream playing
  266. [audio] MusicIsPlaying() - Added, to check if music is playing
  267. [audio] SetMusicVolume() - Added, set volume for music
  268. [audio] GetMusicTimeLength() - Added, get current music time length (in seconds)
  269. [audio] GetMusicTimePlayed() - Added, get current music time played (in seconds)
  270. [utils] Added log tracing functionality - TraceLog(), TraceLogOpen(), TraceLogClose()
  271. [*] Log tracing messages all around the code
  272. -----------------------------------------------
  273. Release: raylib 1.0.6 (16 March 2014)
  274. -----------------------------------------------
  275. [core] Removed unused lighting-system code
  276. [core] Removed SetPerspective() function, calculated directly
  277. [core] Unload and reload default font on fullscreen toggle
  278. [core] Corrected bug gamepad buttons checking if no gamepad available
  279. [texture] DrawTextureV() - Added, to draw using Vector2 for position
  280. [texture] LoadTexture() - Redesigned, now uses LoadImage() + CreateTexture()
  281. [text] FormatText() - Corrected memory leak bug
  282. [models] Added Matrix struct and related functions
  283. [models] DrawBillboard() - Reviewed, now it works!
  284. [models] DrawBillboardRec() - Reviewed, now it works!
  285. [tests] Added folder with multiple tests for new functions
  286. -----------------------------------------------
  287. Update: raylib 1.0.5 (28 January 2014)
  288. -----------------------------------------------
  289. [audio] LoadSound() - Corrected a bug, WAV file was not closed!
  290. [core] GetMouseWheelMove() - Added, check mouse wheel Y movement
  291. [texture] CreateTexture2D() renamed to CreateTexture()
  292. [models] LoadHeightmap() - Added, Heightmap can be loaded as a Model
  293. [tool] rREM updated, now supports (partially) drag and drop of files
  294. -----------------------------------------------
  295. Release: raylib 1.0.4 (23 January 2014)
  296. -----------------------------------------------
  297. [tool] Published a first alpha version of rREM tool (raylib Resource Embedder)
  298. [core] GetRandomValue() - Bug corrected, now works right
  299. [core] Fade() - Added, fades a color to an alpha percentadge
  300. [core] WriteBitmap() - Moved to new module: utils.c, not used anymore
  301. [core] TakeScreenshot() - Now uses WritePNG() (utils.c)
  302. [utils] New module created with utility functions
  303. [utils] WritePNG() - Write a PNG file (used by TakeScreenshot() on core)
  304. [utils] DecompressData() - Added, used for rRES resource data decompresion
  305. [textures] LoadImageFromRES() - Added, load an image from a rRES resource file
  306. [textures] LoadTextureFromRES() - Added, load a texture from a rRES resource file
  307. [audio] LoadSoundFromRES() - Added, load a sound from a rRES resource file
  308. [audio] IsPlaying() - Added, check if a sound is currently playing
  309. [audio] SetVolume() - Added, set the volume for a sound
  310. [audio] SetPitch() - Added, set the pitch for a sound
  311. [examples] ex06a_color_select completed
  312. [examples] ex06b_logo_anim completed
  313. [examples] ex06c_font select completed
  314. -----------------------------------------------
  315. Release: raylib 1.0.3 (19 December 2013)
  316. -----------------------------------------------
  317. [fonts] Added 8 rBMF free fonts to be used on projects!
  318. [text] LoadSpriteFont() - Now supports rBMF file loading (raylib Bitmap Font)
  319. [examples] ex05a_sprite_fonts completed
  320. [examples] ex05b_rbmf_fonts completed
  321. [core] InitWindowEx() - InitWindow with extended parameters, resizing option and custom cursor!
  322. [core] GetRandomValue() - Added, returns a random value within a range (int)
  323. [core] SetExitKey() - Added, sets a key to exit program (default is ESC)
  324. [core] Custom cursor not drawn when mouse out of screen
  325. [shapes] CheckCollisionPointRec() - Added, check collision between point and rectangle
  326. [shapes] CheckCollisionPointCircle() - Added, check collision between point and circle
  327. [shapes] CheckCollisionPointTriangle() - Added, check collision between point and triangle
  328. [shapes] DrawPoly() - Added, draw regular polygons of n sides, rotation can be defined!
  329. -----------------------------------------------
  330. Release: raylib 1.0.2 (1 December 2013)
  331. -----------------------------------------------
  332. [text] GetDefaultFont() - Added, get default SpriteFont to be used on DrawTextEx()
  333. [shapes] CheckCollisionRecs() - Added, check collision between rectangles
  334. [shapes] CheckCollisionCircles() - Added, check collision between circles
  335. [shapes] CheckCollisionCircleRec() - Added, check collision circle-rectangle
  336. [shapes] GetCollisionRec() - Added, get collision rectangle
  337. [textures] CreateTexture2D() - Added, create Texture2D from Image data
  338. [audio] Fixed WAV loading function, now audio works!
  339. -----------------------------------------------
  340. Update: raylib 1.0.1 (28 November 2013)
  341. -----------------------------------------------
  342. [text] DrawText() - Removed spacing parameter
  343. [text] MeasureText() - Removed spacing parameter
  344. [text] DrawFps() - Renamed to DrawFPS() for coherence with similar function
  345. [core] IsKeyPressed() - Change functionality, check if key pressed once
  346. [core] IsKeyDown() - Added, check if key is being pressed
  347. [core] IsKeyReleased() - Change functionality, check if key released once
  348. [core] IsKeyUp() - Added, check if key is being NOT pressed
  349. [core] IsMouseButtonDown() - Added, check if mouse button is being pressed
  350. [core] IsMouseButtonPressed() - Change functionality, check if mouse button pressed once
  351. [core] IsMouseButtonUp() - Added, check if mouse button is NOT being pressed
  352. [core] IsMouseButtonReleased() - Change functionality, check if mouse button released once
  353. [textures] DrawTexturePro() - Added, texture drawing with 'pro' parameters
  354. [examples] Function changes applied to ALL examples
  355. -----------------------------------------------
  356. Release: raylib 1.0.0 (18 November 2013)
  357. -----------------------------------------------
  358. * Initial version
  359. * 6 Modules provided:
  360. - core: basic window/context creation functions, input management, timming functions
  361. - shapes: basic shapes drawing functions
  362. - textures: image data loading and conversion to OpenGL textures
  363. - text: text drawing, sprite fonts loading, default font loading
  364. - models: basic 3d shapes drawing, OBJ models loading and drawing
  365. - audio: audio device initialization, WAV files loading and playing