This commit is contained in:
Rob Loach
2021-11-20 14:14:56 -05:00
parent f07380ebae
commit b3891b5dc7
4 changed files with 16 additions and 10 deletions

View File

@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [4.0.1] - 2021-11-20
### Changes
- Fix compiler warning
## [4.0.0] - 2021-11-04
### Changes

View File

@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.11)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
project (raylib-cpp
VERSION 4.0.0
VERSION 4.0.1
DESCRIPTION "raylib-cpp C++ Object Oriented Wrapper for raylib"
HOMEPAGE_URL "https://github.com/robloach/raylib-cpp"
LANGUAGES C CXX)

View File

@@ -52,6 +52,8 @@ class AudioDevice {
/**
* Set master volume (listener).
*
* @param volume The desired volume to set.
*/
inline AudioDevice& SetVolume(float volume) {
::SetMasterVolume(volume);

View File

@@ -1,6 +1,6 @@
{
"name": "raylib-cpp",
"version": "4.0.0",
"version": "4.0.1",
"description": "raylib-cpp: C++ Object-Oriented Wrapper for raylib",
"homepage": "https://github.com/robloach/raylib-cpp",
"bugs": {
@@ -21,7 +21,8 @@
],
"license": "Zlib",
"scripts": {
"test": "git submodule update --init && mkdir -p build && cd build && cmake .. && make && make test"
"pretest": "git submodule update --init",
"test": "mkdir build && cd build && cmake .. && make && make test"
},
"src": [
"include/AudioDevice.hpp",
@@ -30,27 +31,27 @@
"include/Camera2D.hpp",
"include/Camera3D.hpp",
"include/Color.hpp",
"include/Functions.hpp",
"include/Font.hpp",
"include/Functions.hpp",
"include/Gamepad.hpp",
"include/Image.hpp",
"include/Material.hpp",
"include/Matrix.hpp",
"include/Mesh.hpp",
"include/ModelAnimation.hpp",
"include/Model.hpp",
"include/ModelAnimation.hpp",
"include/Mouse.hpp",
"include/Music.hpp",
"include/physac.hpp",
"include/Physics.hpp",
"include/RayHitInfo.hpp",
"include/Ray.hpp",
"include/raymath.hpp",
"include/raylib.hpp",
"include/raylib-cpp.hpp",
"include/RayCollision.hpp",
"include/raylib-cpp-utils.hpp",
"include/raylib-cpp.hpp",
"include/raylib.hpp",
"include/raymath.hpp",
"include/Rectangle.hpp",
"include/RenderTexture2D.hpp",
"include/RenderTexture.hpp",
"include/Shader.hpp",
"include/Sound.hpp",
"include/Text.hpp",