Releases: dicksonlaw583/GMXorWow
Releases · dicksonlaw583/GMXorWow
v1.2.0 - GM 2022.11 Update
This is a major update for GMXorWow designed to mirror the functionality of array_shuffle(array, [offset], [length])
and array_shuffle_ext(array, [offset], [length])
introduced in GM 2022.11. This changes the functionality of xarray_shuffle
--- please see the migration notes below if you use it!
Migrating from v1.1.0 to v1.2.0
- Replace all instances of
xarray_shuffle(
withxarray_shuffle_ext(
. - Replace all instances of
sarray_shuffle(
withsarray_shuffle_ext(
. - If you need to use
xrandom_get_seed()
to get the seed directly, replace it withxrandom_get_seed(true)
.
Changes
- Minimum supported GM version is now 2022.1.
- Change
xrandom_get_seed
to return a clone of the seed by default, so that code like the following works just as it does without thex
prefix:
// Remember the seed
var seed = xrandom_get_seed();
/* Some randomization actions here */
// Restore the seed
xrandom_set_seed(seed);
- Use
xrandom_get_seed(true)
to return the global seed directly. - Change
xarray_shuffle
to match 2022.11'sarray_shuffle(array, [offset], [length])
built-in function, returning a shuffled copy of the array or a slice of it. This is a breaking change --- the in-place shuffling behaviour has been moved toxarray_shuffle_ext
as per 2022.11 convention. - Add
xarray_shuffle_ext
to match 2022.11'sarray_shuffle_ext(array, [offset], [length])
built-in function. This is where the oldxarray_shuffle
in-place shuffling behaviour has been moved to.
v1.1.0 - Important Maintenance Update!
This is an important maintenance update for GMXorWow. All v1.0.0 users are encouraged to upgrade to it.
New Features
- Feather annotations are now fully supported.
Bug Fixes
- Fix out-of-range values for
xrandom
andxrandom_range
.
v1.0.0
Initial release.