diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2024-11-14 14:46:23 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2024-11-14 14:46:23 -0500 |
| commit | b2548ba4ce295fcd94a50123fb543fac2ef2bc33 (patch) | |
| tree | 444a32abb4a094c4fa2f7bc9a95aa86963ad4110 /src/player-input.hpp | |
| parent | b1d926361b9d613ad712ad161f9a8b7ccab4551d (diff) | |
add pk.h and major pkmem refactor
Completely replaces the memory module with pkmem
pkmem is a newer implementation of the same
bucket memory structure.
Also includes replacing pkstr.h with pk.h's pkstr
Diffstat (limited to 'src/player-input.hpp')
| -rw-r--r-- | src/player-input.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player-input.hpp b/src/player-input.hpp index 59d2c75..e3d3501 100644 --- a/src/player-input.hpp +++ b/src/player-input.hpp @@ -2,13 +2,13 @@ #define PKE_PLAYER_INPUT_HPP #include "game-type-defs.hpp" -#include "macros.hpp" +#include "vendor/pk.h" #include <cstdint> TypeSafeInt_H(InputActionSetHandle, uint8_t, 0xFF); -TypeSafeInt_Const_Expr(InputEventHash, uint16_t, 0xFFFF); +TypeSafeInt_constexpr(InputEventHash, uint16_t, 0xFFFF); const InputEventHash PKE_INPUT_HASH_EVENT_TYPE_CURSOR_ENTER = InputEventHash {0x0001}; const InputEventHash PKE_INPUT_HASH_EVENT_TYPE_CURSOR_POS = InputEventHash {0x0002}; |
