Skip to content

Releases: UnryzeC/WC3_AngelScript

AngelScript v2.0.1.61

02 Jan 10:15
d36b23f

Choose a tag to compare

v2.0.1.60

  1. Updated table type to mimic all new changes to dictionary from AngelScript 2.38.0, aka foreach and other changes.

v2.0.1.61

  1. Returned tableValue &opAssign(const ?&in), that previously was breaking normal value assignments.
  2. Returned void set(const uint64 &in, const ?&in), that previously was breaking normal value assignments.

AngelScript v2.0.0.55

27 Dec 14:54
5ca9539

Choose a tag to compare

Release:

  1. AngelScript base code updated to 2.38.0.

AngelScript v1.1.1.35

31 May 21:55
df90669

Choose a tag to compare

Release:

  1. Fixed leaking Contexts on any function/timer tick calls.
  2. Added std::command(string) that contains following commands:
    1. AngelScript commands, i.e. "l b", "l s" and others, these can be found either on AngelScript GitHub or via their files.
    2. "string_count", "string_clear_temp", "string_cache" and "commands". Use std::command( "commands" ) to get their description.
  3. Added a way to stop AngelScript from caching strings via: std::enable_string_caching(bool) or via "string_cache 1" command.
  4. Internal rollback to asCContext::PushCallState() and asCContext::PopCallState().
  5. Added createThread, this allows to use createCoRoutine from the created thread.
  6. Changed internal CTX::SleepThread in favour of CContextMgr handling.

AngelScript v1.1.0.26

22 May 12:59
dd30a80

Choose a tag to compare

Release

  1. 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

04 May 16:23
dd30a80

Choose a tag to compare

Release

  1. AngelScript base code updated to 2.37.0.
  2. 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.
  3. Removed "scriptVar", "scriptVar &opAssign(const ? &in)", as it was not working properly.
  4. Rewritten internal JassParse, now it shares its logic with UjAPI.

AngelScript v1.0.5.19

15 Sep 08:13
88ed292

Choose a tag to compare

AngelScript v1.0.5.19

  1. 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

20 May 07:07
756e729

Choose a tag to compare

  1. Added implicit conversion of all jass handle types to int/uint, this omits the need for GetHandleId.
  2. Added proper handling of .as file outside of MPQs.
  3. Added "../" path resolver for both MPQ and FileSystem.

AngelScript v1.0.4.16

04 May 09:56
766f876

Choose a tag to compare

Release

  1. AngelScript base code updated to 2.36.1.
  2. Added std:sleep_ns(uint64_t) as internal API, this takes nanoseconds.
  3. Added std:sleep_us(uint64_t) as internal API, this takes microseconds.
  4. Added std:sleep_ms(uint64_t) as internal API, this takes milliseconds.
  5. Added std:sleep(double) as internal API, this takes float/double.
  6. TriggerSleepAction now uses std::sleep(double), previously it was doing nothing.
  7. Changed << and <<= operations from Logical to Arithmetic.
  8. Changed >>, >>> and >>= operations from Logical to Arithmetic.
  9. Added <<< as Logical operation.

AngelScript v1.0.3.12

16 Apr 08:48
bc95b5d

Choose a tag to compare

  1. Fixed handle to nil comparison, when handle was not initialised.
  2. Added "table" type, this is same "dictionary" but uses uint64 as keys instead of string.

AngelScript v1.0.2.9

25 Mar 07:50
2b4395b

Choose a tag to compare

  1. Added support for character literals, i.e. 'I000' instead of FourCC( "I000" ).
  2. Enhanced literal support from 1 or 4 only to 1 to 8, i.e. 'I0' and 'I000000I' both will be valid.
  3. Fixed fatal error when null-byte string was assigned to string.
    Note: this is mostly related to LoadStr.
  4. "main" function is no longer called in lobby.