Console input

This commit is contained in:
2025-08-20 21:23:12 -05:00
parent fbfcbe9578
commit 84f2735246
8 changed files with 125 additions and 48 deletions

View File

@@ -7,22 +7,11 @@
#include "engine/engine.h"
#include "thread/thread.h"
thread_t thread;
threadmutex_t mutex;
void myCoolThread(thread_t *thread) {
printf("Hello from myCoolThread!\n");
}
int main(int argc, char **argv) {
threadInit(&thread, myCoolThread);
threadStart(&thread);
threadStop(&thread);
return 0;
engineInit();
for(;;) engineUpdate();
do {
engineUpdate();
} while(ENGINE.running);
engineDispose();
return 0;
}