github cleolibrary/CLEO-Redux 0.5.3

latest releases: 1.2.2, 1.2.1, 1.2.0...
3 years ago
  • add a new built-in JavaScript function asFloat to cast an integer value returned by the Memory.Read command to a floating point number (IEEE 754)
var gravity = asFloat(Memory.Read(gravityAddress, 4, false)); // the gravity var now holds a floating point number
  • auto-generated *.d.ts files now make a distinction between integer and floating-point parameters, VS Code autocomplete now displays them with int and float types respectively
  • auto-generated *.d.ts files now have /// <reference no-default-lib="true"/> so it is no longer needed to add this line in a script file to exclude unsupported JS commands from autocomplete
  • fix: op incorrectly returned any single value as integer regardless of the type information
  • fix: showTextBox command was missing in the cleo.log with logOpcodes=1

Don't miss a new CLEO-Redux release

NewReleases is sending notifications on new releases.