Switch to a autotools build system and format

This commit is contained in:
2026-04-17 12:19:37 -05:00
parent 3657b8de60
commit ceffd1869a
17 changed files with 554 additions and 110 deletions

View File

@@ -1,9 +0,0 @@
#include <core.h>
void init_core() {
AG_InitCore("agar", 0);
}
void event_loop() {
AG_EventLoop();
}

View File

@@ -1,22 +0,0 @@
#include <gui.h>
void init_gui() {
AG_InitGraphics(0);
}
AG_Window *make_window() {
return AG_WindowNew(AG_WINDOW_MAIN);
}
void show_window(AG_Window *win) {
AG_WindowShow(win);
}
AG_Label* make_label(void* parent) {
return AG_LabelNew(parent, 0, "");
}
void set_label_text(AG_Label* label, const char* text) {
AG_LabelText(label, text);
}