From 5d23b5ca71d1940fa8ded9e63d71a8fe29d243b1 Mon Sep 17 00:00:00 2001 From: ChrisDill Date: Sat, 20 Jan 2024 10:47:51 +0000 Subject: [PATCH] Release 6.0.0 (#221) --- LICENSE | 2 +- README.md | 8 ++++---- Raylib-cs/Build.props | 4 ++-- Raylib-cs/interop/Raylib.cs | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/LICENSE b/LICENSE index 9e2a46f3..74087cd5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (C) 2018-2023 ChrisDill +Copyright (C) 2018-2024 ChrisDill This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/README.md b/README.md index 5d93ab79..9708e81f 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ C# bindings for raylib, a simple and easy-to-use library to learn videogames pro [![Build](https://github.com/ChrisDill/Raylib-cs/workflows/Build/badge.svg)](https://github.com/ChrisDill/Raylib-cs/actions?query=workflow%3ABuild) -Raylib-cs targets net5.0 and net6.0 and uses the [official 4.5.0 release](https://github.com/raysan5/raylib/releases/tag/4.5.0) to build the native libraries. +Raylib-cs targets net5.0 and net6.0 and uses the [official 5.0 release](https://github.com/raysan5/raylib/releases/tag/5.0) to build the native libraries. ## Installation - NuGet @@ -43,7 +43,7 @@ the command won't work. 2. Add [Raylib-cs/Raylib-cs.csproj](Raylib-cs/Raylib-cs.csproj) to your project as an existing project. -3. Download the native libraries for the platforms you want to build for using the [official 4.5.0 release](https://github.com/raysan5/raylib/releases/tag/4.5.0). +3. Download the native libraries for the platforms you want to build for using the [official 5.0 release](https://github.com/raysan5/raylib/releases/tag/5.0). **NOTE: the MSVC version is required for Windows platforms** 4. Setup the native libraries so they are in the same directory as the executable/can be found in the [search path](https://www.mono-project.com/docs/advanced/pinvoke/). @@ -66,9 +66,9 @@ class Program while (!Raylib.WindowShouldClose()) { Raylib.BeginDrawing(); - Raylib.ClearBackground(Color.WHITE); + Raylib.ClearBackground(Color.White); - Raylib.DrawText("Hello, world!", 12, 12, 20, Color.BLACK); + Raylib.DrawText("Hello, world!", 12, 12, 20, Color.Black); Raylib.EndDrawing(); } diff --git a/Raylib-cs/Build.props b/Raylib-cs/Build.props index 8347ed77..2fdb0c14 100644 --- a/Raylib-cs/Build.props +++ b/Raylib-cs/Build.props @@ -2,8 +2,8 @@ 5.0 - 5.0.0 - 5.0.0 + 6.0.0 + 6.0.0 \ No newline at end of file diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs index ed0086a0..cebd3a84 100644 --- a/Raylib-cs/interop/Raylib.cs +++ b/Raylib-cs/interop/Raylib.cs @@ -2532,7 +2532,7 @@ float radius2 [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void SetMasterVolume(float volume); - /// Set master volume (listener) + /// Get master volume (listener) [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern float GetMasterVolume();