Commit Graph

134 Commits

Author SHA1 Message Date
Deukhoofd 66fb9f5bd6
Adds Pokemon class registry for WASM
continuous-integration/drone/push Build is failing Details
2022-05-28 12:35:31 +02:00
Deukhoofd bc975aba53
Fixes for standard library changes
continuous-integration/drone/push Build is passing Details
2022-05-26 10:36:02 +02:00
Deukhoofd 3aa6e28a62
Fixes battle not ending on capture of last pokemon
continuous-integration/drone/push Build is passing Details
2022-05-15 11:31:39 +02:00
Deukhoofd 1639a132a9
Fixes for use after free
continuous-integration/drone/push Build is passing Details
2022-05-15 10:08:15 +02:00
Deukhoofd cf34563a56
Update to latest CreatureLib
continuous-integration/drone/push Build is passing Details
2022-05-14 16:50:20 +02:00
Deukhoofd e32d655d80
Initial work on WebAssembly script provider
continuous-integration/drone/push Build is failing Details
2022-05-14 11:49:09 +02:00
Deukhoofd a6b1c8a8ec
Enable pedantic errors
continuous-integration/drone/push Build is passing Details
2022-04-02 13:03:11 +02:00
Deukhoofd 09638c8d14
Loads of work on capturing pokemon
continuous-integration/drone/push Build is passing Details
2022-03-26 16:23:24 +01:00
Deukhoofd 1b14f31bd7
More aggressive sanitization. Loads of integer definition fixes
continuous-integration/drone/push Build is passing Details
2022-03-25 19:08:42 +01:00
Deukhoofd 9af68fa773
Update to latest Arbutils
continuous-integration/drone/push Build is passing Details
2022-03-23 18:49:01 +01:00
Deukhoofd cb2f902194
Initial work on capturing of Pokemon
continuous-integration/drone/push Build is passing Details
2022-03-13 14:16:28 +01:00
Deukhoofd 48da191dfb
Adds a bunch of script hooks to the damage library calculations
continuous-integration/drone/push Build is passing Details
2022-02-12 17:00:37 +01:00
Deukhoofd 8522b93b7f
Adds new script hook to prevent incoming critical hits
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details
2022-02-12 13:03:40 +01:00
Deukhoofd 6d3c027a08
Update to new THROW message.
continuous-integration/drone/push Build is passing Details
2021-11-21 12:40:25 +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 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 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 2ae73b816b
Implements ScriptSource changes, Updates OnEndTurn.
continuous-integration/drone/push Build is failing Details
2021-10-29 19:35:31 +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 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 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 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 bb4fd8456c
Fixes CreatePokemon initializing invalid moves.
continuous-integration/drone/push Build is passing Details
2021-08-29 17:06:45 +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 0eb2cb0ed0
Adds OverrideBasePower script hook.
continuous-integration/drone/push Build is passing Details
2021-08-24 20:28:27 +02:00
Deukhoofd b5ea856443
Remove status handling, as its already in CreatureLib
continuous-integration/drone/push Build is passing Details
2021-07-09 15:37:44 +02:00
Deukhoofd 2e2dfbaf1d
Adds missing references for EvolutionScript
continuous-integration/drone/push Build is passing Details
2021-07-09 14:57:20 +02:00
Deukhoofd 5a082c5995
Style Fixes
continuous-integration/drone/push Build is passing Details
2021-07-09 14:36:14 +02:00
Deukhoofd 9424a209ec
Adds a bunch of helpers for evolution, as well as custom script evolution methods.
continuous-integration/drone/push Build is failing Details
2021-07-09 13:54:42 +02:00
Deukhoofd 3d3bff3772
Work on evolution helpers
continuous-integration/drone/push Build is passing Details
2021-06-27 17:11:37 +02:00
Deukhoofd 4633c6beef
Adds function to set IsEgg on Pokemon
continuous-integration/drone/push Build is passing Details
2021-06-27 12:21:02 +02:00
Deukhoofd 94de55f933
Adds Pokemon::IsEgg function, make eggs not usable in battle.
continuous-integration/drone/push Build is passing Details
2021-06-19 12:44:05 +02:00
Deukhoofd 59a092a06e
Use GetUseAttack for executingmove
continuous-integration/drone/push Build is passing Details
2021-05-13 13:25:08 +02:00
Deukhoofd 6def68cf72
Adds Angelscript wrappers for Party.
continuous-integration/drone/push Build is passing Details
2021-05-08 12:12:36 +02:00
Deukhoofd 1c66aa8696
Return optional pointer instead of raw pointers in Pokemon::GetMoves
continuous-integration/drone/push Build is passing Details
2021-04-23 11:53:00 +02:00
Deukhoofd 939cf4e328
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2021-04-18 12:56:46 +02:00
Deukhoofd 7dff0c90bc
Update to latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2021-04-13 22:48:38 +02:00
Deukhoofd 44c47d64bd
When cloning a battle, ensure the old battle data is always cleared from the cloned party.
continuous-integration/drone/push Build is passing Details
2021-04-13 18:33:10 +02:00
Deukhoofd 5b9bb68682
Update to latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2021-04-11 23:46:09 +02:00
Deukhoofd e8b86a20d1
Add support for creating pokemon with passed Random parameter.
continuous-integration/drone/push Build is failing Details
2021-04-11 17:50:47 +02:00
Deukhoofd a88719e2b3
Supports cloning battles for AI purposes.
continuous-integration/drone/push Build is passing Details
2021-04-11 16:27:21 +02:00
Deukhoofd 18cebe842a
Updates to newer CreatureLib. 2021-03-07 11:12:18 +01:00
Deukhoofd 31008c0107
Several fixes and improvements.
continuous-integration/drone/push Build is passing Details
2020-12-28 15:11:06 +01:00
Deukhoofd bbb2691b91
Update to latest Arbutils.
continuous-integration/drone/push Build is passing Details
2020-12-13 12:32:52 +01:00
Deukhoofd 53bd6e7a94
Update to new Arbutils memory model.
continuous-integration/drone/push Build is failing Details
2020-12-12 14:25:27 +01:00
Deukhoofd fff926b617
Mark several classes as final for devirtualization performance benefits.
continuous-integration/drone/push Build is passing Details
2020-10-15 18:13:00 +02:00