Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release raylib-cpp 5.0.2 #327

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.11)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
project (raylib_cpp
VERSION 5.0.1
VERSION 5.0.2
DESCRIPTION "raylib-cpp C++ Object Oriented Wrapper for raylib"
HOMEPAGE_URL "https://github.com/robloach/raylib-cpp"
LANGUAGES C CXX
Expand Down
7 changes: 5 additions & 2 deletions include/ModelAnimation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include <vector>
#include <string>
#include <cstring>

#include "./raylib.hpp"
#include "./raylib-cpp-utils.hpp"
Expand Down Expand Up @@ -103,7 +102,11 @@ class ModelAnimation : public ::ModelAnimation {
frameCount = model.frameCount;
bones = model.bones;
framePoses = model.framePoses;
std::strcpy(name, model.name);

// Duplicate the name. TextCopy() uses the null terminator, which we ignore here.
for (int i = 0; i < 32; i++) {
name[i] = model.name[i];
}
}
};
} // namespace raylib
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "raylib-cpp",
"version": "5.0.1",
"version": "5.0.2",
"description": "raylib-cpp: C++ Object-Oriented Wrapper for raylib",
"main": "index.js",
"private": true,
Expand Down Expand Up @@ -30,6 +30,6 @@
},
"homepage": "https://github.com/RobLoach/raylib-cpp#readme",
"devDependencies": {
"gh-pages": "^4.0.0"
"gh-pages": "^6.1.1"
}
}
2 changes: 1 addition & 1 deletion projects/CMake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endif()
find_package(raylib_cpp QUIET)
if (NOT raylib_cpp_FOUND)
if (NOT DEFINED RAYLIB_CPP_VERSION)
set(RAYLIB_CPP_VERSION v5.0.1)
set(RAYLIB_CPP_VERSION v5.0.2)
endif()
include(FetchContent)
FetchContent_Declare(
Expand Down