Releases: UnryzeC/WC3_AngelScript
Releases · UnryzeC/WC3_AngelScript
AngelScript v2.0.1.61
v2.0.1.60
- Updated table type to mimic all new changes to dictionary from AngelScript 2.38.0, aka foreach and other changes.
v2.0.1.61
- Returned tableValue &opAssign(const ?&in), that previously was breaking normal value assignments.
- Returned void set(const uint64 &in, const ?&in), that previously was breaking normal value assignments.
AngelScript v2.0.0.55
Release:
- AngelScript base code updated to 2.38.0.
AngelScript v1.1.1.35
Release:
- Fixed leaking Contexts on any function/timer tick calls.
- Added std::command(string) that contains following commands:
- AngelScript commands, i.e. "l b", "l s" and others, these can be found either on AngelScript GitHub or via their files.
- "string_count", "string_clear_temp", "string_cache" and "commands". Use std::command( "commands" ) to get their description.
- Added a way to stop AngelScript from caching strings via: std::enable_string_caching(bool) or via "string_cache 1" command.
- Internal rollback to asCContext::PushCallState() and asCContext::PopCallState().
- Added createThread, this allows to use createCoRoutine from the created thread.
- Changed internal CTX::SleepThread in favour of CContextMgr handling.
AngelScript v1.1.0.26
Release
- Fixed table.get method not working properly with keys.
Note: it was trying to default to uint, even when uint64 was provided.
AngelScript v1.1.0.25
Release
- AngelScript base code updated to 2.37.0.
- Rewritten all sleep related functions, now they work properly.
Note: it is still NOT suggested utilising sleep anywhere apart from test code, timers are still better. - Removed "scriptVar", "scriptVar &opAssign(const ? &in)", as it was not working properly.
- Rewritten internal JassParse, now it shares its logic with UjAPI.
AngelScript v1.0.5.19
AngelScript v1.0.5.19
- Fixed some of the internal std::string interactions via caching.
Note: sadly for CAgent fields to properly be editable, strings have to be cached, as fields only contain pointers, not actual text itself.
AngelScript v1.0.5.18
- Added implicit conversion of all jass handle types to int/uint, this omits the need for GetHandleId.
- Added proper handling of .as file outside of MPQs.
- Added "../" path resolver for both MPQ and FileSystem.
AngelScript v1.0.4.16
Release
- AngelScript base code updated to 2.36.1.
- Added std:sleep_ns(uint64_t) as internal API, this takes nanoseconds.
- Added std:sleep_us(uint64_t) as internal API, this takes microseconds.
- Added std:sleep_ms(uint64_t) as internal API, this takes milliseconds.
- Added std:sleep(double) as internal API, this takes float/double.
- TriggerSleepAction now uses std::sleep(double), previously it was doing nothing.
- Changed << and <<= operations from Logical to Arithmetic.
- Changed >>, >>> and >>= operations from Logical to Arithmetic.
- Added <<< as Logical operation.
AngelScript v1.0.3.12
- Fixed handle to nil comparison, when handle was not initialised.
- Added "table" type, this is same "dictionary" but uses uint64 as keys instead of string.
AngelScript v1.0.2.9
- Added support for character literals, i.e. 'I000' instead of FourCC( "I000" ).
- Enhanced literal support from 1 or 4 only to 1 to 8, i.e. 'I0' and 'I000000I' both will be valid.
- Fixed fatal error when null-byte string was assigned to string.
Note: this is mostly related to LoadStr. - "main" function is no longer called in lobby.