cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
@@ -692,7 +692,7 @@ static void render() {
|
||||
host.present();
|
||||
}
|
||||
|
||||
static bool handle_mouse(const Montauk::WinEvent& ev) {
|
||||
static bool handle_mouse(const montauk::abi::WinEvent& ev) {
|
||||
int prev_x = g_mouse_x;
|
||||
int prev_y = g_mouse_y;
|
||||
g_mouse_x = ev.mouse.x;
|
||||
@@ -803,7 +803,7 @@ static bool handle_mouse(const Montauk::WinEvent& ev) {
|
||||
return redraw;
|
||||
}
|
||||
|
||||
static bool handle_key(const Montauk::KeyEvent& key) {
|
||||
static bool handle_key(const montauk::abi::KeyEvent& key) {
|
||||
if (!key.pressed || g_country_count <= 0) return false;
|
||||
|
||||
if (key.ascii == '\n' || key.ascii == '\r') {
|
||||
@@ -858,7 +858,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