cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
1 parent
b6ac5ac994
commit
43d43ac9ea
165 files changed
+758
-758
No files matched your search
@@ -53,7 +53,7 @@ static WsWindow g_win;
|
||||
static int g_master_vol = 80;
|
||||
static bool g_master_muted = false;
|
||||
|
||||
static Montauk::AudioStreamInfo g_streams[8];
|
||||
static montauk::abi::AudioStreamInfo g_streams[8];
|
||||
static int g_stream_count = 0;
|
||||
|
||||
// Drag target: -2 = none, -1 = master, 0..N-1 = stream slot in g_streams.
|
||||
@@ -385,7 +385,7 @@ static bool handle_mouse(int mx, int my, uint8_t buttons, uint8_t prev) {
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool handle_key(const Montauk::KeyEvent& key) {
|
||||
static bool handle_key(const montauk::abi::KeyEvent& key) {
|
||||
if (!key.pressed) return false;
|
||||
if (key.scancode == 0x01) {
|
||||
g_win.closed = true;
|
||||
@@ -428,7 +428,7 @@ extern "C" void _start() {
|
||||
render();
|
||||
|
||||
while (g_win.id >= 0 && !g_win.closed) {
|
||||
Montauk::WinEvent ev;
|
||||
montauk::abi::WinEvent ev;
|
||||
int r = g_win.poll(&ev);
|
||||
|
||||
bool redraw = false;
|
||||
|
||||
Reference in new issue
Block a user