From 662e13106e2f726e47d09dc66c01d9449eceb623 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Tue, 28 Nov 2023 12:21:33 -0500 Subject: add transient bucket for temp storage that resets on tick start --- src/game-settings.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game-settings.hpp') diff --git a/src/game-settings.hpp b/src/game-settings.hpp index 1131e6d..3456725 100644 --- a/src/game-settings.hpp +++ b/src/game-settings.hpp @@ -1,6 +1,8 @@ #ifndef PKE_GAME_SETTINGS_HPP #define PKE_GAME_SETTINGS_HPP +#include "memory-type-defs.hpp" + #include #include @@ -26,6 +28,9 @@ struct GameSettings { bool isFramerateUnlocked = false; bool isWaitingForVsync = true; } graphicsSettings; + struct { + MemBucket *bkt = nullptr; + } mem; }; extern GameSettings pkeSettings; -- cgit v1.2.3