summaryrefslogtreecommitdiff
path: root/nandgame/cpp/simpc_ui.h
diff options
context:
space:
mode:
authoruvok2026-01-11 10:45:59 +0100
committeruvok2026-01-11 10:45:59 +0100
commitacd85c5766ae4fd4c7a961369540b3b5b4b4f146 (patch)
tree6fd6c67422eefd4246d6799e2c6bb9048d512a0a /nandgame/cpp/simpc_ui.h
parent6fa7f23d02e90b45380eab7f1779af7c58aa3006 (diff)
Move around stuff, split UI
Diffstat (limited to 'nandgame/cpp/simpc_ui.h')
-rw-r--r--nandgame/cpp/simpc_ui.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/nandgame/cpp/simpc_ui.h b/nandgame/cpp/simpc_ui.h
new file mode 100644
index 0000000..4f03d4a
--- /dev/null
+++ b/nandgame/cpp/simpc_ui.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include "Vcomputer.h"
+#include "simpc_types.h"
+
+#include <memory>
+
+void draw_init(void);
+void draw_ui(const std::unique_ptr<Vcomputer> &topp, int &i, StepPosition_t sp);
+void draw_finish(const std::unique_ptr<VerilatedContext> &contextp,
+ const std::unique_ptr<Vcomputer> &topp); \ No newline at end of file