cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
@@ -39,7 +39,7 @@ static bool init_buffers_and_fonts() {
|
||||
return true;
|
||||
}
|
||||
|
||||
static void handle_key_event(const Montauk::WinEvent& ev, bool& search_pending) {
|
||||
static void handle_key_event(const montauk::abi::WinEvent& ev, bool& search_pending) {
|
||||
uint8_t ascii = ev.key.ascii;
|
||||
uint8_t scan = ev.key.scancode;
|
||||
|
||||
@@ -65,7 +65,7 @@ static void handle_key_event(const Montauk::WinEvent& ev, bool& search_pending)
|
||||
else if (scan == 0x4F) { g_scroll_y = max_sc; }
|
||||
}
|
||||
|
||||
static void handle_mouse_event(const Montauk::WinEvent& ev, bool& search_pending) {
|
||||
static void handle_mouse_event(const montauk::abi::WinEvent& ev, bool& search_pending) {
|
||||
int mx = ev.mouse.x, my = ev.mouse.y;
|
||||
g_mouse_x = mx;
|
||||
g_mouse_y = my;
|
||||
@@ -169,7 +169,7 @@ extern "C" void _start() {
|
||||
continue;
|
||||
}
|
||||
|
||||
Montauk::WinEvent ev;
|
||||
montauk::abi::WinEvent ev;
|
||||
int r = win.poll(&ev);
|
||||
|
||||
if (r < 0) break;
|
||||
|
||||
@@ -41,7 +41,7 @@ bool ensure_wiki_tls_ready(char* err, int err_len) {
|
||||
}
|
||||
|
||||
bool welcome_feed_path(char* path, int path_len) {
|
||||
Montauk::DateTime dt {};
|
||||
montauk::abi::DateTime dt {};
|
||||
montauk::gettime(&dt);
|
||||
|
||||
if (dt.Year < 2001 || dt.Month < 1 || dt.Month > 12 ||
|
||||
|
||||
Reference in New Issue
Block a user