From b3891b5dc768e84086a5c32f5df4c2c19b91d43a Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sat, 20 Nov 2021 14:14:56 -0500 Subject: [PATCH] v4.0.1 --- CHANGELOG.md | 3 +++ CMakeLists.txt | 2 +- include/AudioDevice.hpp | 2 ++ package.json | 19 ++++++++++--------- 4 files changed, 16 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 814b3f4..0df7636 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index d03283a..114134b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/include/AudioDevice.hpp b/include/AudioDevice.hpp index 1f050ce..e6c5765 100644 --- a/include/AudioDevice.hpp +++ b/include/AudioDevice.hpp @@ -52,6 +52,8 @@ class AudioDevice { /** * Set master volume (listener). + * + * @param volume The desired volume to set. */ inline AudioDevice& SetVolume(float volume) { ::SetMasterVolume(volume); diff --git a/package.json b/package.json index fc548d0..9e07f24 100644 --- a/package.json +++ b/package.json @@ -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",