Skip to content

Releases: dicksonlaw583/GMXorWow

v1.2.0 - GM 2022.11 Update

02 Mar 03:46
05685f9
Compare
Choose a tag to compare

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( with xarray_shuffle_ext(.
  • Replace all instances of sarray_shuffle( with sarray_shuffle_ext(.
  • If you need to use xrandom_get_seed() to get the seed directly, replace it with xrandom_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 the x 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's array_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 to xarray_shuffle_ext as per 2022.11 convention.
  • Add xarray_shuffle_ext to match 2022.11's array_shuffle_ext(array, [offset], [length]) built-in function. This is where the old xarray_shuffle in-place shuffling behaviour has been moved to.

v1.1.0 - Important Maintenance Update!

08 Aug 03:30
Compare
Choose a tag to compare

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 and xrandom_range.

v1.0.0

30 Jan 02:51
Compare
Choose a tag to compare

Initial release.