This website requires JavaScript.
3a4eb9264e
Actually include the Precompiled header file.
Deukhoofd
2020-09-25 13:06:32 +0200
53bfbd36c2
Use a precompiled header.
Deukhoofd
2020-09-25 13:05:15 +0200
5970dc5d90
Switch unit test library from Catch2 to DocTest.
Deukhoofd
2020-09-25 12:43:08 +0200
5b10dac514
Use LLD as linker when using clang.
Deukhoofd
2020-09-21 12:51:45 +0200
a5d7db2077
Remove unused LEVEL_SIZE defines for now.
Deukhoofd
2020-09-19 12:03:41 +0200
0cdb5604e5
Always use same level_int_t
Deukhoofd
2020-09-18 20:13:35 +0200
2bb1f2ed4a
Remove thinlto, causes more issues than it helps.
Deukhoofd
2020-09-18 19:46:10 +0200
aaaad658b0
Use ThinLTO for shared library building.
Deukhoofd
2020-09-12 17:04:43 +0200
def38e98c6
Support for getting a creatures actual talent.
Deukhoofd
2020-09-05 14:51:06 +0200
a0ae9e8523
Removed unused variable
Deukhoofd
2020-08-30 13:21:40 +0200
3233daf9ab
More defensive programming.
Deukhoofd
2020-08-30 13:14:33 +0200
32f75f4a47
Store time in turn execution on battle class.
Deukhoofd
2020-08-28 12:24:10 +0200
d2e72deeca
Fix nickname test
Deukhoofd
2020-08-28 12:23:18 +0200
b096fb9533
Dont set nickname to species internal name.
Deukhoofd
2020-08-25 19:12:35 +0200
97c4856117
C Interface for several events.
Deukhoofd
2020-08-25 18:33:39 +0200
482a0fc324
Add C Interface function to get number of hits of executingattack.
Deukhoofd
2020-08-24 20:37:36 +0200
86ed173d30
Defensive programming for Party
Deukhoofd
2020-08-24 20:37:22 +0200
fcdc58176f
Support for getting Creature by ID.
Deukhoofd
2020-08-22 13:24:08 +0200
9547b92f14
Log level size used in cmake.
Deukhoofd
2020-08-22 10:21:39 +0200
ecc52f3e3a
Try to print conan option as string.
Deukhoofd
2020-08-20 15:30:45 +0200
7e2e19fb64
Removed temp compiler version again.
Deukhoofd
2020-08-20 15:17:51 +0200
a5d5257420
Tweaks and fixes for Windows
Deukhoofd
2020-08-20 15:12:19 +0200
a6bfac61a8
Log which level size we're using from conan.
Deukhoofd
2020-08-20 14:56:10 +0200
6d6e6ab026
Log warning and fall back to uint8_t if level size wasn't specified.
Deukhoofd
2020-08-20 13:48:00 +0200
6ba0bb7298
Raise error if level size wasn't specified.
Deukhoofd
2020-08-20 13:45:27 +0200
46ccf8e7bf
Style fix.
Deukhoofd
2020-08-20 13:39:16 +0200
8420f143d7
Add conan option to change level size.
Deukhoofd
2020-08-20 12:11:43 +0200
39e1295013
Compile time option to change bit size of level.
Deukhoofd
2020-08-19 20:11:00 +0200
ba97fa8579
C Interface to initialize creature.
Deukhoofd
2020-08-17 17:23:03 +0200
98dacbccde
Use Arbutils exception Macros, instead of own ones.
Deukhoofd
2020-08-17 12:18:01 +0200
9d5316edff
Skip exception test in valgrind run.
Deukhoofd
2020-08-16 17:53:04 +0200
a828e2d09c
Update to latest Arbutils
Deukhoofd
2020-08-16 17:41:56 +0200
56b92a22a6
Style fix
Deukhoofd
2020-08-15 19:59:23 +0200
4c266bcd43
Fixes failing test on Release build and Windows.
Deukhoofd
2020-08-15 19:54:59 +0200
2b703954a5
Some fixes for stacktraces.
Deukhoofd
2020-08-15 17:47:01 +0200
de07dcda4d
Initialize static variable
Deukhoofd
2020-08-15 16:39:37 +0200
93a763ab78
Rework exceptions.
Deukhoofd
2020-08-15 16:34:52 +0200
c921d3127b
Update to latest Arbutils, include stacktrace.
Deukhoofd
2020-08-15 15:10:48 +0200
46ab060b99
C Interface to get targets array from ExecutingAttack.
Deukhoofd
2020-08-14 17:59:56 +0200
73f48eab7a
C Interface for History.
Deukhoofd
2020-08-14 17:24:12 +0200
cb4765e0cc
Adds support for History data, allowing us to store specific interesting occurrences in the data flow, and recall them later.
Deukhoofd
2020-08-14 15:18:00 +0200
939fee3f50
Add -fconcepts for GCC.
Deukhoofd
2020-08-14 14:26:40 +0200
103c703208
Add cool new c++ 20 constraint to EventHook.
Deukhoofd
2020-08-14 14:10:13 +0200
5536a6b83d
Implements Attack Use event.
Deukhoofd
2020-08-14 14:00:41 +0200
64b08d4ff0
Cleaned up Events, added events on species and variant changes.
Deukhoofd
2020-08-14 13:52:22 +0200
c484c376c3
When changing species, account for gender changes.
Deukhoofd
2020-08-13 12:23:49 +0200
50236f4ece
Adds Miss event.
Deukhoofd
2020-08-13 11:17:04 +0200
bb35248174
Support changing species for a creature.
Deukhoofd
2020-08-13 10:38:56 +0200
51325943ab
Support swapping attacks.
Deukhoofd
2020-08-12 18:54:01 +0200
9c6d149ad9
Support for adding and replacing attacks.
Deukhoofd
2020-08-12 17:51:06 +0200
e39b352934
Make BaseLibrary members protected instead of private.
Deukhoofd
2020-08-11 19:54:10 +0200
2c4c0f2277
Rework LearnableAttacks to use ArbUt::BorrowedPtr
Deukhoofd
2020-08-11 19:09:58 +0200
7ac63839b8
Fixes and improvements for LearnableAttacks,
Deukhoofd
2020-08-11 18:53:01 +0200
f3d22f7ba9
Support getting distinct level attacks from LearnableAttacks.
Deukhoofd
2020-08-11 17:25:04 +0200
b2931c0964
C Interface hook for getting number of creatures per side.
Deukhoofd
2020-08-11 16:56:39 +0200
2ca4f53b0c
Support for adding flags to CreatureSpecies and CreatureVariant.
Deukhoofd
2020-08-10 17:46:09 +0200
1807e720dd
Support for packing party.
Deukhoofd
2020-08-10 17:37:30 +0200
3a75a40671
Support getting an item from BaseLibrary by index, for iterating purposes.
Deukhoofd
2020-08-10 17:01:21 +0200
48660f3a4c
Adds getter for UniqueIdentifier
Deukhoofd
2020-08-09 11:48:40 +0200
fb56d0920d
Add C Interface for Variants count.
Deukhoofd
2020-08-08 19:08:24 +0200
15100f3cd5
Add functionality to retrieve a variants list.
Deukhoofd
2020-08-08 18:56:00 +0200
4ffc8ba01f
Support for getting type names from TypeLibrary.
Deukhoofd
2020-08-08 12:54:28 +0200
9cab330dbd
Update Arbutils.
Deukhoofd
2020-08-08 12:28:20 +0200
d6335359eb
Style fix.
Deukhoofd
2020-08-08 11:38:11 +0200
4ef24dd122
Helper method to restore all attack uses on a Creature.
Deukhoofd
2020-08-08 11:32:25 +0200
3d21b7c42d
Remove event hook threads, as it caused issues when being called from dotnet.
Deukhoofd
2020-08-07 20:11:03 +0200
5b1c73a2af
Fixed valgrind issues.
Deukhoofd
2020-08-07 12:27:46 +0200
208bb097dd
Make event listeners threaded.
Deukhoofd
2020-08-07 12:20:59 +0200
665227a033
C Interface for new event hooks.
Deukhoofd
2020-08-07 11:51:43 +0200
5aa04a4b15
Add TurnStart, TurnEnd and ExperienceGain event triggers.
Deukhoofd
2020-08-07 11:02:37 +0200
3a170d8924
Adds creature Switch event.
Deukhoofd
2020-08-07 10:38:35 +0200
9d56aaa52a
Changed C Interface ChangeAttack to use C functionality.
Deukhoofd
2020-08-04 17:59:50 +0200
9b9b644143
Tweak EventHook data allocation based on testing.
Deukhoofd
2020-08-04 13:43:51 +0200
5cd5a634e2
Further memory fixes for getting HitData in ExecutingAttack.
Deukhoofd
2020-08-04 12:45:11 +0200
f38161f573
Fixed issue where hitdata read wrong memory.
Deukhoofd
2020-08-04 12:22:05 +0200
08ef84f6d6
Defensive programming.
Deukhoofd
2020-08-03 17:44:29 +0200
93b3847b31
Revert "Disable EventHook system for now for testing."
Deukhoofd
2020-08-03 17:28:43 +0200
84e030213d
Disable EventHook system for now for testing.
Deukhoofd
2020-08-02 10:14:56 +0200
d55a9e8494
Add more assertions to prevent segfaults.
Deukhoofd
2020-08-02 09:52:11 +0200
1b9da9a721
Added more security to EventHook.
Deukhoofd
2020-08-01 11:34:25 +0200
301f9b9656
Removed StringView initialization, and use the default uninitialized pointer for it.
Deukhoofd
2020-08-01 10:34:40 +0200
670abd7229
Fixed Segfault when overriding talent.
Deukhoofd
2020-08-01 10:27:46 +0200
fa5184ad77
Tweaks for EventHook.
Deukhoofd
2020-07-31 19:52:12 +0200
c3de280ebb
Fixes for EventHook corruptions, unit tests for EventHooks.
Deukhoofd
2020-07-31 18:39:47 +0200
077c00a1a3
Set shared library on if so requested.
Deukhoofd
2020-07-31 17:31:23 +0200
2b86e2cb95
Fixed conan cpp_info.libs.
Deukhoofd
2020-07-31 17:05:09 +0200
0eaae43444
Reworked event hook to a system with pre-allocated memory, owned by the battle. This deals with cleaning up event data memory.
Deukhoofd
2020-07-31 16:19:39 +0200
3e8f9340f3
Dont delete events after triggering the event listener. Once they're in the event listeners hands, it's their responsibility to properly clean up the memory.
Deukhoofd
2020-07-31 15:47:18 +0200
df0eca1716
C Interface explicit constructors for different events.
Deukhoofd
2020-07-31 15:01:25 +0200
b1ecb56f10
Add C Interface for Battle::GetCurrentTurn.
Deukhoofd
2020-07-31 14:21:46 +0200
bd7ecb6b33
More work on exceptions.
Deukhoofd
2020-07-31 14:17:38 +0200
9c93ca6995
Fixed exception messages being wrong.
Deukhoofd
2020-07-31 11:23:23 +0200
a4c4cad59b
Merge the two different libs together into the same library.
Deukhoofd
2020-07-31 10:51:03 +0200
5a41208fdb
Further clearer error handling.
Deukhoofd
2020-07-31 10:45:20 +0200
b56226076e
Fixed issue where multiple targets would cause the same target to be hit over and over again.
Deukhoofd
2020-07-30 20:15:58 +0200
b3b9698831
More clearer exception messages.
Deukhoofd
2020-07-30 20:15:27 +0200
29013bb6ac
Fix issue with having two different libraries sharing the same CreatureLib Exception C Interface.
Deukhoofd
2020-07-30 20:06:23 +0200
99a562812d
Fixed issue where initial exception in the C Interface kept being blank.
Deukhoofd
2020-07-30 18:41:38 +0200
13c4609cdd
Tweaks for exception handling.
Deukhoofd
2020-07-28 19:37:03 +0200
e2e706693b
Clearer errors for C Interface.
Deukhoofd
2020-07-28 17:22:43 +0200