Commit Graph

565 Commits

Author SHA1 Message Date
Deukhoofd 3732cab54b
Bunch of fixes for Owners of scripts.
continuous-integration/drone/push Build is passing Details
2021-10-30 11:44:16 +02:00
Deukhoofd 0f6d538695
Make GetOwner angelscript func return a reference to the ref.
continuous-integration/drone/push Build is failing Details
2021-10-30 00:19:24 +02:00
Deukhoofd 475e2142c6
Slight optimization and defensive programming.
continuous-integration/drone/push Build is failing Details
2021-10-30 00:14:15 +02:00
Deukhoofd ede314ef39
A bunch of work on the concept of script owners.
continuous-integration/drone/push Build is failing Details
2021-10-29 23:54:44 +02:00
Deukhoofd 0623bdff06
Adds HasVolatile functions to Angelscript Battle and BattleSide.
continuous-integration/drone/push Build is failing Details
2021-10-29 21:16:47 +02:00
Deukhoofd 2ae73b816b
Implements ScriptSource changes, Updates OnEndTurn.
continuous-integration/drone/push Build is failing Details
2021-10-29 19:35:31 +02:00
Deukhoofd 309439918c
Adds angelscript property to get pokemon per side from Battle.
continuous-integration/drone/push Build is passing Details
2021-10-29 18:37:03 +02:00
Deukhoofd f447e40663
Adds damage script hooks.
continuous-integration/drone/push Build is passing Details
2021-10-29 18:29:30 +02:00
Deukhoofd 3d75e8233d
Adds Angelscript functions for setting volatile scripts on a battleside.
continuous-integration/drone/push Build is passing Details
2021-10-28 16:27:59 +02:00
Deukhoofd f5032bebb1
Fixes calling convention for HasVolatile in angelscript.
continuous-integration/drone/push Build is passing Details
2021-10-24 15:48:48 +02:00
Deukhoofd d588ba5dd2
Adds interface for HasVolatile to Pokemon in Angelscript.
continuous-integration/drone/push Build is failing Details
2021-10-24 15:47:07 +02:00
Deukhoofd 0745b063c8
Adds optional max turn parameters to HistoryHolder interface in Angelscript.
continuous-integration/drone/push Build is passing Details
2021-10-24 11:16:29 +02:00
Deukhoofd d172273b11
Adds Angelscript interface for Battle History.
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is passing Details
2021-10-23 18:16:17 +02:00
Deukhoofd 3ca665cb62
Amend previous commit.
continuous-integration/drone/push Build is passing Details
2021-10-23 16:05:52 +02:00
Deukhoofd ae3021dd64
Only link pthread statically on Windows.
continuous-integration/drone/push Build was killed Details
2021-10-23 16:05:35 +02:00
Deukhoofd 76b7257fdf
Static link pthread.
continuous-integration/drone/push Build is failing Details
2021-10-23 15:59:48 +02:00
Deukhoofd 5877bb5ec0
Also link test executable to ws2_32
continuous-integration/drone/push Build is failing Details
2021-10-23 15:42:39 +02:00
Deukhoofd 16929b1aea
Add Windows reference to ws2_32
continuous-integration/drone/push Build is failing Details
2021-10-23 15:30:52 +02:00
Deukhoofd 4983778c82
Update debugger.
continuous-integration/drone/push Build is failing Details
2021-10-23 15:19:49 +02:00
Deukhoofd 7a004346d4
Fix submodule.
continuous-integration/drone/push Build is failing Details
2021-10-22 15:15:25 +02:00
Deukhoofd 2ba474adfb
Fix submodule.
continuous-integration/drone/push Build is failing Details
2021-10-22 15:13:53 +02:00
Deukhoofd af50f1cc74
Adds support for Angelscript debugger.
continuous-integration/drone/push Build is failing Details
2021-10-22 15:11:52 +02:00
Deukhoofd 0ebac13c14
More work for Windows CI changes.
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is passing Details
2021-10-02 15:09:07 +02:00
Deukhoofd ba78f51ff5
Windows CI changes.
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details
2021-10-02 14:00:13 +02:00
Deukhoofd 33047da63e
Further attempts at fixing CI.
continuous-integration/drone/push Build is failing Details
2021-10-02 13:39:57 +02:00
Deukhoofd 885bcde7c8
More fixes for CI.
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details
2021-10-02 10:50:55 +02:00
Deukhoofd 68f933cd77
Further changes for new Windows image.
continuous-integration/drone/push Build was killed Details
continuous-integration/drone Build is failing Details
2021-09-30 22:48:44 +02:00
Deukhoofd 3cf211c66f
Changes for new build image on Windows.
continuous-integration/drone/push Build is failing Details
2021-09-30 18:01:38 +02:00
Deukhoofd accf582a51
Style fixes.
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details
2021-09-26 10:53:26 +02:00
Deukhoofd 4841590c17
Fixes windows build.
continuous-integration/drone/push Build is failing Details
2021-09-26 10:45:37 +02:00
Deukhoofd 1e10d25dbd
Fixes narray::Length not being a property in angelscript.
continuous-integration/drone/push Build is failing Details
2021-09-25 18:33:12 +02:00
Deukhoofd 9fd88f6192
Readds missing function.
continuous-integration/drone/push Build is failing Details
2021-09-25 18:27:27 +02:00
Deukhoofd 8005ad1232
Large cleanup of type registration, added new "NativeArray" (or narray in angelscript) type that simply holds a pointer to a native list, to prevent copies we don't need
continuous-integration/drone/push Build is failing Details
2021-09-25 17:56:45 +02:00
Deukhoofd e5ea2bbc90
Adds caching for expensive type resolution.
continuous-integration/drone/push Build is passing Details
2021-09-22 19:02:01 +02:00
Deukhoofd 7e9e574577
Fixes invalid angelscript declaration for Pokemon::get_DisplayForme.
continuous-integration/drone/push Build is passing Details
2021-09-21 23:20:28 +02:00
Deukhoofd 29fe82f04d
More using the getter macro, adds support for non const getter functions.
continuous-integration/drone/push Build is passing Details
2021-09-21 23:14:26 +02:00
Deukhoofd 2e8cf4379b
Implements new standard macro/function for registering getters in Angelscript, to reduce the amount of errors there.
continuous-integration/drone/push Build is passing Details
2021-09-21 22:37:13 +02:00
Deukhoofd a43dc45665
Fixes Pokemon::get_DisplaySpecies and get_DisplayForme segfaulting in angelscript.
continuous-integration/drone/push Build is passing Details
2021-09-19 13:02:24 +02:00
Deukhoofd 3a5fa268dd
Fixes Pokemon::get_Nickname in angelscript.
continuous-integration/drone/push Build is passing Details
2021-09-19 12:57:11 +02:00
Deukhoofd 728bc13ac1
Update to new CreatureLib nickname handling
continuous-integration/drone/push Build is passing Details
2021-09-19 11:43:02 +02:00
Deukhoofd a6771353b0
Fixes BattleParty::GetParty not returning valid value in AngelScript
continuous-integration/drone/push Build is passing Details
2021-08-29 17:45:27 +02:00
Deukhoofd bb4fd8456c
Fixes CreatePokemon initializing invalid moves.
continuous-integration/drone/push Build is passing Details
2021-08-29 17:06:45 +02:00
Deukhoofd 75d6100689
Fixes memory leak in unit tests
continuous-integration/drone/push Build is passing Details
2021-08-29 16:28:21 +02:00
Deukhoofd 2123a01151
Fixes for linking pthread statically
continuous-integration/drone/push Build is failing Details
2021-08-29 16:08:58 +02:00
Deukhoofd e323b62250
Damage calculation can only return 0 if effectiveness is 0.
continuous-integration/drone/push Build is failing Details
2021-08-28 12:20:22 +02:00
Deukhoofd aee0f04d9c
Further fixes for rounding errors in damage calculations.
continuous-integration/drone/push Build is failing Details
2021-08-28 12:16:01 +02:00
Deukhoofd 037ff590f0
Fixes for damage calculation: Adds missing + 2, and handles rounding correctly.
continuous-integration/drone/push Build is failing Details
2021-08-28 12:04:18 +02:00
Deukhoofd 7fe7c8becf
Add support for turning off the random damage modifier.
continuous-integration/drone/push Build is passing Details
2021-08-24 20:57:45 +02:00
Deukhoofd dfcdfd8343
Further fixes for setting pokemon held items from angelscript.
continuous-integration/drone/push Build is passing Details
2021-08-24 20:43:01 +02:00
Deukhoofd 249584bfc8
Fixes angelscript interface for SetHeldItem.
continuous-integration/drone/push Build is passing Details
2021-08-24 20:37:17 +02:00