Commit Graph

324 Commits

Author SHA1 Message Date
Deukhoofd b40e004724
Make Pokemon::HasVolatile const in Angelscript.
continuous-integration/drone/push Build is passing Details
2021-11-20 14:42:06 +01:00
Deukhoofd 62d7793944
Fixes HasType declaration in angelscript.
continuous-integration/drone/push Build is passing Details
2021-11-20 11:08:51 +01:00
Deukhoofd 4d1b3448ba
Adds angelscript helper function to check if Pokemon has a type by the types string name.
continuous-integration/drone/push Build is passing Details
2021-11-20 11:06:39 +01:00
Deukhoofd 8de1d4d635
Adds const marker to new GetEffectiveness helper in Angelscript.
continuous-integration/drone/push Build is passing Details
2021-11-20 10:59:18 +01:00
Deukhoofd d94d1287ef
Adds angelscript helper to easily get effectiveness of a type against a Pokemon.
continuous-integration/drone/push Build is passing Details
2021-11-20 10:56:32 +01:00
Deukhoofd e39056d3d6
Adds angelscript interface to get types of a Pokemon.
continuous-integration/drone/push Build is passing Details
2021-11-20 10:48:46 +01:00
Deukhoofd 95457d9701
Adds Angelscript getter on BattleSide for getting an narray of Pokemon.
continuous-integration/drone/push Build is passing Details
2021-11-20 10:24:03 +01:00
Deukhoofd 1d90360efe
Adds OnIncomingHit hook to Angelscript.
continuous-integration/drone/push Build is passing Details
2021-11-19 18:07:21 +01:00
Deukhoofd d59ee9d869
Adds ChoiceQueue::HasNext() to Angelscript.
continuous-integration/drone/push Build is passing Details
2021-11-19 16:18:40 +01:00
Deukhoofd d1ba703f76
Adds OnSwitchIn script hook to Angelscript.
continuous-integration/drone/push Build is passing Details
2021-11-19 15:55:48 +01:00
Deukhoofd 496ebfdfa1
Add BlockWeather hook to Angelscript as well.
continuous-integration/drone/push Build is passing Details
2021-11-19 15:06:13 +01:00
Deukhoofd b2accd720e
Support for (un)suppressing weather, adds hook to block weather changes.
continuous-integration/drone/push Build is passing Details
2021-11-19 14:56:29 +01:00
Deukhoofd ea3bc7ee33
Adds GetLastUsedAttackOnTargetWrapper wrapper function to Angelscript.
continuous-integration/drone/push Build is passing Details
2021-11-19 13:10:30 +01:00
Deukhoofd 47e3919734
Adds OnFaint script hook to Angelscript.
continuous-integration/drone/push Build is passing Details
2021-11-19 12:40:31 +01:00
Deukhoofd 545e321018
Updates needed for breaking change in how abilities work.
continuous-integration/drone/push Build is passing Details
2021-11-15 12:47:02 +01:00
Deukhoofd 46538092bf
Support for failing a MoveTurnChoice in Angelscript.
continuous-integration/drone/push Build is passing Details
2021-11-12 13:00:34 +01:00
Deukhoofd 5334ad14da
Fixes issue where GetAngelscriptOwner would return an invalid value.
continuous-integration/drone/push Build is passing Details
2021-11-05 13:45:51 +01:00
Deukhoofd d4ece51866
Adds more Angelscript functions to HistoryElement base class.
continuous-integration/drone/push Build is passing Details
2021-10-30 18:18:40 +02:00
Deukhoofd abaee62582
Dont allow changing weight and height of Pokemon if its const
continuous-integration/drone/push Build is passing Details
2021-10-30 17:12:39 +02:00
Deukhoofd 21092eb347
Adds Getters and Setters for Weight and Height of a Pokemon in angelscript.
continuous-integration/drone/push Build is passing Details
2021-10-30 17:11:26 +02:00
Deukhoofd 6cc4206292
Adds Angelscript functions for getting a volatile script from a Battle or BattleSide.
continuous-integration/drone/push Build is passing Details
2021-10-30 16:35:23 +02:00
Deukhoofd ad3b3bebfa
Updates to new CreatureLib, with removed precompiled header.
continuous-integration/drone/push Build is failing Details
2021-10-30 14:29:57 +02:00
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 af50f1cc74
Adds support for Angelscript debugger.
continuous-integration/drone/push Build is failing Details
2021-10-22 15:11:52 +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