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.

1056 linhas
60 KiB

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