cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
@@ -452,7 +452,7 @@ static bool apply_move(MoveDir dir) {
|
||||
return true;
|
||||
}
|
||||
|
||||
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)
|
||||
@@ -478,7 +478,7 @@ static bool handle_key(const Montauk::KeyEvent& key) {
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool handle_mouse(const Montauk::WinEvent& ev) {
|
||||
static bool handle_mouse(const montauk::abi::WinEvent& ev) {
|
||||
int old_x = g_mouse_x;
|
||||
int old_y = g_mouse_y;
|
||||
g_mouse_x = ev.mouse.x;
|
||||
@@ -511,7 +511,7 @@ extern "C" void _start() {
|
||||
render();
|
||||
|
||||
while (true) {
|
||||
Montauk::WinEvent ev;
|
||||
montauk::abi::WinEvent ev;
|
||||
int r = g_win.poll(&ev);
|
||||
|
||||
if (r < 0) break;
|
||||
|
||||
Reference in New Issue
Block a user