Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

307 linhas
16 KiB

9 anos atrás
11 anos atrás
11 anos atrás
9 anos atrás
9 anos atrás
9 anos atrás
9 anos atrás
9 anos atrás
9 anos atrás
9 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
11 anos atrás
11 anos atrás
11 anos atrás
11 anos atrás
11 anos atrás
11 anos atrás
11 anos atrás
  1. changelog
  2. ---------
  3. Current Release: raylib 1.4.0 (22 February 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.4.0 (22 February 2016)
  8. -----------------------------------------------
  9. NOTE:
  10. This version supposed another big improvement for raylib, inlcuding new modules and new features.
  11. More than 30 new functions have been added to previous raylib version.
  12. Around 8 new examples and +10 new game samples have been added.
  13. BIG changes:
  14. [textures] IMAGE MANIPULATION: Functions to crop, resize, colorize, flip, dither and even draw image-to-image or text-to-image.
  15. [text] SPRITEFONT SUPPORT: Added support for AngelCode fonts (.fnt) and TrueType fonts (.ttf).
  16. [gestures] REDESIGN: Gestures system simplified and prepared to process generic touch events, including mouse events (multiplatform).
  17. [physac] NEW MODULE: Basic 2D physics support, use colliders and rigidbodies; apply forces to physic objects.
  18. other changes:
  19. [rlgl] Removed GLEW library dependency, now using GLAD
  20. [rlgl] Implemented alternative to glGetTexImage() on OpenGL ES
  21. [rlgl] Using depth data on batch drawing
  22. [rlgl] Reviewed glReadPixels() function
  23. [core][rlgl] Reviewed raycast system, now 3D picking works
  24. [core] Android: Reviewed Android App cycle, paused if inactive
  25. [shaders] Implemented Blinn-Phong lighting shading model
  26. [textures] Implemented Floyd-Steinberg dithering - ImageDither()
  27. [text] Added line-break support to DrawText()
  28. [text] Added TrueType Fonts support (using stb_truetype)
  29. [models] Implement function: CalculateBoundingBox(Mesh mesh)
  30. [models] Added functions to check Ray collisions
  31. [models] Improve map resolution control on LoadHeightmap()
  32. [camera] Corrected small-glitch on zoom-in with mouse-wheel
  33. [gestures] Implemented SetGesturesEnabled() to enable only some gestures
  34. [gestures] Implemented GetElapsedTime() on Windows system
  35. [gestures] Support mouse gestures for desktop platforms
  36. [raymath] Complete review of the module and converted to header-only
  37. [easings] Added new module for easing animations
  38. [stb] Updated to latest headers versions
  39. [*] Lots of tweaks around
  40. -----------------------------------------------
  41. Release: raylib 1.3.0 (01 September 2015)
  42. -----------------------------------------------
  43. NOTE:
  44. This version supposed a big boost for raylib, new modules have been added with lots of features.
  45. Most of the modules have been completely reviewed to accomodate to the new features.
  46. Over 50 new functions have been added to previous raylib version.
  47. Most of the examples have been redone and +10 new advanced examples have been added.
  48. BIG changes:
  49. [rlgl] SHADERS: Support for model shaders and postprocessing shaders (multiple functions)
  50. [textures] FORMATS: Support for multiple internal formats, including compressed formats
  51. [camera] NEW MODULE: Set of cameras for 3d view: Free, Orbital, 1st person, 3rd person
  52. [gestures] NEW MODULE: Gestures system for Android and HTML5 platforms
  53. [raygui] NEW MODULE: Set of IMGUI elements for tools development (experimental)
  54. smaller changes:
  55. [rlgl] Added check for OpenGL supported extensions
  56. [rlgl] Added function SetBlenMode() to select some predefined blending modes
  57. [core] Added support for drop&drag of external files into running program
  58. [core] Added functions ShowCursor(), HideCursor(), IsCursorHidden()
  59. [core] Renamed function SetFlags() to SetConfigFlags()
  60. [shapes] Simplified some functions to improve performance
  61. [textures] Review of Image struct to support multiple data formats
  62. [textures] Added function LoadImageEx()
  63. [textures] Added function LoadImageRaw()
  64. [textures] Added function LoadTextureEx()
  65. [textures] Simplified function parameters LoadTextureFromImage()
  66. [textures] Added function GetImageData()
  67. [textures] Added function GetTextureData()
  68. [textures] Renamed function ConvertToPOT() to ImageConvertToPOT()
  69. [textures] Added function ImageConvertFormat()
  70. [textures] Added function GenTextureMipmaps()
  71. [text] Added support for Latin-1 Extended characters for default font
  72. [text] Redesigned SpriteFont struct, replaced Character struct by Rectangle
  73. [text] Removed function GetFontBaseSize(), use directly spriteFont.size
  74. [models] Review of struct: Model (added shaders support)
  75. [models] Added 3d collision functions (sphere vs sphere vs box vs box)
  76. [models] Added function DrawCubeTexture()
  77. [models] Added function DrawQuad()
  78. [models] Added function DrawRay()
  79. [models] Simplified funtion DrawPlane()
  80. [models] Removed function DrawPlaneEx()
  81. [models] Simplified funtion DrawGizmo()
  82. [models] Removed function DrawGizmoEx()
  83. [models] Added function LoadModelEx()
  84. [models] Review of function LoadCubicMap()
  85. [models] Added function ResolveCollisionCubicmap()
  86. [audio] Decopupled from raylib, now this module can be used as standalone
  87. [audio] Added function UpdateMusicStream()
  88. [raymath] Complete review of the module
  89. [stb] Updated to latest headers versions
  90. [*] Lots of tweaks around
  91. -----------------------------------------------
  92. Release: raylib 1.2.2 (31 December 2014)
  93. -----------------------------------------------
  94. [*] Added support for HTML5 compiling (emscripten, asm.js)
  95. [core] Corrected bug on input handling (keyboard and mouse)
  96. [textures] Renamed function CreateTexture() to LoadTextureFromImage()
  97. [textures] Added function ConvertToPOT()
  98. [rlgl] Added support for color tint on models on GL 3.3+ and ES2
  99. [rlgl] Added support for normals on models
  100. [models] Corrected bug on DrawBillboard()
  101. [models] Corrected bug on DrawHeightmap()
  102. [models] Renamed LoadCubesmap() to LoadCubicmap()
  103. [audio] Added function LoadSoundFromWave()
  104. [makefile] Added support for Linux and OSX compiling
  105. [stb] Updated to latest headers versions
  106. [*] Lots of tweaks around
  107. ---------------------------------------------------------------
  108. Update: raylib 1.2.1 (17 October 2014) (Small Fixes Update)
  109. ---------------------------------------------------------------
  110. [core] Added function SetupFlags() to preconfigure raylib Window
  111. [core] Corrected bug on fullscreen mode
  112. [rlgl] rlglDrawmodel() - Added rotation on Y axis
  113. [text] MeasureTextEx() - Corrected bug on measures for default font
  114. -----------------------------------------------
  115. Release: raylib 1.2 (16 September 2014)
  116. -----------------------------------------------
  117. NOTE:
  118. This version supposed a complete redesign of the [core] module to support Android and Raspberry Pi.
  119. Multiples modules have also been tweaked to accomodate to the new platforms, specially [rlgl]
  120. [core] Added multiple platforms support: Android and Raspberry Pi
  121. [core] InitWindow() - Complete rewrite and split for Android
  122. [core] InitDisplay() - Internal function added to calculate proper display size
  123. [core] InitGraphics() - Internal function where OpenGL graphics are initialized
  124. [core] Complete refactoring of input functions to accomodate to new platforms
  125. [core] Mouse and Keyboard raw data reading functions added for Raspberry Pi
  126. [core] GetTouchX(), GetTouchY() - Added for Android
  127. [core] Added Android callbacks to process inputs and Android activity commands
  128. [rlgl] Adjusted buffers depending on platform
  129. [rlgl] Added security check in case deployed vertex excess buffer size
  130. [rlgl] Adjusted indices type depending on GL version (int or short)
  131. [rlgl] Fallback to VBOs only usage if VAOs not supported on ES2
  132. [rlgl] rlglLoadModel() stores vbo ids on new Model struct
  133. [textures] Added support for PKM files (ETC1, ETC2 compression support)
  134. [shapes] DrawRectangleV() - Modified, depending on OGL version uses TRIANGLES or QUADS
  135. [text] LoadSpriteFont() - Modified to use LoadImage()
  136. [models] Minor changes on models loading to accomodate to new Model struct
  137. [audio] PauseMusicStream(), ResumeMusicStream() - Added
  138. [audio] Reduced music buffer size to avoid stalls on Raspberry Pi
  139. [src] Added makefile for Windows and RPI
  140. [src] Added resources file (raylib icon and executable info)
  141. [examples] Added makefile for Windows and RPI
  142. [examples] Renamed and merged with test examples for coherence with module names
  143. [templates] Added multiple templates to be use as a base-code for games
  144. -----------------------------------------------
  145. Release: raylib 1.1.1 (22 July 2014)
  146. -----------------------------------------------
  147. [core] ShowLogo() - To enable raylib logo animation at startup
  148. [core] Corrected bug with window resizing
  149. [rlgl] Redefined colors arrays to use byte instead of float
  150. [rlgl] Removed double buffer system (no performance improvement)
  151. [rlgl] rlglDraw() - Reorganized buffers drawing order
  152. [rlgl] Corrected bug on screen resizing
  153. [shapes] DrawRectangle() - Use QUADS instead of TRIANGLES
  154. [models] DrawSphereWires() - Corrected some issues
  155. [models] LoadOBJ() - Redesigned to support multiple meshes
  156. [models] LoadCubesMap() - Loading a map as cubes (by pixel color)
  157. [textures] Added security check if file doesn't exist
  158. [text] Corrected bug on SpriteFont loading
  159. [examples] Corrected some 3d examples
  160. [test] Added cubesmap loading test
  161. -----------------------------------------------
  162. Release: raylib 1.1.0 (19 April 2014)
  163. -----------------------------------------------
  164. NOTE:
  165. This version supposed a complete internal redesign of the library to support OpenGL 3.3+ and OpenGL ES 2.0.
  166. New module [rlgl] has been added to 'translate' immediate mode style functions (i.e. rlVertex3f()) to GL 1.1, 3.3+ or ES2.
  167. Another new module [raymath] has also been added with lot of useful 3D math vector-matrix-quaternion functions.
  168. [rlgl] New module, abstracts OpenGL rendering (multiple versions support)
  169. [raymath] New module, useful 3D math vector-matrix-quaternion functions
  170. [core] Adapt all OpenGL code (initialization, drawing) to use [rlgl]
  171. [shapes] Rewrite all shapes drawing functions to use [rlgl]
  172. [textures] Adapt texture GPU loading to use [rlgl]
  173. [textures] Added support for DDS images (compressed and uncompressed)
  174. [textures] CreateTexture() - Redesigned to add mipmap automatic generation
  175. [textures] DrawTexturePro() - Redesigned and corrected bugs
  176. [models] Rewrite all 3d-shapes drawing functions to use [rlgl]
  177. [models] Adapt model loading and drawing to use [rlgl]
  178. [models] Model struct updated to include texture id
  179. [models] SetModelTexture() - Added, link a texture to a model
  180. [models] DrawModelEx() - Redesigned with extended parameters
  181. [audio] Added music streaming support (OGG files)
  182. [audio] Added support for OGG files as Sound
  183. [audio] PlayMusicStream() - Added, open a new music stream and play it
  184. [audio] StopMusicStream() - Added, stop music stream playing and close stream
  185. [audio] PauseMusicStream() - Added, pause music stream playing
  186. [audio] MusicIsPlaying() - Added, to check if music is playing
  187. [audio] SetMusicVolume() - Added, set volume for music
  188. [audio] GetMusicTimeLength() - Added, get current music time length (in seconds)
  189. [audio] GetMusicTimePlayed() - Added, get current music time played (in seconds)
  190. [utils] Added log tracing functionality - TraceLog(), TraceLogOpen(), TraceLogClose()
  191. [*] Log tracing messages all around the code
  192. -----------------------------------------------
  193. Release: raylib 1.0.6 (16 March 2014)
  194. -----------------------------------------------
  195. [core] Removed unused lighting-system code
  196. [core] Removed SetPerspective() function, calculated directly
  197. [core] Unload and reload default font on fullscreen toggle
  198. [core] Corrected bug gamepad buttons checking if no gamepad available
  199. [texture] DrawTextureV() - Added, to draw using Vector2 for position
  200. [texture] LoadTexture() - Redesigned, now uses LoadImage() + CreateTexture()
  201. [text] FormatText() - Corrected memory leak bug
  202. [models] Added Matrix struct and related functions
  203. [models] DrawBillboard() - Reviewed, now it works!
  204. [models] DrawBillboardRec() - Reviewed, now it works!
  205. [tests] Added folder with multiple tests for new functions
  206. -----------------------------------------------
  207. Update: raylib 1.0.5 (28 January 2014)
  208. -----------------------------------------------
  209. [audio] LoadSound() - Corrected a bug, WAV file was not closed!
  210. [core] GetMouseWheelMove() - Added, check mouse wheel Y movement
  211. [texture] CreateTexture2D() renamed to CreateTexture()
  212. [models] LoadHeightmap() - Added, Heightmap can be loaded as a Model
  213. [tool] rREM updated, now supports (partially) drag and drop of files
  214. -----------------------------------------------
  215. Release: raylib 1.0.4 (23 January 2014)
  216. -----------------------------------------------
  217. [tool] Published a first alpha version of rREM tool (raylib Resource Embedder)
  218. [core] GetRandomValue() - Bug corrected, now works right
  219. [core] Fade() - Added, fades a color to an alpha percentadge
  220. [core] WriteBitmap() - Moved to new module: utils.c, not used anymore
  221. [core] TakeScreenshot() - Now uses WritePNG() (utils.c)
  222. [utils] New module created with utility functions
  223. [utils] WritePNG() - Write a PNG file (used by TakeScreenshot() on core)
  224. [utils] DecompressData() - Added, used for rRES resource data decompresion
  225. [textures] LoadImageFromRES() - Added, load an image from a rRES resource file
  226. [textures] LoadTextureFromRES() - Added, load a texture from a rRES resource file
  227. [audio] LoadSoundFromRES() - Added, load a sound from a rRES resource file
  228. [audio] IsPlaying() - Added, check if a sound is currently playing
  229. [audio] SetVolume() - Added, set the volume for a sound
  230. [audio] SetPitch() - Added, set the pitch for a sound
  231. [examples] ex06a_color_select completed
  232. [examples] ex06b_logo_anim completed
  233. [examples] ex06c_font select completed
  234. -----------------------------------------------
  235. Release: raylib 1.0.3 (19 December 2013)
  236. -----------------------------------------------
  237. [fonts] Added 8 rBMF free fonts to be used on projects!
  238. [text] LoadSpriteFont() - Now supports rBMF file loading (raylib Bitmap Font)
  239. [examples] ex05a_sprite_fonts completed
  240. [examples] ex05b_rbmf_fonts completed
  241. [core] InitWindowEx() - InitWindow with extended parameters, resizing option and custom cursor!
  242. [core] GetRandomValue() - Added, returns a random value within a range (int)
  243. [core] SetExitKey() - Added, sets a key to exit program (default is ESC)
  244. [core] Custom cursor not drawn when mouse out of screen
  245. [shapes] CheckCollisionPointRec() - Added, check collision between point and rectangle
  246. [shapes] CheckCollisionPointCircle() - Added, check collision between point and circle
  247. [shapes] CheckCollisionPointTriangle() - Added, check collision between point and triangle
  248. [shapes] DrawPoly() - Added, draw regular polygons of n sides, rotation can be defined!
  249. -----------------------------------------------
  250. Release: raylib 1.0.2 (1 December 2013)
  251. -----------------------------------------------
  252. [text] GetDefaultFont() - Added, get default SpriteFont to be used on DrawTextEx()
  253. [shapes] CheckCollisionRecs() - Added, check collision between rectangles
  254. [shapes] CheckCollisionCircles() - Added, check collision between circles
  255. [shapes] CheckCollisionCircleRec() - Added, check collision circle-rectangle
  256. [shapes] GetCollisionRec() - Added, get collision rectangle
  257. [textures] CreateTexture2D() - Added, create Texture2D from Image data
  258. [audio] Fixed WAV loading function, now audio works!
  259. -----------------------------------------------
  260. Update: raylib 1.0.1 (28 November 2013)
  261. -----------------------------------------------
  262. [text] DrawText() - Removed spacing parameter
  263. [text] MeasureText() - Removed spacing parameter
  264. [text] DrawFps() - Renamed to DrawFPS() for coherence with similar function
  265. [core] IsKeyPressed() - Change functionality, check if key pressed once
  266. [core] IsKeyDown() - Added, check if key is being pressed
  267. [core] IsKeyReleased() - Change functionality, check if key released once
  268. [core] IsKeyUp() - Added, check if key is being NOT pressed
  269. [core] IsMouseButtonDown() - Added, check if mouse button is being pressed
  270. [core] IsMouseButtonPressed() - Change functionality, check if mouse button pressed once
  271. [core] IsMouseButtonUp() - Added, check if mouse button is NOT being pressed
  272. [core] IsMouseButtonReleased() - Change functionality, check if mouse button released once
  273. [textures] DrawTexturePro() - Added, texture drawing with 'pro' parameters
  274. [examples] Function changes applied to ALL examples
  275. -----------------------------------------------
  276. Release: raylib 1.0.0 (18 November 2013)
  277. -----------------------------------------------
  278. * Initial version
  279. * 6 Modules provided:
  280. - core: basic window/context creation functions, input management, timming functions
  281. - shapes: basic shapes drawing functions
  282. - textures: image data loading and conversion to OpenGL textures
  283. - text: text drawing, sprite fonts loading, default font loading
  284. - models: basic 3d shapes drawing, OBJ models loading and drawing
  285. - audio: audio device initialization, WAV files loading and playing