- 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 ofRuntimeInit
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 useCLEO.debug.trace(true)
. To disable tracing useCLEO.debug.trace(false)
. __dirname
is nowconst
and can not be changed- static methods have been excluded from fluent interface (can't be chained with other methods)