This website requires JavaScript.
20b53833c4
Cleans up HistoryHolder to be a lot less complicated (although possibly a bit slower), adds DamageHistory.
Deukhoofd
2021-10-23 16:57:58 +0200
1ed57e51af
Fixes make tool not being set.
Deukhoofd
2021-10-02 16:46:43 +0200
1b08dbc365
Updates for new Windows CI
Deukhoofd
2021-10-02 16:41:25 +0200
a361716233
Made Creature::GetStatusName const.
Deukhoofd
2021-09-21 22:19:26 +0200
ce30077a5d
Change Creature::Nickname to be an optional.
Deukhoofd
2021-09-19 11:40:18 +0200
152ac7e407
Don't throw an exception when teaching an attack when we don't have the max amount of attacks yet.
Deukhoofd
2021-08-29 17:16:36 +0200
b84db6aa2d
Actually use the given libtype when building library
Deukhoofd
2021-08-29 16:03:19 +0200
512a39e158
Deal with Creatures being deleted before a battle they're part of.
Deukhoofd
2021-08-28 19:05:52 +0200
d89e0b0d77
Adds function on battleside to get a creature at an index.
Deukhoofd
2021-08-23 21:38:47 +0200
9a72c1051e
fixes typo
Deukhoofd
2021-07-09 15:53:24 +0200
08120d5433
Adds status handling functions
Deukhoofd
2021-07-09 15:33:30 +0200
9303ec53e0
Adds C Interface for AllowedExperienceGain
Deukhoofd
2021-06-26 11:48:13 +0200
4274a44fa5
Fixes for GCC warnings
Deukhoofd
2021-06-26 11:26:20 +0200
762915b1f7
Add new Creature::IsUsable function, which replaces IsFainted functionality in several places.
Deukhoofd
2021-06-19 12:33:31 +0200
8241a2d7b1
Check if target of attack is a valid target for that attack.
Deukhoofd
2021-05-24 10:57:17 +0200
69dab061da
Further cleanup of TargetResolver.
Deukhoofd
2021-05-24 10:34:42 +0200
b036efaf18
Clean up TargetResolver.
Deukhoofd
2021-05-24 10:31:15 +0200
b48353822c
Change script when ChangeAttack script hook changes the used attack.
Deukhoofd
2021-05-14 10:42:05 +0200
13153b3119
Support overriding attacks through script hooks.
Deukhoofd
2021-05-13 13:16:52 +0200
188e88ab80
Store CreatureIndex on Creature, includes helper function to get a creatures party from a battle.
Deukhoofd
2021-05-08 11:53:32 +0200
305eb5efb2
Cleanup for Creature class battle data.
Deukhoofd
2021-05-08 11:26:35 +0200
be10b3515c
Reworks script aggregator. Cleans up API and code, and now handles scripts being removed from a set while we're iterating.
Deukhoofd
2021-04-18 12:50:48 +0200
13df99a6cc
Try and catch more edge cases where setIndex would be invalid.
Deukhoofd
2021-04-17 16:31:03 +0200
8f9f2b2b8d
Fixes issue with iterating over two script sets.
Deukhoofd
2021-04-17 16:23:29 +0200
9f091308b0
Reset on initialization in ScriptAggregator, fixes segfault when calling Reset on an empty Aggregator.
Deukhoofd
2021-04-17 15:08:26 +0200
33f796eff8
Minor fixes for ScriptAggregator
Deukhoofd
2021-04-17 14:44:33 +0200
96cbd594a0
Better handling of clearning scripts.
Deukhoofd
2021-04-14 19:29:42 +0200
b42bf21315
Fixes segfault in ScriptSet::Clear
Deukhoofd
2021-04-14 19:20:43 +0200
8a9a6af0af
Pass battle pointer along with clone for battleside.
Deukhoofd
2021-04-13 22:45:48 +0200
8baa647940
Sign build script.
Deukhoofd
2021-04-12 19:26:20 +0200
6be4496560
Removes conan deploy step.
Deukhoofd
2021-04-12 19:24:08 +0200
ef50b4c7ab
Pass on options to Arbutils
Deukhoofd
2021-04-12 19:05:30 +0200
b5d8b89c38
Friendship with conan is over, ExternalProject is my best friend now.
Deukhoofd
2021-04-12 18:50:50 +0200
ba5e937dbd
Remove copying historyholder for now, as it causes issues.
Deukhoofd
2021-04-11 23:29:00 +0200
e2cc20d1c5
Fixes HistoryHolder CopyOnto not actually copying memory.
Deukhoofd
2021-04-11 23:10:36 +0200
cd8a29e8fd
Adds unit test for randomness.
Deukhoofd
2021-04-11 16:03:08 +0200
2b1a1792bf
Make Clone functions const.
Deukhoofd
2021-04-11 16:01:18 +0200
84a14cff2b
Support for cloning battles for AI purposes.
Deukhoofd
2021-04-11 15:20:50 +0200
a3b7002cd4
Adds script hook to modify number of hits
Deukhoofd
2021-03-28 19:43:26 +0200
374a4d10a8
Pass creature along with OnEndTurn.
Deukhoofd
2021-03-28 18:37:10 +0200
21231761ef
Adds OnEndTurn script hook.
Deukhoofd
2021-03-28 18:24:49 +0200
23bd0da646
Adds swap event when two creatures swap positions.
Deukhoofd
2021-03-28 11:58:26 +0200
acacd02ef9
Adds script hook for preventing the opponent from switching out.
Deukhoofd
2021-03-27 22:54:51 +0100
1ddbfd2357
Fixes for ScriptSet throwing when adding a not yet found volatile script.
Deukhoofd
2021-03-27 20:20:49 +0100
bfe83ef271
When adding volatile script, return the script object.
Deukhoofd
2021-03-27 16:36:20 +0100
d6858c2d44
Adds choice pointer to flee prevention script.
Deukhoofd
2021-03-27 15:10:56 +0100
4dd3700352
Adds script hooks for preventing runaway.
Deukhoofd
2021-03-27 14:49:17 +0100
46307fe71f
Initial work on attack fail handling.
Deukhoofd
2021-03-27 12:30:12 +0100
6ef8edc2df
Update CreatureLib to changed stacktraces in Arbutils.
Deukhoofd
2021-03-26 14:09:22 +0100
9b7c271a20
Support for swapping two creatures on a side.
Deukhoofd
2021-03-26 12:01:18 +0100
cd3d665687
Adds OnInitialize function on Item Use Script.
Deukhoofd
2021-03-07 19:49:06 +0100
14ebf20f23
Adds getter for pointer to script resolver on battle library.
Deukhoofd
2021-03-07 19:04:15 +0100
715da74320
Make Effect field in Item OptionalUniquePtr.
Deukhoofd
2021-03-07 12:39:15 +0100
26c36f8ece
Adds effect field to Items.
Deukhoofd
2021-03-07 11:56:07 +0100
3a4171f565
Use Item pointer for Script resolving for item use script.
Deukhoofd
2021-03-07 11:24:45 +0100
d908efff9d
Adds support for scripts for item use handling.
Deukhoofd
2021-03-07 10:54:42 +0100
5178d5dcc0
Renamed Script --> BattleScript, some cleanup on it.
Deukhoofd
2021-03-07 10:26:41 +0100
d70c6a224a
Fixes for growth rates, forces shared library to be dll on Windows.
Deukhoofd
2021-03-07 09:43:10 +0100
7aa31a838d
Several fixes for attack effects not triggering.
Deukhoofd
2021-01-22 13:38:05 +0100
abccc23851
Trigger event when stat boost changes.
Deukhoofd
2021-01-16 21:16:47 +0100
987f60ee85
Clear scripts from creature when a battle is cleared from it.
Deukhoofd
2021-01-15 16:31:47 +0100
66b95a6e4d
Reset seen opponents on ClearBattle.
Deukhoofd
2021-01-15 15:46:48 +0100
6edc9da536
Update environment variable to correct value
Deukhoofd
2020-12-31 14:38:12 +0100
19fd705185
Also pass previously mentioned env variable to build server
Deukhoofd
2020-12-31 14:31:27 +0100
f9cd6b6135
Use environment variable for compiler version for Windows.
Deukhoofd
2020-12-31 14:24:33 +0100
941927336e
Reduce file size by using IPO and LTO.
Deukhoofd
2020-12-31 13:52:11 +0100
207d4bd799
Reduce file size by only including relevant debug symbols for stacktraces.
Deukhoofd
2020-12-31 13:51:43 +0100
3742e07b03
Rework clearing battle from creatures.
Deukhoofd
2020-12-28 15:10:49 +0100
a284641b5a
Fixes invalid pointers to a battle dangling when a battle is removed.
Deukhoofd
2020-12-28 13:40:39 +0100
69476b6f9d
Adds setter for nickname.
Deukhoofd
2020-12-22 16:11:23 +0100
65cf7c52d9
Fixes CInterface for BaseLibrary returning wrong value.
Deukhoofd
2020-12-22 16:11:11 +0100
87bbae678a
Style Fixes
Deukhoofd
2020-12-13 12:26:54 +0100
e642f374b9
Update to latest Arbutils.
Deukhoofd
2020-12-13 12:15:40 +0100
2055837980
Make learned attacks on Creature be optional.
Deukhoofd
2020-12-12 15:10:18 +0100
29d6632472
Makes TryGetVariant use an std::optional
Deukhoofd
2020-12-12 14:12:50 +0100
4367d1f5cf
Make HeldItem OptionalBorrowedPtr.
Deukhoofd
2020-12-12 13:40:30 +0100
a01e22ad89
Fixes BaseLibrary function calling itself.
Deukhoofd
2020-12-12 13:20:21 +0100
3bd39cc035
Update to latest Arbutils.
Deukhoofd
2020-12-12 12:59:56 +0100
185ec40ba5
Use std::optional for BaseLibrary TryGet.
Deukhoofd
2020-12-12 12:42:28 +0100
5c39694f19
Overhaul memory model to new Arbutils memory.
Deukhoofd
2020-12-12 12:22:48 +0100
1dc3aafd33
Use vector instead of set for types.
Deukhoofd
2020-10-23 16:51:15 +0200
de8b5de7b4
Mark several classes as final for devirtualization performance benefits.
Deukhoofd
2020-10-15 18:21:50 +0200
b006344d83
Make Item follow PIMPL idiom.
Deukhoofd
2020-09-30 20:32:41 +0200
1eb1b04019
Sign build.
Deukhoofd
2020-09-30 18:56:04 +0200
2a4f2cd2c9
Fix colours in build.
Deukhoofd
2020-09-30 18:53:28 +0200
926a3c5dd8
Document StatisticSet, add constraint that its generic type must be an integer type.
Deukhoofd
2020-09-30 18:53:18 +0200
539a278114
Make LibrarySettings follow PIMPL, adds documentation.
Deukhoofd
2020-09-30 18:49:39 +0200
dd8847a441
Re-add different level sizes in Defines.
Deukhoofd
2020-09-27 11:25:32 +0200
4f972bcb28
Include precompiled header in conan.
Deukhoofd
2020-09-27 11:19:10 +0200
e14f747d48
Documents LearnableAttacks
Deukhoofd
2020-09-27 11:17:13 +0200
4006d63872
Make LearnableAttacks follow PIMPL idiom.
Deukhoofd
2020-09-27 10:49:26 +0200
15deae1504
Adds some documentation, add .clang-tidy file.
Deukhoofd
2020-09-26 12:46:48 +0200
94d1d68832
Fully document SpeciesVariant.
Deukhoofd
2020-09-25 19:27:27 +0200
fbdeaf9e9c
Made SpeciesVariant follow PIMPL idiom.
Deukhoofd
2020-09-25 19:11:56 +0200
6189919496
Fully documents CreatureSpecies.
Deukhoofd
2020-09-25 18:52:47 +0200
54eb0da76a
Fix documentation download.
Deukhoofd
2020-09-25 18:39:36 +0200
b4e1e1e3d2
Fixed build trying to delete the wrong things.
Deukhoofd
2020-09-25 18:31:31 +0200
17b6906fcf
Sign build file.
Deukhoofd
2020-09-25 18:25:19 +0200
4bf591c649
Start working on documentation.
Deukhoofd
2020-09-25 18:24:28 +0200
d4505f4293
Make CreatureSpecies follow PIMPL idiom.
Deukhoofd
2020-09-25 13:33:57 +0200