Commit Graph

536 Commits

Author SHA1 Message Date
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
Deukhoofd 0eb2cb0ed0
Adds OverrideBasePower script hook.
continuous-integration/drone/push Build is passing Details
2021-08-24 20:28:27 +02:00
Deukhoofd 7fcc4a63c5
Adds get function to angelscript to get a pokemon at index.
continuous-integration/drone/push Build is passing Details
2021-08-23 21:40:20 +02:00
Deukhoofd e320e32226
Adds angelscript getter for current turn of battle.
continuous-integration/drone/push Build is passing Details
2021-08-23 21:26:48 +02:00
Deukhoofd 8919ae4b02
Rework metadata to have a standard handling.
continuous-integration/drone/push Build is passing Details
2021-08-22 15:01:51 +02:00
Deukhoofd cf01511cfb
Fixes issue with getting builder from AngelScriptResolver 2021-08-22 13:27:54 +02:00
Deukhoofd 91a87af6b5
Adds getter for retrieving script builder from AngelScriptResolver.
continuous-integration/drone/push Build is failing Details
2021-08-22 13:01:42 +02:00
Deukhoofd f9adc1e040
Adds C interface for AngelScriptResolver::DefineWord
continuous-integration/drone/push Build is passing Details
2021-08-22 12:54:22 +02:00
Deukhoofd b3d0e8b0cf
Adds support for setting define hooks.
continuous-integration/drone/push Build is passing Details
2021-08-22 12:51:00 +02:00
Deukhoofd 592552cb72
Resolve issue with multithreading when trying to get a base type from Angelscript.
continuous-integration/drone/push Build is passing Details
2021-08-22 11:16:42 +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 1620d51306
Adds C Interface for EvolutionScript data.
continuous-integration/drone/push Build is failing Details
2021-07-09 14:48:25 +02:00
Deukhoofd 5a082c5995
Style Fixes
continuous-integration/drone/push Build is passing Details
2021-07-09 14:36:14 +02:00
Deukhoofd d5ef7a33f8
Adds newlines at the end of HelperFile for gcc
continuous-integration/drone/push Build is passing Details
2021-07-09 14:32:21 +02:00
Deukhoofd 4c9d472f10
Several fixes for binary stream
continuous-integration/drone/push Build is failing Details
2021-07-09 14:18:26 +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 8fc29d925b
Adds C Interface for CanEvolveFromLevelUp 2021-07-02 11:11:46 +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 733c1d0ce4
Fixes C Interface for GetPreEvolution function
continuous-integration/drone/push Build is passing Details
2021-06-26 17:07:09 +02:00
Deukhoofd 68e7dd5f08
Adds a bunch of new evolution methods. 2021-06-26 16:20:25 +02:00
Deukhoofd 1f298cef08
Fixes for FindPreEvolution from C Interface
continuous-integration/drone/push Build is passing Details
2021-06-26 13:36:21 +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 d779c7cbfe
Adds implicit conversion from constString -> String in angelscript.
continuous-integration/drone/push Build is passing Details
2021-05-13 14:05:14 +02:00
Deukhoofd 3fb32c33ec
Fix MoveTurnChoice.GetUser returning a const in angelscript.
continuous-integration/drone/push Build is passing Details
2021-05-13 13:51:21 +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 d8eac290cf
Fix Windows Build.
continuous-integration/drone/push Build is passing Details
2021-05-13 13:19:01 +02:00
Deukhoofd 109042ff52
Adds support for including angelscript files using #include pragma, as long as they're within a set source directory.
continuous-integration/drone/push Build is failing Details
2021-05-13 12:47:02 +02:00
Deukhoofd 5c6bbf485f
Fix Angelscript battle returning normal Party instead of BattleParty.
continuous-integration/drone/push Build is passing Details
2021-05-08 12:28:50 +02:00