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.

1255 lines
72 KiB

5 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
7 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
11 years ago
8 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
11 years ago
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 3.0.0 (01 April 2020)
  4. -------------------------------------------------------------------------
  5. Release: raylib 3.5 - 7th Anniversary Edition (November 2020) -WIP-
  6. -------------------------------------------------------------------------
  7. KEY CHANGES:
  8. - [core] ADDED: PLATFORM_DRM to support RPI4 and other devices (#1388) by @kernelkinetic
  9. - [rlgl] ADDED: RenderBatch type and related functions to allow custom batching
  10. - [rlgl] REDESIGNED: Framebuffers API to support multiple attachment types (#721)
  11. - [textures] REDESIGNED: Image*() functions, big performance improvements (software rendering)
  12. - [*] REVIEWED: multiple functions to replace file accesses by memory accesses
  13. - [*] ADDED: GitHub Actions CI to support multiple raylib build configurations
  14. Detailed changes:
  15. [core] ADDED: SetWindowState() / ClearWindowState() -> New flags added!
  16. [core] ADDED: IsWindowFocused()
  17. [core] ADDED: GetWindowScaleDPI()
  18. [core] ADDED: GetMonitorRefreshRate() (#1289) by @Shylie
  19. [core] ADDED: IsCursorOnScreen() (#1262) by @ChrisDill
  20. [core] ADDED: SetMouseCursor() and GetMouseCursor() for standard Desktop cursors (#1407) by @chances
  21. [core] REMOVED: struct RenderTexture2D: depthTexture variable
  22. [core] REMOVED: HideWindow() / UnhideWindow() -> Use SetWindowState()
  23. [core] REMOVED: DecorateWindow() / UndecorateWindow() -> Use SetWindowState()
  24. [core] RENAMED: GetExtension() to GetFileExtension()
  25. [core] REVIEWED: Several structs to reduce size and padding
  26. [core] REVIEWED: struct Texture maps to Texture2D and TextureCubemap
  27. [core] REVIEWED: ToggleFullscreen() (#1287)
  28. [core] REVIEWED: InitWindow(), support empty title for window (#1323)
  29. [core] REVIEWED: RPI: Mouse movements are bound to the screen resolution (#1392) (#1410) by @kernelkinetic
  30. [core] REVIEWED: GetPrevDirectoryPath() fixes on Unix-like systems (#1246) by @ivan-cx
  31. [core] REPLACED: rgif.h by msf_gif.h for automatic gif recording
  32. [core] REDESIGNED: Window states management system
  33. [core] REDESIGNED: GetMouseWheelMove() to return float movement for precise scrolling (#1397) by @Doy-lee
  34. [core] REDESIGNED: GetKeyPressed(), and added GetCharPressed() (#1336)
  35. [core] UWP rework with improvements (#1231) by @Rover656
  36. [core] Gamepad axis bug fixes and improvement (#1228) by @mmalecot
  37. [core] Updated joystick mappings with latest version of gamecontrollerdb (#1381) by @coderoth
  38. [rlgl] Corrected issue with OpenGL 1.1 support
  39. [rlgl] ADDED: rlDrawMeshInstanced() (#1318) by @seanpringle
  40. [rlgl] ADDED: rlCheckErrors (#1321) by @seanpringle
  41. [rlgl] ADDED: BLEND_SET blending mode (#1251) by @RandomErrorMessage
  42. [rlgl] ADDED: rlSetLineWidth(), rlGetLineWidth(), rlEnableSmoothLines(), rlDisableSmoothLines() (#1457) by @JeffM2501
  43. [rlgl] RENAMED: rlUnproject() to Vector3Unproject() [raymath]
  44. [rlgl] REVIEWED: Replace rlglDraw() calls by DrawRenderBatch() internal calls
  45. [rlgl] REVIEWED: GenTextureCubemap(), use rlgl functionality only
  46. [rlgl] REVIEWED: rlFramebufferAttach() to support texture layers
  47. [rlgl] REVIEWED: GenDrawCube() and GenDrawQuad()
  48. [rlgl] REVIEWED: Issues with vertex batch overflow (#1223)
  49. [rlgl] REVIEWED: rlUpdateTexture(), issue with offsets
  50. [rlgl] REDESIGNED: GenTexture*() to use the new fbo API (#721)
  51. [raymath] ADDED: Normalize() and Remap() functions (#1247) by @NoorWachid
  52. [raymath] ADDED: Vector2Reflect() (#1400) by @daniel-junior-dube
  53. [raymath] ADDED: Vector2LengthSqr() and Vector3LengthSqr() (#1248) by @ThePituLegend
  54. [raymath] ADDED: Vector2MoveTowards() function (#1233) by @anatagawa
  55. [raymath] REVIEWED: Some functions consistency (#1197) by @Not-Nik
  56. [raymath] REVIEWED: QuaternionFromVector3ToVector3() (#1263) by @jvocaturo
  57. [raymath] REVIEWED: MatrixLookAt(), optimized (#1442) by @RandomErrorMessage
  58. [text] Avoid [textures] functions dependencies
  59. [text] ADDED: Config flag: SUPPORT_TEXT_MANIPULATION
  60. [text] ADDED: LoadFontFromMemory() (TTF only) (#1327)
  61. [text] ADDED: UnloadFontData()
  62. [text] RENAMED: FormatText() -> TextFormat()
  63. [text] REVIEWED: Font struct, added charsPadding (#1432)
  64. [text] REVIEWED: TextJoin()
  65. [text] REVIEWED: TextReplace() (#1172)
  66. [text] REVIEWED: LoadBMFont() to load data from memory (#1232)
  67. [text] REVIEWED: GenImageFontAtlas(), fixed offset (#1171)
  68. [text] REDESIGNED: LoadFontData()
  69. [text] REDESIGNED: LoadFontDefault(), some code simplifications
  70. [text] REDESIGNED: LoadFontFromImage(), avoid LoadImageEx()
  71. [text] REDESIGNED: LoadFontData(), avoid GenImageColor(), ImageFormat()
  72. [text] REDESIGNED: LoadBMFont(), avoid ImageCopy(), ImageFormat(), ImageAlphaMask()
  73. [textures] Move Color functions from [core] to [textures] module
  74. [textures] ADDED: ColorAlphaBlend()
  75. [textures] ADDED: GetPixelColor()
  76. [textures] ADDED: SetPixelColor()
  77. [textures] ADDED: LoadImageFromMemory() (#1327)
  78. [textures] ADDED: LoadImageAnim() to load animated sequence of images
  79. [textures] ADDED: DrawTextureTiled() (#1291) - @Demizdor
  80. [textures] ADDED: UpdateTextureRec()
  81. [textures] ADDED: UnloadImageColors(), UnloadImagePalette(), UnloadWaveSamples()
  82. [textures] REMOVED: Config flag: SUPPORT_IMAGE_DRAWING
  83. [textures] REMOVED: LoadImageEx()
  84. [textures] REMOVED: LoadImagePro()
  85. [textures] REMOVED: GetImageDataNormalized(), not exposed in the API
  86. [textures] RENAMED: ImageExtractPalette() to GetImagePalette()
  87. [textures] RENAMED: Fade() to ColorAlpha(), added #define for compatibility
  88. [textures] RENAMED: GetImageData() -> LoadImageColors()
  89. [textures] RENAMED: GetImagePalette() -> LoadImagePalette()
  90. [textures] RENAMED: GetWaveData() -> LoadWaveSamples()
  91. [textures] REVIEWED: GetPixelDataSize() to consider compressed data properly
  92. [textures] REVIEWED: GetTextureData(), allow retrieving 32bit float data
  93. [textures] REVIEWED: ImageDrawText*() params order
  94. [textures] REVIEWED: ColorAlphaBlend(), support tint color
  95. [textures] REVIEWED: ColorAlphaBlend(), integers-version, optimized (#1218)
  96. [textures] REVIEWED: ImageDraw(), consider negative source offset properly (#1283)
  97. [textures] REVIEWED: ImageDraw(), optimizations test (#1218)
  98. [textures] REVIEWED: ImageResizeCanvas(), optimization (#1218)
  99. [textures] REVIEWED: ExportImage(), optimized
  100. [textures] REVIEWED: ImageAlphaPremultiply(), optimization
  101. [textures] REVIEWED: ImageAlphaClear(), minor optimization
  102. [textures] REVIEWED: ImageToPOT(), renamed parameter
  103. [textures] REVIEWED: ImageCrop() (#1218)
  104. [textures] REVIEWED: ImageToPOT() (#1218)
  105. [textures] REVIEWED: ImageAlphaCrop() (#1218)
  106. [textures] REVIEWED: ExportImage(), optimized (#1218)
  107. [textures] REDESIGNED: ImageCrop(), optimized (#1218)
  108. [textures] REDESIGNED: ImageRotateCCW(), optimized (#1218)
  109. [textures] REDESIGNED: ImageRotateCW(), optimized (#1218)
  110. [textures] REDESIGNED: ImageFlipHorizontal(), optimized (#1218)
  111. [textures] REDESIGNED: ImageFlipVertical(), optimized (#1218)
  112. [textures] REDESIGNED: ImageResizeCanvas(), optimized (#1218)
  113. [textures] REDESIGNED: ImageDrawPixel(), optimized
  114. [textures] REDESIGNED: ImageDrawLine(), optimized
  115. [textures] REDESIGNED: ImageDraw(), optimized (#1218)
  116. [textures] REDESIGNED: ImageResize(), optimized (#1218)
  117. [textures] REDESIGNED: ImageFromImage(), optimized (#1218)
  118. [textures] REDESIGNED: ImageDraw(), optimization (#1218)
  119. [textures] REDESIGNED: ImageAlphaClear(), optimized (#1218)
  120. [textures] REDESIGNED: ExportImageAsCode() to use memory buffer (#1232)
  121. [textures] REDESIGNED: ColorFromHSV()
  122. [models] ADDED: DrawTriangle3D() and DrawTriangleStrip3D()
  123. [models] ADDED: UnloadModelKeepMeshes()
  124. [models] REVIEWED: LoadModel(), avoid loading texcoords and normals from model if not existent
  125. [models] REVIEWED: GenMeshCubicmap(), added comments and simplification
  126. [models] REVIEWED: GenMeshCubicmap(), fixed generated normals (#1244) by @GoldenThumbs
  127. [models] REVIEWED: GenMeshPoly(), fixed buffer overflow (#1269) by @frithrah
  128. [models] REVIEWED: LoadOBJ(): Allow for multiple materials in obj files (#1408) by @chriscamacho and @codifies
  129. [models] REVIEWED: LoadIQM() materials loading (#1227) by @sikor666
  130. [models] REVIEWED: LoadGLTF() to read from memory buffer
  131. [models] REVIEWED: UpdateMesh(), fix extra memory allocated when updating color buffer (#1271) by @4yn
  132. [models] REVIEWED: MeshNormalsSmooth() (#1317) by @seanpringle
  133. [models] REVIEWED: DrawGrid() (#1417)
  134. [models] REDESIGNED: ExportMesh() to use memory buffer (#1232)
  135. [models] REDESIGNED: LoadIQM() and LoadModelAnimations() to use memory buffers
  136. [audio] ADDED: LoadWaveFromMemory() (#1327)
  137. [audio] REMOVED: SetMusicLoopCount()
  138. [audio] REVIEWED: Several functions, sampleCount vs frameCount (#1423)
  139. [audio] REVIEWED: SaveWAV() to use memory write insted of file
  140. [audio] REVIEWED: LoadMusicStream(), support WAV music streaming (#1198)
  141. [audio] REVIEWED: Support multiple WAV sampleSize for MusicStream (#1340)
  142. [audio] REVIEWED: SetAudioBufferPitch()
  143. [audio] REDESIGNED: Audio looping system
  144. [audio] REDESIGNED: LoadSound(): Use memory loading (WAV, OGG, MP3, FLAC) (#1312)
  145. [audio] REDESIGNED: ExportWaveAsCode() to use memory buffers
  146. [utils] ADDED: MemAlloc() / MemFree() (#1440)
  147. [utils] ADDED: UnloadFileData() / UnloadFileText()
  148. [utils] REVIEWED: android_fopen() to support SDCard access
  149. [utils] REDESIGNED: SaveFile*() functions to expose file access results (#1420)
  150. [rmem] REVIEWED: MemPool and other allocators optimization (#1211) by @assyrianic
  151. [examples] ADDED: core/core_window_flags
  152. [examples] ADDED: core/core_quat_conversion by @chriscamacho and @codifies
  153. [examples] ADDED: textures/textures_blend_modes (#1261) by @accidentalrebel
  154. [examples] ADDED: textures/textures_draw_tiled (#1291) by @Demizdor
  155. [examples] ADDED: shaders/shaders_hot_reloading (#1198)
  156. [examples] ADDED: shaders/shaders_rlgl_mesh_instanced (#1318) by @seanpringle
  157. [examples] ADDED: shaders/shaders_multi_sampler2d
  158. [examples] ADDED: others/embedded_files_loading
  159. [examples] REVIEWED: models/models_skybox to work on OpenGL ES 2.0
  160. [examples] REVIEWED: textures/textures_raw_data (#1286)
  161. [examples] REVIEWED: others/raudio_standalone.c
  162. [examples] REVIEWED: audio/resources, use open license resources
  163. [examples] REVIEWED: textures/textures_sprite_explosion, replace resources
  164. [examples] REVIEWED: textures/textures_particles_blending, replace resources
  165. [build] REMOVED: ANGLE VS2017 template project
  166. [build] Avoided all MSVC compile warnings
  167. [build] Additional config.h configuration options exposing multiple #define values
  168. [build] Updated Makefile for web (#1332) by @rfaile313
  169. [build] Updated build pipelines to use latest emscripten and android ndk
  170. [build] Updated emscriptem build script to generate .a on WebAssembly
  171. [build] Updated Android build for Linux, supporting ANDROID_NDK at compile time by @branlix3000
  172. [build] Updated VSCode project template tasks
  173. [build] Updated VS2017.UWP project template by @Rover656
  174. [build] Updated Android build pipeline
  175. [*] Moved raysan5/raylib/games to independent repo: raysan5/raylib-games
  176. [*] Replaced several examples resources with more open licensed alternatives
  177. [*] Updated BINDINGS.md with NEW bindings and added raylib version binding!
  178. [*] Updated all external libraries to latest versions
  179. [*] Multiple code improvements and small fixes
  180. -----------------------------------------------
  181. Release: raylib 3.0 (01 April 2020)
  182. -----------------------------------------------
  183. KEY CHANGES:
  184. - Global context states used on all modules.
  185. - Custom memory allocators for all modules and dependencies.
  186. - Centralized file access system and memory data loading.
  187. - Structures reviewed to reduce size and always be used as pass-by-value.
  188. - Tracelog messages completely reviewed and categorized.
  189. - raudio module reviewed to accomodate new Music struct and new miniaudio.
  190. - text module reviewed to improve fonts generation and text management functions.
  191. - Multiple new examples added and categorized examples table.
  192. - GitHub Actions CI implemented for Windows, Linux and macOS.
  193. Detailed changes:
  194. [build] ADDED: VS2017.ANGLE project, by @msmshazan
  195. [build] ADDED: VS2017 project support for x64 platform configuration
  196. [build] ADDED: Makefile for Android building on macOS, by @Yunoinsky
  197. [build] ADDED: Makefile for Android building on Linux, by @pamarcos
  198. [build] REMOVED: VS2015 project
  199. [build] REVIEWED: VSCode project
  200. [build] REVIEWED: Makefile build system
  201. [build] REVIEWED: Android building, by @NimbusFox
  202. [build] REVIEWED: Compilation with CLion IDE, by @Rover656
  203. [build] REVIEWED: Generation of web examples, by @pamarcos
  204. [build] REVIEWED: Makefiles path to 'shell.html', by @niorad
  205. [build] REVIEWED: VS2017 64bit compilation issues, by @spec-chum
  206. [build] REVIEWED: Multiple fixes on projects building, by @ChrisDill, @JuDelCo, @electronstudio
  207. [core] ADDED: Support touch/mouse indistinctly
  208. [core] ADDED: FLAG_WINDOW_ALWAYS_RUN to avoid pause on minimize
  209. [core] ADDED: Config flag SUPPORT_HALFBUSY_WAIT_LOOP
  210. [core] ADDED: RPI mouse cursor point support on native mode
  211. [core] ADDED: GetWorldToScreen2D()- Get screen space position for a 2d camera world space position, by @arvyy
  212. [core] ADDED: GetScreenToWorld2D() - Get world space position for a 2d camera screen space position, by @arvyy
  213. [core] ADDED: GetWorldToScreenEx() - Get size position for a 3d world space position
  214. [core] ADDED: DirectoryExists() - Check if a directory path exists
  215. [core] ADDED: GetPrevDirectoryPath() - Get previous directory path for a given path
  216. [core] ADDED: CompressData() - Compress data (DEFLATE algorythm)
  217. [core] ADDED: DecompressData() - Decompress data (DEFLATE algorythm)
  218. [core] ADDED: GetWindowPosition() - Get window position XY on monitor
  219. [core] ADDED: LoadFileData() - Load file data as byte array (read)
  220. [core] ADDED: SaveFileData() - Save data to file from byte array (write)
  221. [core] ADDED: LoadFileText() - Load text data from file (read), returns a '\0' terminated string
  222. [core] ADDED: SaveFileText() - Save text data to file (write), string must be '\0' terminated
  223. [core] REMOVED: Show raylib logo at initialization
  224. [core] REVIEWED: GetFileName(), security checks
  225. [core] REVIEWED: LoadStorageValue(), by @danimartin82
  226. [core] REVIEWED: SaveStorageValue(), by @danimartin82
  227. [core] REVIEWED: IsMouseButtonReleased(), when press/release events come too fast, by @oswjk
  228. [core] REVIEWED: SetWindowMonitor(), by @DropsOfSerenity
  229. [core] REVIEWED: IsFileExtension() to be case-insensitive
  230. [core] REVIEWED: IsFileExtension() when checking no-extension files
  231. [core] REVIEWED: Default font scale filter for HighDPI mode
  232. [core] REVIEWED: Touch input scaling for PLATFORM_WEB
  233. [core] REVIEWED: RPI input system, by @DarkElvenAngel
  234. [core] REVIEWED: RPI input threads issues
  235. [core] REVIEWED: OpenGL extensions loading and freeing
  236. [core] REVIEWED: GetDirectoryPath()
  237. [core] REVIEWED: Camera2D behavior, by @arvyy
  238. [core] REVIEWED: OpenGL ES 2.0 extensions check
  239. [rlgl] ADDED: Flags to allow frustrum culling near/far distance configuration at compile time
  240. [rlgl] ADDED: Flags to sllow MAX_BATCH_BUFFERING config at compile time
  241. [rlgl] ADDED: GetMatrixProjection(), by @chriscamacho
  242. [rlgl] ADDED: rlUpdateMeshAt() - Update vertex or index data on GPU, at index, by @brankoku
  243. [rlgl] REVIEWED: Vertex padding not zeroed for quads, by @kawa-yoiko
  244. [rlgl] REVIEWED: Read texture data as RGBA from FBO on GLES 2.0
  245. [rlgl] REVIEWED: LoadShaderCode() for const correctness, by @heretique
  246. [rlgl] REVIEWED: rlLoadTexture()
  247. [rlgl] REVIEWED: rlReadTexturePixels()
  248. [rlgl] REVIEWED: rlUpdateMesh() to supports updating indices, by @brankoku
  249. [rlgl] REVIEWED: GenTextureCubemap(), renamed parameters for consistency
  250. [rlgl] REVIEWED: HDR pixels loading
  251. [raymath] ADDED: MatrixRotateXYZ(), by @chriscamacho
  252. [raymath] RENAMED: Vector3Multiply() to Vector3Scale()
  253. [camera] REVIEWED: Free camera pitch, by @chriscamacho
  254. [camera] REVIEWED: Camera not working properly at z-align, by @Ushio
  255. [shapes] ADDED: DrawTriangleStrip() - Draw a triangle strip defined by points
  256. [shapes] ADDED: DrawEllipse() - Draw ellipse
  257. [shapes] ADDED: DrawEllipseLines() - Draw ellipse outline
  258. [shapes] ADDED: DrawPolyLines() - Draw a polygon outline of n sides
  259. [shapes] REVIEWED: DrawPoly() shape rendering, by @AlexHCC
  260. [textures] ADDED: LoadAnimatedGIF() - Load animated GIF file
  261. [textures] ADDED: GetImageAlphaBorder() - Get image alpha border rectangle
  262. [textures] ADDED: ImageFromImage() - Create an image from another image piece
  263. [textures] ADDED: ImageClearBackground(), by @iamsouravgupta
  264. [textures] ADDED: ImageDrawPixel(), by @iamsouravgupta
  265. [textures] ADDED: ImageDrawCircle(), by @iamsouravgupta
  266. [textures] ADDED: ImageDrawLineEx(), by @iamsouravgupta
  267. [textures] ADDED: ImageDrawPixelV(), by @RobLoach
  268. [textures] ADDED: ImageDrawCircleV(), by @RobLoach
  269. [textures] ADDED: ImageDrawLineV(), by @RobLoach
  270. [textures] ADDED: ImageDrawRectangleV(), by @RobLoach
  271. [textures] ADDED: ImageDrawRectangleRec(), by @RobLoach
  272. [textures] REVIEWED: ImageDrawPixel(), by @RobLoach
  273. [textures] REVIEWED: ImageDrawLine(), by @RobLoach
  274. [textures] REVIEWED: ImageDrawCircle(), by @RobLoach
  275. [textures] REVIEWED: ImageDrawRectangle(), by @RobLoach
  276. [textures] REVIEWED: ImageDraw(), now it supports color tint parameter
  277. [textures] REVIEWED: ImageResizeCanvas()
  278. [textures] REVIEWED: ImageCrop() with security checks
  279. [textures] REVIEWED: ImageAlphaMask()
  280. [textures] REVIEWED: ImageDrawRectangleLines()
  281. [textures] REVIEWED: GetImageData()
  282. [text] ADDED: TextCopy() - Copy one string to another, returns bytes copied
  283. [text] ADDED: GetCodepoints() - Get all codepoints in a string
  284. [text] ADDED: CodepointToUtf8() - Encode codepoint into utf8 text
  285. [text] ADDED: DrawTextCodepoint() - Draw one character (codepoint)
  286. [text] RENAMED: LoadDefaultFont() -> LoadFontDefault()
  287. [text] RENAMED: TextCountCodepoints() -> GetCodepointsCount()
  288. [text] REVIEWED: TextFormat(), to support caching, by @brankoku
  289. [text] REVIEWED: LoadFontData(), generate empty image for space character
  290. [text] REVIEWED: TextSplit()
  291. [text] REVIEWED: TextToInteger()
  292. [text] REVIEWED: GetNextCodepoint(), renamed parameters for clarity
  293. [text] REVIEWED: GenImageFontAtlas(), improved atlas size computing
  294. [text] REDESIGNED: struct Font, character rectangles have been moved out from CharInfo to Font
  295. [text] REDESIGNED: struct CharInfo, now includes directly an Image of the glyph
  296. [text] REDESIGNED: GenImageFontAtlas(), additional recs parameter added
  297. [text] REDESIGNED: ImageTextEx(), to avoid font retrieval from GPU
  298. [models] ADDED: Support rlPushMatrix() and rlPopMatrix() on mesh drawing
  299. [models] ADDED: DrawPoint3D() - Draw a point in 3D space, actually a small line, by @ProfJski
  300. [models] ADDED: Multi texture support for materials in GLTF format, by @Gamerfiend, @chriscamacho
  301. [models] REVIEWED: LoadGLTF(), fixed memory leak, by @jubalh
  302. [models] REVIEWED: LoadIQM(), support multiple animations loading, by @culacant
  303. [models] REVIEWED: GetCollisionRayModel(), to avoid pointers
  304. [models] REVIEWED: CheckCollisionRay*(), parameters renamed
  305. [models] REVIEWED: UnloadMesh(), to avoid pointers
  306. [models] REVIEWED: LoadModel(), memory initialization
  307. [models] REVIEWED: UpdateModelAnimation(), added security checks
  308. [models] REVIEWED: Multiple fixes on models loading, by @jubalh
  309. [models] REVIEWED: Normals updated when using animated meshes, by @@las3rlars
  310. [models] REVIEWED: Compilation when the SUPPORT_MESH_GENERATION not set, by @@Elkantor
  311. [raudio] ADDED: Multi-channel audio playing, by @chriscamacho
  312. [raudio] REMOVED: LoadWaveEx()
  313. [raudio] RENAMED: IsAudioBufferProcessed() to IsAudioStreamProcessed()
  314. [raudio] REVIEWED: Ensure .xm playback starts in the right place, by @illegalinstruction
  315. [raudio] REVIEWED: Fix short non-looping sounds, by @jbosh
  316. [raudio] REVIEWED: Modules playing time to full length
  317. [raudio] REDESIGNED: Replaced Music pointer by struct
  318. [raudio] REDESIGNED: Removed sampleLeft from Music struct
  319. [examples] ADDED: core_scissor_test, by @ChrisDill
  320. [examples] ADDED: core_2d_camera_platformer, by @arvyy
  321. [examples] ADDED: textures_mouse_painting, by @ChrisDill
  322. [examples] ADDED: models_waving_cubes, by @codecat
  323. [examples] ADDED: models_solar_system, by @aldrinmartoq
  324. [examples] ADDED: shaders_fog, by @chriscamacho
  325. [examples] ADDED: shaders_texture_waves, by @Anata
  326. [examples] ADDED: shaders_basic_lighting, by @chriscamacho
  327. [examples] ADDED: shaders_simple_mask, by @chriscamacho
  328. [examples] ADDED: audio_multichannel_sound, by @chriscamacho
  329. [examples] ADDED: shaders_spotlight, by @chriscamacho
  330. [examples] RENAMED: text_sprite_font > text_font_spritefont
  331. [examples] RENAMED: text_ttf_loading > text_font_filters
  332. [examples] RENAMED: text_bmfont_ttf > text_font_loading
  333. [examples] REMOVED: models_obj_viewer
  334. [examples] REMOVED: models_solar_system
  335. [examples] REVIEWED: models_obj_loading > models_loading
  336. [examples] REVIEWED: models_materials_pbr, shader issues
  337. [examples] REVIEWED: core_window_letterbox, detailed explanation, by @jotac0
  338. [examples] REVIEWED: core_window_letterbox, virtual mouse, by @anatagawa
  339. [games] ADDED: GGJ2020 game - RE-PAIR
  340. [*] Misc fixes and tweaks, by @yaram, @oraoto, @zatherz, @piecedigital, @Shylie
  341. [*] Update ALL supported projects (Notepad++, VS2017)
  342. [*] Update ALL external libraries to latest versions (29.Jan.2020)
  343. [*] Update ALL examples and games
  344. [*] Update BINDINGS list
  345. -----------------------------------------------
  346. Release: raylib 2.5 (May 2019)
  347. -----------------------------------------------
  348. KEY CHANGES:
  349. - [core] Redesigned Gamepad mechanism, now common to all platforms and gamepads
  350. - [core] HighDPI monitors support with automatic content scaling
  351. - [rlgl] Complete module redesign to use one single internal buffer
  352. - [rlgl] VR system redesign to allow custom device parameters and distortion shader
  353. - [shapes] New drawing shapes available: CircleSector, Ring and RectangleRounded
  354. - [text] New text management API (multiple functions)
  355. - [text] Full Unicode support (utf8 text)
  356. - [textures] Cubemap textures support
  357. - [textures] Quad and N-Patch drawing
  358. - [models] Skeletal model animation support
  359. - [models] Support multiple meshes per model
  360. - [models] Support glTF model loading
  361. Detailed changes:
  362. [build] REVIEWED: Default raylib and examples Makefile
  363. [build] REVIEWED: Notepad++ NppExec scripts
  364. [build] REVIEWED: VS2015 and VS2017 projects
  365. [build] REVIEWED: Android APK build pipeline
  366. [core] Converted most #defined values as enum values
  367. [core] Complete redesign of RPI input system to use evdev events
  368. [core] ADDED: IsWindowResized() - Check if window has been resized
  369. [core] ADDED: IsWindowHidden() - Check if window is currently hidden
  370. [core] ADDED: UnhideWindow() - Show the window
  371. [core] ADDED: HideWindow() - Hide the window
  372. [core] ADDED: GetWindowHandle() - Get native window handle
  373. [core] ADDED: GetMonitorCount() - Get number of connected monitors
  374. [core] ADDED: GetMonitorWidth() - Get primary monitor width
  375. [core] ADDED: GetMonitorHeight() - Get primary monitor height
  376. [core] ADDED: GetMonitorPhysicalWidth() - Get primary monitor physical width in millimetres
  377. [core] ADDED: GetMonitorPhysicalHeight() - Get primary monitor physical height in millimetres
  378. [core] ADDED: GetMonitorName() - Get the human-readable, UTF-8 encoded name of the primary monitor
  379. [core] ADDED: GetClipboardText() - Get clipboard text content
  380. [core] ADDED: SetClipboardText() - Set clipboard text content
  381. [core] ADDED: ColorFromHSV() - Returns a Color from HSV values
  382. [core] ADDED: FileExists() - Check if file exists
  383. [core] ADDED: GetFileNameWithoutExt() - Get filename string without extension (memory should be freed)
  384. [core] ADDED: GetDirectoryFiles() - Get filenames in a directory path (memory should be freed)
  385. [core] ADDED: ClearDirectoryFiles() - Clear directory files paths buffers (free memory)
  386. [core] ADDED: OpenURL() - Open URL with default system browser (if available)
  387. [core] ADDED: SetMouseOffset() - Set mouse offset
  388. [core] ADDED: SetMouseScale() - Set mouse scaling
  389. [core] REMOVED: ShowLogo() - Activate raylib logo at startup (can be done with flags)
  390. [shapes] ADDED: DrawCircleSector() - Draw a piece of a circle
  391. [shapes] ADDED: DrawCircleSectorLines() - Draw circle sector outline
  392. [shapes] ADDED: DrawRing() - Draw ring
  393. [shapes] ADDED: DrawRingLines() - Draw ring outline
  394. [shapes] ADDED: DrawRectangleRounded() - Draw rectangle with rounded edges
  395. [shapes] ADDED: DrawRectangleRoundedLines() - Draw rectangle with rounded edges outline
  396. [shapes] ADDED: SetShapesTexture() - Define default texture used to draw shapes
  397. [textures] REVIEWED: ExportImage() - Reorder function parameters
  398. [textures] REVIEWED: ImageDrawRectangle() - Remove unneeded parameter
  399. [textures] ADDED: ExportImageAsCode() - Export image as code file defining an array of bytes
  400. [textures] ADDED: LoadTextureCubemap() - Load cubemap from image, multiple image cubemap layouts supported
  401. [textures] ADDED: ImageExtractPalette() - Extract color palette from image to maximum size (memory should be freed)
  402. [textures] ADDED: ImageDrawRectangleLines() - Draw rectangle lines within an image
  403. [textures] ADDED: DrawTextureQuad() - Draw texture quad with tiling and offset parameters
  404. [textures] ADDED: DrawTextureNPatch() - Draws a texture (or part of it) that stretches or shrinks nicely
  405. [models] REVIEWED: LoadMesh() -> LoadMeshes() - Support multiple meshes loading
  406. [models] REVIEWED: LoadMaterial() -> LoadMaterials() - Support multiple materials loading
  407. [models] REVIEWED: ExportMesh() - Reorder parameters
  408. [models] ADDED: DrawCubeWiresV() - Draw cube wires (Vector version)
  409. [models] ADDED: GenMeshPoly() - Generate polygonal mesh
  410. [models] ADDED: SetMaterialTexture() - Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
  411. [models] ADDED: SetModelMeshMaterial() - Set material for a mesh
  412. [models] ADDED: LoadModelAnimations() - Load model animations from file
  413. [models] ADDED: UpdateModelAnimation() - Update model animation pose
  414. [models] ADDED: UnloadModelAnimation() - Unload animation data
  415. [models] ADDED: IsModelAnimationValid() - Check model animation skeleton match
  416. [rlgl] Improved internal batching mechanism (multibuffering support, triangle texcoords...)
  417. [rlgl] REVIEWED: rlPushMatrix()/rlPopMatrix() - Now works like OpenGL 1.1
  418. [rlgl] REVIEWED: SetShaderValue() - More generic, now requires uniform type
  419. [rlgl] REMOVED: SetShaderValuei() - Can be acoomplished with new SetShaderValue()
  420. [rlgl] ADDED: SetShaderValueV() - Set shader uniform value vector
  421. [rlgl] ADDED: SetShaderValueTexture() - Set shader uniform value for texture
  422. [rlgl] ADDED: BeginScissorMode() - Begin scissor mode (define screen area for following drawing)
  423. [rlgl] ADDED: EndScissorMode() - End scissor mode
  424. [rlgl] ADDED: SetVrConfiguration() - Set stereo rendering configuration parameters
  425. [rlgl] REVIEWED: InitVrSimulator() - No input parameter required, use SetVrConfiguration()
  426. [text] REVIEWED: LoadFontEx() - Reorder function parameters
  427. [text] REVIEWED: LoadFontData() - Reorder function parameters
  428. [text] REVIEWED: GenImageFontAtlas() - Reorder function parameters
  429. [text] RENAMED: FormatText() -> TextFormat()
  430. [text] RENAMED: SubText() -> TextSubtext()
  431. [text] ADDED: LoadFontFromImage() - Load font from Image (XNA style)
  432. [text] ADDED: DrawTextRec() - Draw text using font inside rectangle limits
  433. [text] ADDED: DrawTextRecEx() - Draw text using font inside rectangle limits with support for text selection
  434. [text] ADDED: TextIsEqual() - Check if two text string are equal
  435. [text] ADDED: TextLength() - Get text length, checks for '\0' ending
  436. [text] ADDED: TextReplace() - Replace text string (memory should be freed!)
  437. [text] ADDED: TextInsert() - Insert text in a position (memory should be freed!)
  438. [text] ADDED: TextJoin() - Join text strings with delimiter
  439. [text] ADDED: TextSplit() - Split text into multiple strings
  440. [text] ADDED: TextAppend() - Append text at specific position and move cursor!
  441. [text] ADDED: TextFindIndex() - Find first text occurrence within a string
  442. [text] ADDED: TextToUpper() - Get upper case version of provided string
  443. [text] ADDED: TextToLower() - Get lower case version of provided string
  444. [text] ADDED: TextToPascal() - Get Pascal case notation version of provided string
  445. [text] ADDED: TextToInteger() - Get integer value from text (negative values not supported)
  446. [raudio] ADDED: ExportWave() - Export wave data to file
  447. [raudio] ADDED: ExportWaveAsCode() - Export wave sample data to code (.h)
  448. [raudio] ADDED: IsAudioStreamPlaying() - Check if audio stream is playing
  449. [raudio] ADDED: SetAudioStreamVolume() - Set volume for audio stream (1.0 is max level)
  450. [raudio] ADDED: SetAudioStreamPitch() - Set pitch for audio stream (1.0 is base level)
  451. [examples] Complete review of full examples collection, many additions
  452. [examples] ADDED: core_custom_logging - Custom trace log system
  453. [examples] ADDED: core_input_multitouch - Multitouch input example
  454. [examples] ADDED: core_window_letterbox - Window adapted to screen
  455. [examples] ADDED: core_loading_thread - Data loading in second thread
  456. [examples] REVIEWED: core_input_gamepad - Adapted to new gamepad system
  457. [examples] REVIEWED: core_vr_simulator - HMD device parameters and distortion shader should be provided
  458. [examples] ADDED: core_window_scale_letterbox - Windows resizing and letterbox content
  459. [examples] ADDED: shapes_rectangle_scaling_mouse - Scale a rectangle with mouse
  460. [examples] ADDED: shapes_draw_circle_sector - Circle sector drawing
  461. [examples] ADDED: shapes_draw_ring - Ring drawing
  462. [examples] ADDED: shapes_draw_rectangle_rounded - Rounded rectangle drawing
  463. [examples] ADDED: shapes_bouncing_ball - Ball bouncing in the screen
  464. [examples] ADDED: shapes_collision_area - Collision detection and drawing
  465. [examples] ADDED: shapes_following_eyes - Some maths on eyes and mouse
  466. [examples] ADDED: shapes_easings_ball_anim - Ball animation
  467. [examples] ADDED: shapes_easings_box_anim - Box animation
  468. [examples] ADDED: shapes_easings_rectangle_array - Rectangles animation
  469. [examples] REVIEWED: shapes_colors_palette - Reviewed color selection and text displaying
  470. [examples] ADDED: textures_background_scrolling - Scrolling and parallaz background effect
  471. [examples] ADDED: textures_image_npatch - Drawing N-Patch based boxes
  472. [examples] ADDED: textures_sprite_button - Sprite button with sound
  473. [examples] ADDED: textures_sprite_explosion - Sprite explosion with sound
  474. [examples] ADDED: textures_bunnymark - Benchmarking test
  475. [examples] ADDED: text_draw_inside_rectangle - Drawing text inside a delimited rectangle box
  476. [examples] ADDED: text_unicode - Multiple languages text drawing
  477. [examples] ADDED: text_rectangle_bound - Fit text inside a rectangle
  478. [examples] REVIEWED: text_bmfont_ttf - Simplified example
  479. [examples] ADDED: models_animation - Animated models loading and animation playing
  480. [examples] ADDED: models_obj_viewer - Draw and drop models viewer
  481. [examples] ADDED: models_rlgl_solar_system - Solar system simulation using rlgl functionality
  482. [examples] ADDED: models_first_person_maze - 3D maze fps
  483. [examples] ADDED: shaders_palette_switch - Switching color palette on shader
  484. [examples] ADDED: shaders_raymarching - Raymarching shader
  485. [examples] ADDED: shaders_texture_drawing - Texture drawing on GPU
  486. [examples] ADDED: shaders_texture_waves - Texture waves on shader
  487. [examples] ADDED: shaders_julia_set - Julia set fractals
  488. [examples] ADDED: shaders_eratosthenes - Prime number visualization shader
  489. [examples] REVIEWED: audio_raw_stream - Mostly rewritten
  490. [games] ADDED: GGJ19 game - Cat vs Roomba
  491. [*] Updated external libraries to latest version
  492. [*] Multiple bugs corrected (check github issues)
  493. -----------------------------------------------
  494. Release: raylib 2.0 (July 2018)
  495. -----------------------------------------------
  496. KEY CHANGES:
  497. - Removed external dependencies (GLFW3 and OpenAL)
  498. - Complete redesign of audio module to use miniaudio library
  499. - Support AppVeyor and Travis CI (continuous integration) building
  500. - Reviewed raymath.h for better consistency and performance (inlining)
  501. - Refactor all #define SUPPORT_* into a single config.h
  502. - Support TCC compiler (32bit and 64bit)
  503. Detailed changes:
  504. [build] REMOVED: GitHub develop branch
  505. [build] REMOVED: External dependencies GLFW and OpenAL
  506. [build] ADDED: Android 64bit ARM support
  507. [build] ADDED: FreeBSD, OpenBSD, NetBSD, Dragon Fly OS support
  508. [build] ADDED: Universal Windows Platform (UWP) support
  509. [build] ADDED: Wayland Linux desktop support
  510. [build] ADDED: AppVeyor CI for automatic Windows builds
  511. [build] ADDED: Travis CI for automatic Linux/macOS builds
  512. [build] ADDED: rglfw (GLFW3 module) to avoid external dependency
  513. [build] ADDED: VS2017 UWP project
  514. [build] ADDED: Builder project template
  515. [build] ADDED: Compiler memory sanitizer for better debug
  516. [build] ADDED: CMake package target and CI auto-deploy tags
  517. [build] ADDED: DEBUG library building support
  518. [build] ADDED: Notepad++ NppExec scripts
  519. [build] REVIEWED: VS2015 and VS2017 projects
  520. [build] REVIEWED: Android APK build pipeline
  521. [core] REVIEWED: Window creation hints to support transparent windows
  522. [core] Unified InitWindow() between platforms
  523. [core] Export Android main entry point
  524. [core] RENAMED: Begin3dMode() to BeginMode3D()
  525. [core] RENAMED: End3dMode() to EndMode3D()
  526. [core] RENAMED: Begin2dMode() to BeginMode2D()
  527. [core] RENAMED: End2dMode() to EndMode2D()
  528. [core] RENAMED: struct Camera to Camera3D
  529. [core] RENAMED: struct SpriteFont to Font -> plus all required functions!
  530. [core] RENAMED: enum TextureFormat to PixelFormat
  531. [core] REVIEWED: Rectangle params int to float
  532. [core] REVIEWED: timing system for macOS
  533. [core] REMOVED: ColorToFloat()
  534. [core] ADDED: GetCurrentTime() on macOS
  535. [core] ADDED: GetTime()
  536. [core] ADDED: struct Vector4
  537. [core] ADDED: SetTraceLog() to define trace log messages type
  538. [core] ADDED: GetFileName() to get filename from path string
  539. [core] ADDED: ColorToHSV()
  540. [core] ADDED: ColorNormalize()
  541. [core] ADDED: SetWindowSize() to scale Windows in runtime
  542. [core] ADDED: SetMouseScale() to scale mouse input
  543. [core] ADDED: key definitions - KEY_GRAVE, KEY_SLASH, KEY_BACKSLASH
  544. [core] RENAMED: GetHexValue() to ColorToInt()
  545. [core] REVIEWED: Fade()
  546. [core] REVIEWED: InitWindow() to avoid void pointer (safety)
  547. [core] Support camera 3d orthographic projection mode
  548. [shapes] ADDED: DrawRectangleLinesEx()
  549. [textures] Improved pixel formats support (32bit channels)
  550. [textures] Improved textures support for OpenGL 2.1
  551. [textures] REMOVED: DrawRectangleT() --> Added support to DrawRectangle()
  552. [textures] ADDED: GetPixelDataSize(); pixel data size in bytes (image or texture)
  553. [textures] ADDED: ImageAlphaClear() --> Clear alpha channel to desired color
  554. [textures] ADDED: ImageAlphaCrop() --> Crop image depending on alpha value
  555. [textures] ADDED: ImageAlphaPremultiply() --> Premultiply alpha channel
  556. [textures] ADDED: ImageDrawRectangle()
  557. [textures] ADDED: ImageMipmaps()
  558. [textures] ADDED: GenImageColor()
  559. [textures] ADDED: GetPixelDataSize()
  560. [textures] ADDED: ImageRotateCW()
  561. [textures] ADDED: ImageRotateCCW()
  562. [textures] ADDED: ImageResizeCanvas()
  563. [textures] ADDED: GetImageDataNormalized()
  564. [textures] REVIEWED: ImageFormat() to use normalized data
  565. [textures] REVIEWED: Manual mipmap generation
  566. [textures] REVIEWED: LoadASTC()
  567. [textures] REVIEWED: GenImagePerlinNoise()
  568. [textures] REVIEWED: ImageTextEx() to support UTF8 basic characters
  569. [textures] REVIEWED: GetTextureData() for RPI - requires some work
  570. [textures] Added new example: text drawing on image
  571. [text] Corrected issue with ttf font y-offset
  572. [text] Support SDF font data generation
  573. [text] ADDED: GenImageFontAtlas()
  574. [text] ADDED: LoadFontData() to load data from TTF file
  575. [text] REMOVED: LoadTTF() internal function
  576. [text] REVIEWED: DrawTextEx() - avoid rendering SPACE character!
  577. [text] RENAMED: GetDefaultFont() to GetFontDefault()
  578. [rlgl] ADDED: rlCheckBufferLimit()
  579. [rlgl] ADDED: LoadShaderCode()
  580. [rlgl] ADDED: GetMatrixModelview()
  581. [rlgl] ADDED: SetVrDistortionShader(Shader shader)
  582. [rlgl] REVIEWED: rlLoadTexture() - added mipmaps support, improved compressed textures loading
  583. [rlgl] REVIEWED: rlReadTexturePixels()
  584. [models] Support 4 components mesh.tangent data
  585. [models] Removed tangents generation from LoadOBJ()
  586. [models] ADDED: MeshTangents()
  587. [models] ADDED: MeshBinormals()
  588. [models] ADDED: ExportMesh()
  589. [models] ADDED: GetCollisionRayModel()
  590. [models] RENAMED: CalculateBoundingBox() to MeshBoundingBox()
  591. [models] REMOVED: GetCollisionRayMesh() - does not consider model transform
  592. [models] REVIEWED: LoadMesh() - fallback to default cube mesh if loading fails
  593. [audio] ADDED: Support for MP3 fileformat
  594. [audio] ADDED: IsAudioStreamPlaying()
  595. [audio] ADDED: SetAudioStreamVolume()
  596. [audio] ADDED: SetAudioStreamPitch()
  597. [utils] Corrected issue with SaveImageAs()
  598. [utils] RENAMED: SaveImageAs() to ExportImage()
  599. [utils] REMOVED: rres support - moved to external library (rres.h)
  600. [shaders] REVIEWED: GLSL 120 shaders
  601. [raymath] ADDED: Vector3RotateByQuaternion()
  602. [raymath] REVIEWED: math usage to reduce temp variables
  603. [raymath] REVIEWED: Avoid pointer-based parameters for API consistency
  604. [physac] REVIEWED: physac.h timing system
  605. [examples] Replaced dwarf model by brand new 3d assets: 3d medieval buildings
  606. [examples] Assets cleaning and some replacements
  607. [games] ADDED: GGJ18 game - transmission mission
  608. [games] REVIEWED: Light my Ritual game - improved gameplay drawing
  609. [*] Updated external libraries to latest version
  610. [*] Multiple bugs corrected (check github issues)
  611. -----------------------------------------------
  612. Release: raylib 1.8.0 (Oct 2017)
  613. -----------------------------------------------
  614. NOTE:
  615. In this release, multiple parts of the library have been reviewed (again) for consistency and simplification.
  616. It exposes more than 30 new functions in comparison with previous version and it improves overall programming experience.
  617. BIG CHANGES:
  618. - New Image generation functions: Gradient, Checked, Noise, Cellular...
  619. - New Mesh generation functions: Cube, Sphere, Cylinder, Torus, Knot...
  620. - New Shaders and Materials systems to support PBR materials
  621. - Custom Android APK build pipeline with simple Makefile
  622. - Complete review of rlgl layer functionality
  623. - Complete review of raymath functionality
  624. detailed changes:
  625. [rlgl] RENAMED: rlglLoadTexture() to rlLoadTexture()
  626. [rlgl] RENAMED: rlglLoadRenderTexture() to rlLoadRenderTexture()
  627. [rlgl] RENAMED: rlglUpdateTexture() to rlUpdateTexture()
  628. [rlgl] RENAMED: rlglGenerateMipmaps() to rlGenerateMipmaps()
  629. [rlgl] RENAMED: rlglReadScreenPixels() to rlReadScreenPixels()
  630. [rlgl] RENAMED: rlglReadTexturePixels() to rlReadTexturePixels()
  631. [rlgl] RENAMED: rlglLoadMesh() to rlLoadMesh()
  632. [rlgl] RENAMED: rlglUpdateMesh() to rlUpdateMesh()
  633. [rlgl] RENAMED: rlglDrawMesh() to rlDrawMesh()
  634. [rlgl] RENAMED: rlglUnloadMesh() to rlUnloadMesh()
  635. [rlgl] RENAMED: rlglUnproject() to rlUnproject()
  636. [rlgl] RENAMED: LoadCompressedTexture() to LoadTextureCompressed()
  637. [rlgl] RENAMED: GetDefaultTexture() to GetTextureDefault()
  638. [rlgl] RENAMED: LoadDefaultShader() to LoadShaderDefault()
  639. [rlgl] RENAMED: LoadDefaultShaderLocations() to SetShaderDefaultLocations()
  640. [rlgl] RENAMED: UnloadDefaultShader() to UnLoadShaderDefault()
  641. [rlgl] ADDED: rlGenMapCubemap(), Generate cubemap texture map from HDR texture
  642. [rlgl] ADDED: rlGenMapIrradiance(), Generate irradiance texture map
  643. [rlgl] ADDED: rlGenMapPrefilter(), Generate prefilter texture map
  644. [rlgl] ADDED: rlGenMapBRDF(), Generate BRDF texture map
  645. [rlgl] ADDED: GetVrDeviceInfo(), Get VR device information for some standard devices
  646. [rlgl] REVIEWED: InitVrSimulator(), to accept device parameters as input
  647. [core] ADDED: SetWindowTitle(), Set title for window (only PLATFORM_DESKTOP)
  648. [core] ADDED: GetExtension(), Get file extension
  649. [shapes] REMOVED: DrawRectangleGradient(), replaced by DrawRectangleGradientV() and DrawRectangleGradientH()
  650. [shapes] ADDED: DrawRectangleGradientV(), Draw a vertical-gradient-filled rectangle
  651. [shapes] ADDED: DrawRectangleGradientH(), Draw a horizontal-gradient-filled rectangle
  652. [shapes] ADDED: DrawRectangleGradientEx(), Draw a gradient-filled rectangle with custom vertex colors
  653. [shapes] ADDED: DrawRectangleT(), Draw rectangle using text character
  654. [textures] ADDED: SaveImageAs(), Save image as PNG file
  655. [textures] ADDED: GenImageGradientV(), Generate image: vertical gradient
  656. [textures] ADDED: GenImageGradientH(), Generate image: horizontal gradient
  657. [textures] ADDED: GenImageGradientRadial(), Generate image: radial gradient
  658. [textures] ADDED: GenImageChecked(), Generate image: checked
  659. [textures] ADDED: GenImageWhiteNoise(), Generate image: white noise
  660. [textures] ADDED: GenImagePerlinNoise(), Generate image: perlin noise
  661. [textures] ADDED: GenImageCellular(), Generate image: cellular algorithm. Bigger tileSize means bigger cells
  662. [textures] ADDED: GenTextureCubemap(), Generate cubemap texture from HDR texture
  663. [textures] ADDED: GenTextureIrradiance(), Generate irradiance texture using cubemap data
  664. [textures] ADDED: GenTexturePrefilter(), Generate prefilter texture using cubemap data
  665. [textures] ADDED: GenTextureBRDF(), Generate BRDF texture using cubemap data
  666. [models] REMOVED: LoadMeshEx(), Mesh struct variables can be directly accessed
  667. [models] REMOVED: UpdateMesh(), very ineficient
  668. [models] REMOVED: LoadHeightmap(), use GenMeshHeightmap() and LoadModelFromMesh()
  669. [models] REMOVED: LoadCubicmap(), use GenMeshCubicmap() and LoadModelFromMesh()
  670. [models] RENAMED: LoadDefaultMaterial() to LoadMaterialDefault()
  671. [models] ADDED: GenMeshPlane(), Generate plane mesh (with subdivisions)
  672. [models] ADDED: GenMeshCube(), Generate cuboid mesh
  673. [models] ADDED: GenMeshSphere(), Generate sphere mesh (standard sphere)
  674. [models] ADDED: GenMeshHemiSphere(), Generate half-sphere mesh (no bottom cap)
  675. [models] ADDED: GenMeshCylinder(), Generate cylinder mesh
  676. [models] ADDED: GenMeshTorus(), Generate torus mesh
  677. [models] ADDED: GenMeshKnot(), Generate trefoil knot mesh
  678. [models] ADDED: GenMeshHeightmap(), Generate heightmap mesh from image data
  679. [models] ADDED: GenMeshCubicmap(), Generate cubes-based map mesh from image data
  680. [raymath] REVIEWED: full Matrix functionality to align with GLM in usage
  681. [raymath] RENAMED: Vector3 functions for consistency: Vector*() renamed to Vector3*()
  682. [build] Integrate Android APK building into examples Makefile
  683. [build] Integrate Android APK building into templates Makefiles
  684. [build] Improved Visual Studio 2015 project, folders, references...
  685. [templates] Reviewed the full pack to support Android building
  686. [examples] Reviewed full collection to adapt to raylib changes
  687. [examples] [textures] ADDED: textures_image_generation
  688. [examples] [models] ADDED: models_mesh_generation
  689. [examples] [models] ADDED: models_material_pbr
  690. [examples] [models] ADDED: models_skybox
  691. [examples] [models] ADDED: models_yaw_pitch_roll
  692. [examples] [others] REVIEWED: rlgl_standalone
  693. [examples] [others] REVIEWED: audio_standalone
  694. [github] Moved raylib webpage to own repo: github.com/raysan5/raylib.com
  695. [games] Reviewed game: Koala Seasons
  696. [*] Updated STB libraries to latest version
  697. [*] Multiple bugs corrected (check github issues)
  698. -----------------------------------------------
  699. Release: raylib 1.7.0 (20 May 2017)
  700. -----------------------------------------------
  701. NOTE:
  702. In this new raylib release, multiple parts of the library have been reviewed for consistency and simplification.
  703. It exposes almost 300 functions, around 30 new functions in comparison with previous version and, again,
  704. it sets a stepping stone towards raylib future.
  705. BIG changes:
  706. - More than 30 new functions added to the library, check list below.
  707. - Support of configuration flags on every raylib module, to customize library build.
  708. - Improved build system for all supported platforms with a unique Makefile to compile sources.
  709. - Complete review of examples and sample games, added new sample material.
  710. - Support automatic GIF recording of current window, just pressing Ctrl+F12
  711. - Improved library consistency and organization in general.
  712. other changes:
  713. [core] Added function: SetWindowIcon(), to setup icon by code
  714. [core] Added function: SetWindowMonitor(), to set current display monitor
  715. [core] Added function: SetWindowMinSize(), to set minimum resize size
  716. [core] Added function: TakeScreenshot(), made public to API (also launched internally with F12)
  717. [core] Added function: GetDirectoryPath(), get directory for a given fileName (with path)
  718. [core] Added function: GetWorkingDirectory(), get current working directory
  719. [core] Added function: ChangeDirectory(), change working directory
  720. [core] Added function: TraceLog(), made public to API
  721. [core] Improved timing system to avoid busy wait loop on frame sync: Wait()
  722. [core] Added support for gamepad on HTML5 platform
  723. [core] Support mouse lock, useful for camera system
  724. [core] Review functions description comments
  725. [rlgl] Removed function: GetStandardShader(), removed internal standard shader
  726. [rlgl] Removed function: CreateLight(), removed internal lighting system
  727. [rlgl] Removed function: DestroyLight(), removed internal lighting system
  728. [rlgl] Removed function: InitVrDevice(), removed VR device render, using simulator
  729. [rlgl] Removed function: CloseVrDevice(), removed VR device render, using simulator
  730. [rlgl] Removed function: IsVrDeviceReady(), removed VR device render, using simulator
  731. [rlgl] Removed function: IsVrSimulator(), removed VR device render, using simulator
  732. [rlgl] Added function: InitVrSimulator(), init VR simulator for selected device
  733. [rlgl] Added function: CloseVrSimulator(), close VR simulator for current device
  734. [rlgl] Added function: IsVrSimulatorReady(), detect if VR device is ready
  735. [rlgl] Added function: BeginVrDrawing(), begin VR simulator stereo rendering
  736. [rlgl] Added function: EndVrDrawing(), end VR simulator stereo rendering
  737. [rlgl] Renamed function: ReadTextFile() to LoadText() and exposed to API
  738. [rlgl] Removed internal lighting system and standard shader, moved to example
  739. [rlgl] Removed Oculus Rift support, moved to oculus_rift example
  740. [rlgl] Removed VR device support and replaced by VR simulator
  741. [shapes] Added function: DrawLineEx(), draw line with QUADS, supports custom line thick
  742. [shapes] Added function: DrawLineBezier(), draw a line using cubic-bezier curves in-out
  743. [shapes] Added function: DrawRectanglePro(), draw a color-filled rectangle with pro parameters
  744. [textures] Removed function: LoadImageFromRES(), redesigning custom RRES fileformat
  745. [textures] Removed function: LoadTextureFromRES(), redesigning custom RRES fileformat
  746. [textures] Removed function: LoadTextureEx(), use instead Image -> LoadImagePro(), LoadImageEx()
  747. [textures] Added function: LoadImagePro()), load image from raw data with parameters
  748. [textures] Review TraceLog() message when image file not found
  749. [text] Renamed function: LoadSpriteFontTTF() to LoadSpriteFontEx(), for consistency
  750. [text] Removed rBMF fileformat support, replaced by .png
  751. [text] Refactor SpriteFont struct (better for rres custom fileformat)
  752. [text] Renamed some variables for consistency
  753. [models] Added function: LoadMesh(), load mesh from file
  754. [models] Added function: LoadMeshEx(), load mesh from vertex data
  755. [models] Added function: UnloadMesh(), unload mesh from memory (RAM and/or VRAM)
  756. [models] Added function: GetCollisionRayMesh(), get collision info between ray and mesh
  757. [models] Added function: GetCollisionRayTriangle(), get collision info between ray and triangle
  758. [models] Added function: GetCollisionRayGround(), get collision info between ray and ground plane
  759. [models] Renamed function: LoadModelEx() to LoadModelFromMesh()
  760. [models] Removed function: DrawLight(), removed internal lighting system
  761. [models] Renamed function: LoadModelEx() to LoadModelFromMesh() for consistency
  762. [models] Removed function: LoadStandardMaterial(), removed internal standard shader
  763. [models] Removed function: LoadModelFromRES(), redesigning custom RRES fileformat
  764. [models] Renamed multiple variables for consistency
  765. [audio] Added function: SetMasterVolume(), define listener volume
  766. [audio] Added function: ResumeSound(), resume a paused sound
  767. [audio] Added function: SetMusicLoopCount(), set number of repeats for a music
  768. [audio] Added function: LoadWaveEx(), load wave from raw audio data
  769. [audio] Added function: WaveCrop(), crop wave audio data
  770. [audio] Added function: WaveFormat(), format audio data
  771. [audio] Removed function: LoadSoundFromRES(), redesigning custom RRES fileformat
  772. [audio] Added support for 32bit audio samples
  773. [audio] Preliminary support for multichannel, limited to mono and stereo
  774. [audio] Make sure buffers are ready for update: UpdateMusicStream()
  775. [utils] Replaced function: GetExtension() by IsFileExtension() and made public to API
  776. [utils] Unified function: TraceLog() between Android and other platforms
  777. [utils] Removed internal function: GetNextPOT(), simplified implementation
  778. [raymath] Added function: QuaternionToEuler(), to work with Euler angles
  779. [raymath] Added function: QuaternionFromEuler(), to work with Euler angles
  780. [raymath] Added multiple Vector2 math functions
  781. [build] Integrate Android source building into Makefile
  782. [example] Added example: shapes_lines_bezier
  783. [example] Added example: text_input_box
  784. [github] Moved gh-pages branch to master/docs
  785. [github] Moved rlua.h and Lua examples to own repo: raylib-lua
  786. [games] Reviewed full games collection
  787. [games] New game added to collection: Koala Seasons
  788. [*] Reviewed and improved examples collection (new assets)
  789. [*] Reorganized library functions, structs, enums
  790. [*] Updated STB libraries to latest version
  791. -----------------------------------------------
  792. Release: raylib 1.6.0 (20 November 2016)
  793. -----------------------------------------------
  794. NOTE:
  795. This new raylib version commemorates raylib 3rd anniversary and represents another complete review of the library.
  796. It includes some interesting new features and is a stepping stone towards raylib future.
  797. HUGE changes:
  798. [rlua] Lua BINDING: Complete raylib Lua binding, ALL raylib functions ported to Lua plus the +60 code examples.
  799. [audio] COMPLETE REDESIGN: Improved music support and also raw audio data processing and playing, +20 new functions added.
  800. [physac] COMPLETE REWRITE: Improved performance, functionality and simplified usage, moved to own repository and added multiple examples!
  801. other changes:
  802. [core] Corrected issue on OSX with HighDPI display
  803. [core] Added flag to allow resizable window
  804. [core] Allow no default font loading
  805. [core] Corrected old issue with mouse buttons on web
  806. [core] Improved gamepad support, unified across platforms
  807. [core] Gamepad id functionality: GetGamepadName(), IsGamepadName()
  808. [core] Gamepad buttons/axis checking functionality:
  809. [core] Reviewed Android key inputs system, unified with desktop
  810. [rlgl] Redesigned lighting shader system
  811. [rlgl] Updated standard shader for better performance
  812. [rlgl] Support alpha on framebuffer: rlglLoadRenderTexture()
  813. [rlgl] Reviewed UpdateVrTracking() to update camera
  814. [rlgl] Added IsVrSimulator() to check for VR simulator
  815. [shapes] Corrected issue on DrawPolyEx()
  816. [textures] Simplified supported image formats support
  817. [textures] Improved text drawing within an image: ImageDrawText()
  818. [textures] Support image alpha mixing: ImageAlphaMask()
  819. [textures] Support textures filtering: SetTextureFilter()
  820. [textures] Support textures wrap modes: SetTextureWrap()
  821. [text] Improved TTF spritefont generation: LoadSpriteFontTTF()
  822. [text] Improved AngelCode fonts support (unordered chars)
  823. [text] Added TraceLog info on image spritefont loading
  824. [text] Improved text measurement: MeasureTextEx()
  825. [models] Improved OBJ loading flexibility
  826. [models] Reviewed functions: DrawLine3D(), DrawCircle3D()
  827. [models] Removed function: ResolveCollisionCubicmap()
  828. [camera] Redesigned camera system and ported to header-only
  829. [camera] Removed function: UpdateCameraPlayer()
  830. [gestures] Redesigned gestures module to header-only
  831. [audio] Simplified Music loading and playing system
  832. [audio] Added trace on audio device closing
  833. [audio] Reviewed Wave struct, improved flexibility
  834. [audio] Support sound data update: UpdateSound()
  835. [audio] Added support for FLAC audio loading/streaming
  836. [raygui] Removed raygui from raylib repo (moved to own repo)
  837. [build] Added OpenAL static library
  838. [build] Added Visual Studio 2015 projects
  839. [build] Support shared/dynamic raylib compilation
  840. [*] Updated LibOVR to SDK version 1.8
  841. [*] Updated games to latest raylib version
  842. [*] Improved examples and added new ones
  843. [*] Improved Android support
  844. -----------------------------------------------
  845. Release: raylib 1.5.0 (18 July 2016)
  846. -----------------------------------------------
  847. NOTE:
  848. Probably this new version is the biggest boost of the library ever, lots of parts of the library have been redesigned,
  849. lots of bugs have been solved and some **AMAZING** new features have been added.
  850. HUGE changes:
  851. [rlgl] OCULUS RIFT CV1: Added support for VR, not oly Oculus Rift CV1 but also stereo rendering simulator (multiplatform).
  852. [rlgl] MATERIALS SYSTEM: Added support for Materials (.mtl) and multiple material properties: diffuse, specular, normal.
  853. [rlgl] LIGHTING SYSTEM: Added support for up to 8 lights of 3 different types: Omni, Directional and Spot.
  854. [physac] REDESIGNED: Improved performance and simplified usage, physic objects now are managed internally in a second thread!
  855. [audio] CHIPTUNES: Added support for module audio music (.xm, .mod) loading and playing. Multiple mixing channels supported.
  856. other changes:
  857. [core] Review Android button inputs
  858. [core] Support Android internal data storage
  859. [core] Renamed WorldToScreen() to GetWorldToScreen()
  860. [core] Removed function SetCustomCursor()
  861. [core] Removed functions BeginDrawingEx(), BeginDrawingPro()
  862. [core] Replaced functions InitDisplay() + InitGraphics() with: InitGraphicsDevice()
  863. [core] Added support for field-of-view Y (fovy) on 3d Camera
  864. [core] Added 2D camera mode functions: Begin2dMode() - End2dMode()
  865. [core] Translate mouse inputs to Android touch/gestures internally
  866. [core] Translate mouse inputs as touch inputs in HTML5
  867. [core] Improved function GetKeyPressed() to support multiple keys (including function keys)
  868. [core] Improved gamepad support, specially for RaspberryPi (including multiple gamepads support)
  869. [rlgl] Support stereo rendering simulation (duplicate draw calls by viewport, optimized)
  870. [rlgl] Added distortion shader (embeded) to support custom VR simulator: shader_distortion.h
  871. [rlgl] Added support for OpenGL 2.1 on desktop
  872. [rlgl] Improved 2D vs 3D drawing system (lines, triangles, quads)
  873. [rlgl] Improved DXT-ETC1 support on HTML5
  874. [rlgl] Review function: rlglUnproject()
  875. [rlgl] Removed function: rlglInitGraphics(), integrated into rlglInit()
  876. [rlgl] Updated Mesh and Shader structs
  877. [rlgl] Simplified internal (default) dynamic buffers
  878. [rlgl] Added support for indexed and dynamic mesh data
  879. [rlgl] Set fixed vertex attribs location points
  880. [rlgl] Improved mesh data loading support
  881. [rlgl] Added standard shader (embeded) to support materials and lighting: shader_standard.h
  882. [rlgl] Added light functions: CreateLight(), DestroyLight()
  883. [rlgl] Added wire mode functions: rlDisableWireMode(), rlEnableWireMode()
  884. [rlgl] Review function consistency, added: rlglLoadMesh(), rlglUpdateMesh(), rlglDrawMesh(), rlglUnloadMesh()
  885. [rlgl] Replaced SetCustomShader() by: BeginShaderMode() - EndShaderMode()
  886. [rlgl] Replaced SetBlendMode() by: BeginBlendMode() - EndBlendMode()
  887. [rlgl] Added functions to customize internal matrices: SetMatrixProjection(), SetMatrixModelview()
  888. [rlgl] Unified internal shaders to only one default shader
  889. [rlgl] Added support for render to texture (RenderTexture2D):
  890. LoadRenderTexture() - UnloadRenderTexture()
  891. BeginTextureMode() - EndTextureMode()
  892. [rlgl] Removed SetShaderMap*() functions
  893. [rlgl] Redesigned default buffers usage functions:
  894. LoadDefaultBuffers() - UnloadDefaultBuffers()
  895. UpdateDefaultBuffers() - DrawDefaultBuffers()
  896. [shapes] Corrected bug on GetCollisionRec()
  897. [textures] Added support for Nearest-Neighbor image scaling
  898. [textures] Added functions to draw text on image: ImageDrawText(), ImageDrawTextEx()
  899. [text] Reorganized internal functions: Added LoadImageFont()
  900. [text] Security check for unsupported BMFonts
  901. [models] Split mesh creation from model loading on heightmap and cubicmap
  902. [models] Updated BoundingBox collision detections
  903. [models] Added color parameter to DrawBoundigBox()
  904. [models] Removed function: DrawQuad()
  905. [models] Removed function: SetModelTexture()
  906. [models] Redesigned DrawPlane() to use RL_TRIANGLES
  907. [models] Redesigned DrawRectangleV() to use RL_TRIANGLES
  908. [models] Redesign to accomodate new materials system: LoadMaterial()
  909. [models] Added material functions: LoadDefaultMaterial(), LoadStandardMaterial()
  910. [models] Added MTL material loading support: LoadMTL()
  911. [models] Added function: DrawLight()
  912. [audio] Renamed SoundIsPlaying() to IsSoundPlaying()
  913. [audio] Renamed MusicIsPlaying() to IsMusicPlaying()
  914. [audio] Support multiple Music streams (indexed)
  915. [audio] Support multiple mixing channels
  916. [gestures] Improved and reviewed gestures system
  917. [raymath] Added QuaternionInvert()
  918. [raymath] Removed function: PrintMatrix()
  919. [raygui] Ported to header-only library (https://github.com/raysan5/raygui)
  920. [shaders] Added depth drawing shader (requires a depth texture)
  921. [shaders] Reviewed included shaders and added comments
  922. [OpenAL Soft] Updated to latest version (1.17.2)
  923. [GLFW3] Updated to latest version (3.2)
  924. [stb] Updated to latest headers versions
  925. [GLAD] Converted to header only library and simplified to only used extensions
  926. [*] Reorganize library folders: external libs moved to src/external folder
  927. [*] Reorganize src folder for Android library
  928. [*] Review external dependencies usage
  929. [*] Improved Linux and OSX build systems
  930. [*] Lots of tweaks and bugs corrected all around
  931. -----------------------------------------------
  932. Release: raylib 1.4.0 (22 February 2016)
  933. -----------------------------------------------
  934. NOTE:
  935. This version supposed another big improvement for raylib, including new modules and new features.
  936. More than 30 new functions have been added to previous raylib version.
  937. Around 8 new examples and +10 new game samples have been added.
  938. BIG changes:
  939. [textures] IMAGE MANIPULATION: Functions to crop, resize, colorize, flip, dither and even draw image-to-image or text-to-image.
  940. [text] SPRITEFONT SUPPORT: Added support for AngelCode fonts (.fnt) and TrueType fonts (.ttf).
  941. [gestures] REDESIGN: Gestures system simplified and prepared to process generic touch events, including mouse events (multiplatform).
  942. [physac] NEW MODULE: Basic 2D physics support, use colliders and rigidbodies; apply forces to physic objects.
  943. other changes:
  944. [rlgl] Removed GLEW library dependency, now using GLAD
  945. [rlgl] Implemented alternative to glGetTexImage() on OpenGL ES
  946. [rlgl] Using depth data on batch drawing
  947. [rlgl] Reviewed glReadPixels() function
  948. [core][rlgl] Reviewed raycast system, now 3D picking works
  949. [core] Android: Reviewed Android App cycle, paused if inactive
  950. [shaders] Implemented Blinn-Phong lighting shading model
  951. [textures] Implemented Floyd-Steinberg dithering - ImageDither()
  952. [text] Added line-break support to DrawText()
  953. [text] Added TrueType Fonts support (using stb_truetype)
  954. [models] Implement function: CalculateBoundingBox(Mesh mesh)
  955. [models] Added functions to check Ray collisions
  956. [models] Improve map resolution control on LoadHeightmap()
  957. [camera] Corrected small-glitch on zoom-in with mouse-wheel
  958. [gestures] Implemented SetGesturesEnabled() to enable only some gestures
  959. [gestures] Implemented GetElapsedTime() on Windows system
  960. [gestures] Support mouse gestures for desktop platforms
  961. [raymath] Complete review of the module and converted to header-only
  962. [easings] Added new module for easing animations
  963. [stb] Updated to latest headers versions
  964. [*] Lots of tweaks around
  965. -----------------------------------------------
  966. Release: raylib 1.3.0 (01 September 2015)
  967. -----------------------------------------------
  968. NOTE:
  969. This version supposed a big boost for raylib, new modules have been added with lots of features.
  970. Most of the modules have been completely reviewed to accomodate to the new features.
  971. Over 50 new functions have been added to previous raylib version.
  972. Most of the examples have been redone and +10 new advanced examples have been added.
  973. BIG changes:
  974. [rlgl] SHADERS: Support for model shaders and postprocessing shaders (multiple functions)
  975. [textures] FORMATS: Support for multiple internal formats, including compressed formats
  976. [camera] NEW MODULE: Set of cameras for 3d view: Free, Orbital, 1st person, 3rd person
  977. [gestures] NEW MODULE: Gestures system for Android and HTML5 platforms
  978. [raygui] NEW MODULE: Set of IMGUI elements for tools development (experimental)
  979. other changes:
  980. [rlgl] Added check for OpenGL supported extensions
  981. [rlgl] Added function SetBlenMode() to select some predefined blending modes
  982. [core] Added support for drop&drag of external files into running program
  983. [core] Added functions ShowCursor(), HideCursor(), IsCursorHidden()
  984. [core] Renamed function SetFlags() to SetConfigFlags()
  985. [shapes] Simplified some functions to improve performance
  986. [textures] Review of Image struct to support multiple data formats
  987. [textures] Added function LoadImageEx()
  988. [textures] Added function LoadImageRaw()
  989. [textures] Added function LoadTextureEx()
  990. [textures] Simplified function parameters LoadTextureFromImage()
  991. [textures] Added function GetImageData()
  992. [textures] Added function GetTextureData()
  993. [textures] Renamed function ConvertToPOT() to ImageConvertToPOT()
  994. [textures] Added function ImageConvertFormat()
  995. [textures] Added function GenTextureMipmaps()
  996. [text] Added support for Latin-1 Extended characters for default font
  997. [text] Redesigned SpriteFont struct, replaced Character struct by Rectangle
  998. [text] Removed function GetFontBaseSize(), use directly spriteFont.size
  999. [models] Review of struct: Model (added shaders support)
  1000. [models] Added 3d collision functions (sphere vs sphere vs box vs box)
  1001. [models] Added function DrawCubeTexture()
  1002. [models] Added function DrawQuad()
  1003. [models] Added function DrawRay()
  1004. [models] Simplified funtion DrawPlane()
  1005. [models] Removed function DrawPlaneEx()
  1006. [models] Simplified funtion DrawGizmo()
  1007. [models] Removed function DrawGizmoEx()
  1008. [models] Added function LoadModelEx()
  1009. [models] Review of function LoadCubicMap()
  1010. [models] Added function ResolveCollisionCubicmap()
  1011. [audio] Decopupled from raylib, now this module can be used as standalone
  1012. [audio] Added function UpdateMusicStream()
  1013. [raymath] Complete review of the module
  1014. [stb] Updated to latest headers versions
  1015. [*] Lots of tweaks around
  1016. -----------------------------------------------
  1017. Release: raylib 1.2.2 (31 December 2014)
  1018. -----------------------------------------------
  1019. [*] Added support for HTML5 compiling (emscripten, asm.js)
  1020. [core] Corrected bug on input handling (keyboard and mouse)
  1021. [textures] Renamed function CreateTexture() to LoadTextureFromImage()
  1022. [textures] Added function ConvertToPOT()
  1023. [rlgl] Added support for color tint on models on GL 3.3+ and ES2
  1024. [rlgl] Added support for normals on models
  1025. [models] Corrected bug on DrawBillboard()
  1026. [models] Corrected bug on DrawHeightmap()
  1027. [models] Renamed LoadCubesmap() to LoadCubicmap()
  1028. [audio] Added function LoadSoundFromWave()
  1029. [makefile] Added support for Linux and OSX compiling
  1030. [stb] Updated to latest headers versions
  1031. [*] Lots of tweaks around
  1032. ---------------------------------------------------------------
  1033. Update: raylib 1.2.1 (17 October 2014) (Small Fixes Update)
  1034. ---------------------------------------------------------------
  1035. [core] Added function SetupFlags() to preconfigure raylib Window
  1036. [core] Corrected bug on fullscreen mode
  1037. [rlgl] rlglDrawmodel() - Added rotation on Y axis
  1038. [text] MeasureTextEx() - Corrected bug on measures for default font
  1039. -----------------------------------------------
  1040. Release: raylib 1.2 (16 September 2014)
  1041. -----------------------------------------------
  1042. NOTE:
  1043. This version supposed a complete redesign of the [core] module to support Android and Raspberry Pi.
  1044. Multiples modules have also been tweaked to accomodate to the new platforms, specially [rlgl]
  1045. [core] Added multiple platforms support: Android and Raspberry Pi
  1046. [core] InitWindow() - Complete rewrite and split for Android
  1047. [core] InitDisplay() - Internal function added to calculate proper display size
  1048. [core] InitGraphics() - Internal function where OpenGL graphics are initialized
  1049. [core] Complete refactoring of input functions to accomodate to new platforms
  1050. [core] Mouse and Keyboard raw data reading functions added for Raspberry Pi
  1051. [core] GetTouchX(), GetTouchY() - Added for Android
  1052. [core] Added Android callbacks to process inputs and Android activity commands
  1053. [rlgl] Adjusted buffers depending on platform
  1054. [rlgl] Added security check in case deployed vertex excess buffer size
  1055. [rlgl] Adjusted indices type depending on GL version (int or short)
  1056. [rlgl] Fallback to VBOs only usage if VAOs not supported on ES2
  1057. [rlgl] rlglLoadModel() stores vbo ids on new Model struct
  1058. [textures] Added support for PKM files (ETC1, ETC2 compression support)
  1059. [shapes] DrawRectangleV() - Modified, depending on OGL version uses TRIANGLES or QUADS
  1060. [text] LoadSpriteFont() - Modified to use LoadImage()
  1061. [models] Minor changes on models loading to accomodate to new Model struct
  1062. [audio] PauseMusicStream(), ResumeMusicStream() - Added
  1063. [audio] Reduced music buffer size to avoid stalls on Raspberry Pi
  1064. [src] Added makefile for Windows and RPI
  1065. [src] Added resources file (raylib icon and executable info)
  1066. [examples] Added makefile for Windows and RPI
  1067. [examples] Renamed and merged with test examples for coherence with module names
  1068. [templates] Added multiple templates to be use as a base-code for games
  1069. -----------------------------------------------
  1070. Release: raylib 1.1.1 (22 July 2014)
  1071. -----------------------------------------------
  1072. [core] ShowLogo() - To enable raylib logo animation at startup
  1073. [core] Corrected bug with window resizing
  1074. [rlgl] Redefined colors arrays to use byte instead of float
  1075. [rlgl] Removed double buffer system (no performance improvement)
  1076. [rlgl] rlglDraw() - Reorganized buffers drawing order
  1077. [rlgl] Corrected bug on screen resizing
  1078. [shapes] DrawRectangle() - Use QUADS instead of TRIANGLES
  1079. [models] DrawSphereWires() - Corrected some issues
  1080. [models] LoadOBJ() - Redesigned to support multiple meshes
  1081. [models] LoadCubesMap() - Loading a map as cubes (by pixel color)
  1082. [textures] Added security check if file doesn't exist
  1083. [text] Corrected bug on SpriteFont loading
  1084. [examples] Corrected some 3d examples
  1085. [test] Added cubesmap loading test
  1086. -----------------------------------------------
  1087. Release: raylib 1.1.0 (19 April 2014)
  1088. -----------------------------------------------
  1089. NOTE:
  1090. This version supposed a complete internal redesign of the library to support OpenGL 3.3+ and OpenGL ES 2.0.
  1091. New module [rlgl] has been added to 'translate' immediate mode style functions (i.e. rlVertex3f()) to GL 1.1, 3.3+ or ES2.
  1092. Another new module [raymath] has also been added with lot of useful 3D math vector-matrix-quaternion functions.
  1093. [rlgl] New module, abstracts OpenGL rendering (multiple versions support)
  1094. [raymath] New module, useful 3D math vector-matrix-quaternion functions
  1095. [core] Adapt all OpenGL code (initialization, drawing) to use [rlgl]
  1096. [shapes] Rewrite all shapes drawing functions to use [rlgl]
  1097. [textures] Adapt texture GPU loading to use [rlgl]
  1098. [textures] Added support for DDS images (compressed and uncompressed)
  1099. [textures] CreateTexture() - Redesigned to add mipmap automatic generation
  1100. [textures] DrawTexturePro() - Redesigned and corrected bugs
  1101. [models] Rewrite all 3d-shapes drawing functions to use [rlgl]
  1102. [models] Adapt model loading and drawing to use [rlgl]
  1103. [models] Model struct updated to include texture id
  1104. [models] SetModelTexture() - Added, link a texture to a model
  1105. [models] DrawModelEx() - Redesigned with extended parameters
  1106. [audio] Added music streaming support (OGG files)
  1107. [audio] Added support for OGG files as Sound
  1108. [audio] PlayMusicStream() - Added, open a new music stream and play it
  1109. [audio] StopMusicStream() - Added, stop music stream playing and close stream
  1110. [audio] PauseMusicStream() - Added, pause music stream playing
  1111. [audio] MusicIsPlaying() - Added, to check if music is playing
  1112. [audio] SetMusicVolume() - Added, set volume for music
  1113. [audio] GetMusicTimeLength() - Added, get current music time length (in seconds)
  1114. [audio] GetMusicTimePlayed() - Added, get current music time played (in seconds)
  1115. [utils] Added log tracing functionality - TraceLog(), TraceLogOpen(), TraceLogClose()
  1116. [*] Log tracing messages all around the code
  1117. -----------------------------------------------
  1118. Release: raylib 1.0.6 (16 March 2014)
  1119. -----------------------------------------------
  1120. [core] Removed unused lighting-system code
  1121. [core] Removed SetPerspective() function, calculated directly
  1122. [core] Unload and reload default font on fullscreen toggle
  1123. [core] Corrected bug gamepad buttons checking if no gamepad available
  1124. [texture] DrawTextureV() - Added, to draw using Vector2 for position
  1125. [texture] LoadTexture() - Redesigned, now uses LoadImage() + CreateTexture()
  1126. [text] FormatText() - Corrected memory leak bug
  1127. [models] Added Matrix struct and related functions
  1128. [models] DrawBillboard() - Reviewed, now it works!
  1129. [models] DrawBillboardRec() - Reviewed, now it works!
  1130. [tests] Added folder with multiple tests for new functions
  1131. -----------------------------------------------
  1132. Update: raylib 1.0.5 (28 January 2014)
  1133. -----------------------------------------------
  1134. [audio] LoadSound() - Corrected a bug, WAV file was not closed!
  1135. [core] GetMouseWheelMove() - Added, check mouse wheel Y movement
  1136. [texture] CreateTexture2D() renamed to CreateTexture()
  1137. [models] LoadHeightmap() - Added, Heightmap can be loaded as a Model
  1138. [tool] rREM updated, now supports (partially) drag and drop of files
  1139. -----------------------------------------------
  1140. Release: raylib 1.0.4 (23 January 2014)
  1141. -----------------------------------------------
  1142. [tool] Published a first alpha version of rREM tool (raylib Resource Embedder)
  1143. [core] GetRandomValue() - Bug corrected, now works right
  1144. [core] Fade() - Added, fades a color to an alpha percentadge
  1145. [core] WriteBitmap() - Moved to new module: utils.c, not used anymore
  1146. [core] TakeScreenshot() - Now uses WritePNG() (utils.c)
  1147. [utils] New module created with utility functions
  1148. [utils] WritePNG() - Write a PNG file (used by TakeScreenshot() on core)
  1149. [utils] DecompressData() - Added, used for rRES resource data decompresion
  1150. [textures] LoadImageFromRES() - Added, load an image from a rRES resource file
  1151. [textures] LoadTextureFromRES() - Added, load a texture from a rRES resource file
  1152. [audio] LoadSoundFromRES() - Added, load a sound from a rRES resource file
  1153. [audio] IsPlaying() - Added, check if a sound is currently playing
  1154. [audio] SetVolume() - Added, set the volume for a sound
  1155. [audio] SetPitch() - Added, set the pitch for a sound
  1156. [examples] ex06a_color_select completed
  1157. [examples] ex06b_logo_anim completed
  1158. [examples] ex06c_font select completed
  1159. -----------------------------------------------
  1160. Release: raylib 1.0.3 (19 December 2013)
  1161. -----------------------------------------------
  1162. [fonts] Added 8 rBMF free fonts to be used on projects!
  1163. [text] LoadSpriteFont() - Now supports rBMF file loading (raylib Bitmap Font)
  1164. [examples] ex05a_sprite_fonts completed
  1165. [examples] ex05b_rbmf_fonts completed
  1166. [core] InitWindowEx() - InitWindow with extended parameters, resizing option and custom cursor!
  1167. [core] GetRandomValue() - Added, returns a random value within a range (int)
  1168. [core] SetExitKey() - Added, sets a key to exit program (default is ESC)
  1169. [core] Custom cursor not drawn when mouse out of screen
  1170. [shapes] CheckCollisionPointRec() - Added, check collision between point and rectangle
  1171. [shapes] CheckCollisionPointCircle() - Added, check collision between point and circle
  1172. [shapes] CheckCollisionPointTriangle() - Added, check collision between point and triangle
  1173. [shapes] DrawPoly() - Added, draw regular polygons of n sides, rotation can be defined!
  1174. -----------------------------------------------
  1175. Release: raylib 1.0.2 (1 December 2013)
  1176. -----------------------------------------------
  1177. [text] GetDefaultFont() - Added, get default SpriteFont to be used on DrawTextEx()
  1178. [shapes] CheckCollisionRecs() - Added, check collision between rectangles
  1179. [shapes] CheckCollisionCircles() - Added, check collision between circles
  1180. [shapes] CheckCollisionCircleRec() - Added, check collision circle-rectangle
  1181. [shapes] GetCollisionRec() - Added, get collision rectangle
  1182. [textures] CreateTexture2D() - Added, create Texture2D from Image data
  1183. [audio] Fixed WAV loading function, now audio works!
  1184. -----------------------------------------------
  1185. Update: raylib 1.0.1 (28 November 2013)
  1186. -----------------------------------------------
  1187. [text] DrawText() - Removed spacing parameter
  1188. [text] MeasureText() - Removed spacing parameter
  1189. [text] DrawFps() - Renamed to DrawFPS() for coherence with similar function
  1190. [core] IsKeyPressed() - Change functionality, check if key pressed once
  1191. [core] IsKeyDown() - Added, check if key is being pressed
  1192. [core] IsKeyReleased() - Change functionality, check if key released once
  1193. [core] IsKeyUp() - Added, check if key is being NOT pressed
  1194. [core] IsMouseButtonDown() - Added, check if mouse button is being pressed
  1195. [core] IsMouseButtonPressed() - Change functionality, check if mouse button pressed once
  1196. [core] IsMouseButtonUp() - Added, check if mouse button is NOT being pressed
  1197. [core] IsMouseButtonReleased() - Change functionality, check if mouse button released once
  1198. [textures] DrawTexturePro() - Added, texture drawing with 'pro' parameters
  1199. [examples] Function changes applied to ALL examples
  1200. -----------------------------------------------
  1201. Release: raylib 1.0.0 (18 November 2013)
  1202. -----------------------------------------------
  1203. * Initial version
  1204. * 6 Modules provided:
  1205. - core: basic window/context creation functions, input management, timing functions
  1206. - shapes: basic shapes drawing functions
  1207. - textures: image data loading and conversion to OpenGL textures
  1208. - text: text drawing, sprite fonts loading, default font loading
  1209. - models: basic 3d shapes drawing, OBJ models loading and drawing
  1210. - audio: audio device initialization, WAV files loading and playing