summaryrefslogtreecommitdiff
path: root/src/game-settings.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2023-11-28 12:21:33 -0500
committerJonathan Bradley <jcb@pikum.xyz>2023-11-28 12:21:33 -0500
commit662e13106e2f726e47d09dc66c01d9449eceb623 (patch)
tree34f6041061bc2ae0c7d2052ef5f13290e68c73c9 /src/game-settings.hpp
parentd6792165cb7df9f8f7d8e734a5af63bc25d83fbc (diff)
add transient bucket for temp storage that resets on tick start
Diffstat (limited to 'src/game-settings.hpp')
-rw-r--r--src/game-settings.hpp5
1 files changed, 5 insertions, 0 deletions
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 <chrono>
#include <cstdint>
@@ -26,6 +28,9 @@ struct GameSettings {
bool isFramerateUnlocked = false;
bool isWaitingForVsync = true;
} graphicsSettings;
+ struct {
+ MemBucket *bkt = nullptr;
+ } mem;
};
extern GameSettings pkeSettings;