Skip to content

0.5.3

Compare
Choose a tag to compare
@x87 x87 released this 02 Oct 20:23
· 243 commits to master since this release
  • 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