From b2548ba4ce295fcd94a50123fb543fac2ef2bc33 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 14 Nov 2024 14:46:23 -0500 Subject: 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 --- src/game-settings.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game-settings.hpp') diff --git a/src/game-settings.hpp b/src/game-settings.hpp index 10be624..89862a8 100644 --- a/src/game-settings.hpp +++ b/src/game-settings.hpp @@ -2,7 +2,7 @@ #define PKE_GAME_SETTINGS_HPP #include "level-types.hpp" -#include "memory-type-defs.hpp" +#include "vendor/pk.h" #include #include @@ -31,7 +31,7 @@ struct GameSettings { bool isWaitingForVsync = true; } graphicsSettings; struct memory { - MemBucket *bkt = nullptr; + struct pk_membucket *bkt = nullptr; } mem; struct engineArgs { const char *pluginPath = nullptr; -- cgit v1.2.3