cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
@@ -1402,7 +1402,7 @@ static bool handle_click(int mx, int my) {
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool handle_key(const Montauk::KeyEvent& key, bool& quit) {
|
||||
static bool handle_key(const montauk::abi::KeyEvent& key, bool& quit) {
|
||||
if (!key.pressed) return false;
|
||||
|
||||
if (key.scancode == 0x01) { // Escape
|
||||
@@ -1620,7 +1620,7 @@ extern "C" void _start() {
|
||||
}
|
||||
|
||||
// Create window
|
||||
Montauk::WinCreateResult wres;
|
||||
montauk::abi::WinCreateResult wres;
|
||||
if (montauk::win_create("Music", g.win_w, g.win_h, &wres) < 0 || wres.id < 0)
|
||||
montauk::exit(1);
|
||||
|
||||
@@ -1638,7 +1638,7 @@ extern "C" void _start() {
|
||||
uint64_t last_render = montauk::get_milliseconds();
|
||||
|
||||
while (true) {
|
||||
Montauk::WinEvent ev;
|
||||
montauk::abi::WinEvent ev;
|
||||
bool redraw = false;
|
||||
bool quit = false;
|
||||
int r;
|
||||
|
||||
Reference in New Issue
Block a user