summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheav <hheav3@gmail.com>2023-03-27 07:08:41 +0000
committerheav <hheav3@gmail.com>2023-03-27 07:08:41 +0000
commit97dacad8d74f5c477878b96aa4f3c94dce6dacf5 (patch)
tree3a6df06b3c21a88131fa6b3ea26c94aedc0fd07f
parentb3e4771a025057df5673e0caf393516a9b61665a (diff)
add SRS. please stop being beeoidal, vscode.
-rw-r--r--game/debug_gfx.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/game/debug_gfx.lua b/game/debug_gfx.lua
new file mode 100644
index 0000000..0c20a0d
--- /dev/null
+++ b/game/debug_gfx.lua
@@ -0,0 +1,12 @@
+local M = {}
+
+M.stack = {}
+
+function M.push(fn)
+ table.insert(M.stack, fn)
+end
+function M.pop()
+ M.stack[#M.stack] = nil
+end
+
+return M \ No newline at end of file