Skip to content

0.9.4

Compare
Choose a tag to compare
@x87 x87 released this 12 May 20:38
· 97 commits to master since this release
  • add support for custom file loaders allowing import of various file formats
  • add new bindings available in JS code: a static object CLEO and a constant __filename
  • add new config option DisplayMenuInfo to control whether CLEO Redux should display the version information in the main menu (supported in GTA III/VC/SA)
  • fix a conversion error in some commands when an integer number is given instead of a boolean

SDK AND PLUGINS

  • when RuntimeNextTick is called with both arguments set to zero (RuntimeNextTick(0, 0)) CLEO calculates correct values for current_time and time_step as the time elapsed from the last call of RuntimeInit and the delta time between two ticks respectively
  • add an option in the installer to download SilentPatch as a dependency of the ImGuiRedux plugin
  • new methods RegisterLoader, AllocMem, FreeMem (see the guide)
  • new file loaders for Text files (any host) and IDE files (GTA3, VC, SA)

BREAKING CHANGES

  • configuration option LogOpcodes is no longer applied to JS scripts. To start tracing executed commands in a JS script use CLEO.debug.trace(true). To disable tracing use CLEO.debug.trace(false).
  • __dirname is now const and can not be changed
  • static methods have been excluded from fluent interface (can't be chained with other methods)