Releases: RobLoach/raylib-cpp
Releases · RobLoach/raylib-cpp
v4.0.3
Changed
- CMake now used for raylib dependency, rather than git submodules
- Standardized functions across:
- Color
- Material
- Mesh
- Model
- ModelAnimation
- Physics
- Ray
- Rectangle
- Texture
- Window
- Renamed
package.jsontoclib.jsonto follow clib schema
Full Changelog: v4.0.2...v4.0.3
v4.0.2
Added
Image::IsLoaded()Wave::IsLoaded()Sound::IsLoaded()Music::IsLoaded()- Shader example
- Function overrides for
std::stringsupportraylib::DrawText()raylib::DrawTextEx()raylib::DrawTextPro()raylib::TextSubtext()raylib::TextReplace()raylib::TextInsert()raylib::TextAppend()raylib::TextFindIndex()raylib::TextToUpper()raylib::TextToLower()raylib::TextToPascal()raylib::TextToInteger()
Fixed
- Shader constructor
- Vector2 muliplication operator behavior (#155)
Changed
- Merged
Text.hppintoFunctions.hpp
v4.0.1
v4.0.0
- Update to raylib 4.0.0 (#148 by @pineapplemachine)
- For tests, replaced catch.hpp with
assert()calls - Added assignment operators for objects (#142 by @marciejewiczow)
- Replaced
NULLwithnullptr - Fixed memory leak in
ModelAnimation::Loadmethod
v3.7.0
v3.5.0
v3.5.0-beta3
Added
- Added a C++ version of raylib's loading thread example (by @pkeir)
- Updated documentation
Fixed
- Made the global wrapped functions static to avoid redeclaration
v3.5.0 Beta 2
Fixed
Font.charsPaddingloading
Removed
DroppedFilesclass replaced withstd::vector<std::string> raylib::GetDroppedFiles()
v3.5.0 Beta 1
Added
Model.Draw()andModel.DrawWires()models_first_person_maze.cppexample- String override functions to allow using
std::stringdirectly instead ofconst char* std::vector<std::string>wrappers withraylib::GetDirectoryFiles()andraylib::GetDroppedFiles()raylib::Color::RayWhite()static functions to buildColorobjectsRectangle.GetPosition()andRectangle.SetPosition()Rectangle.GetSize()andRectangle.SetSize()
Fixed
- Most objects are now passed by reference
Mouse::SetX()andMouse::SetY()setting incorrect values- Error protection when unloading images, materials, models and meshes
Changed
Mousefunctions are nowstatic. UseMouse::SetX()instead of usingMouse mouse.Camera*::BeginMode()andCamera*::EndMode()no longer have 2D/3D in the name
v3.5.0 Alpha 1
Changed
- Update to raylib 3.5.0
Added
- Documentation
Removed
- Static inline Color variables (like
raylib::Color::RayWhite). Instead, use::RAYWHITE.