-
Notifications
You must be signed in to change notification settings - Fork 1
Release 1.0.1 #29
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 1.0.1 #29
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file. | |
| The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
| and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
|
||
| ## [1.0.1] - 2026-01-14 | ||
|
|
||
| **Changed**: | ||
| - Updated dependency `com.gamelovers.dataextensions` to `com.gamelovers.gamedata` | ||
| - Updated assembly definitions to reference `GameLovers.GameData` | ||
|
Comment on lines
+7
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The changes in the + ## [1.0.1] - 2026-01-14
+
+ **Changed**:
+ - Updated dependency `com.gamelovers.dataextensions` to `com.gamelovers.gamedata`
+ - Updated assembly definitions to reference `GameLovers.GameData`
+ |
||
|
|
||
| ## [1.0.0] - 2026-01-11 | ||
|
|
||
| **New**: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| using System; | ||
| using System.Collections.Generic; | ||
| using GameLovers.GameData; | ||
|
|
||
| namespace GameLovers.Services | ||
| { | ||
|
|
@@ -220,12 +221,12 @@ public static int Range(int min, int max, int[] rndState, bool maxInclusive) | |
| /// </remarks> | ||
| public static floatP Range(floatP min, floatP max, int[] rndState, bool maxInclusive) | ||
| { | ||
| if (min > max || (!maxInclusive && Math.Abs(min - max) < floatP.Epsilon)) | ||
| if (min > max || (!maxInclusive && MathfloatP.Abs(min - max) < floatP.Epsilon)) | ||
| { | ||
| throw new IndexOutOfRangeException("The min range value must be less the max range value"); | ||
| } | ||
|
|
||
| if (Math.Abs(min - max) < floatP.Epsilon) | ||
| if (MathfloatP.Abs(min - max) < floatP.Epsilon) | ||
|
Comment on lines
+224
to
+229
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is a potential issue with the logic in the - if (MathfloatP.Abs(min - max) < floatP.Epsilon)
- {
- return min;
- }Issue in Line 285:In the - var value = _basicSeed - (seed == int.MinValue ? int.MaxValue : System.Math.Abs(seed));
+ var value = _basicSeed - (seed == int.MinValue ? int.MaxValue : Math.Abs(seed));General Comment:Ensure consistency in using either Review Comments
|
||
| { | ||
| return min; | ||
| } | ||
|
|
@@ -281,7 +282,7 @@ public static RngData CreateRngData(int seed) | |
| /// </summary> | ||
| public static int[] GenerateRngState(int seed) | ||
| { | ||
| var value = _basicSeed - (seed == int.MinValue ? int.MaxValue : Math.Abs(seed)); | ||
| var value = _basicSeed - (seed == int.MinValue ? int.MaxValue : System.Math.Abs(seed)); | ||
| var state = new int[_stateLength]; | ||
|
|
||
| state[_stateLength - 1] = value; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ | |
| "UnityEngine.TestRunner", | ||
| "UnityEditor.TestRunner", | ||
| "GameLovers.Services", | ||
| "GameLovers.DataExtensions", | ||
| "GameLovers.GameData", | ||
| "Unity.PerformanceTesting" | ||
| ], | ||
| "includePlatforms": [ | ||
|
Comment on lines
5
to
11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The reference to - "GameLovers.DataExtensions",
+ "GameLovers.GameData", |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ | |
| "UnityEngine.TestRunner", | ||
| "UnityEditor.TestRunner", | ||
| "GameLovers.Services", | ||
| "GameLovers.DataExtensions", | ||
| "GameLovers.GameData", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| "Unity.PerformanceTesting" | ||
| ], | ||
| "includePlatforms": [], | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,14 @@ | ||
| { | ||
| "name": "com.gamelovers.services", | ||
| "displayName": "Services", | ||
| "displayName": "GameLovers Services", | ||
| "author": "Miguel Tomas", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "unity": "6000.0", | ||
| "license": "MIT", | ||
| "description": "The purpose of this package is to provide a set of services to ease the development of a basic game architecture", | ||
| "type": "library", | ||
| "hideInEditor": false, | ||
| "dependencies": { | ||
| "com.gamelovers.dataextensions": "0.6.2" | ||
| "com.gamelovers.gamedata": "1.0.0" | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dependency version for
com.gamelovers.gamedatahas been updated. Ensure compatibility with this new version.