Basic script-based engine init is working - performance is poor

This commit is contained in:
2022-10-02 13:50:50 +01:00
parent 91afafab22
commit a7e5d101dd
9 changed files with 544 additions and 60 deletions

View File

@@ -1,11 +1,8 @@
#include "engine.h"
int main(int argc, char* argv[]) {
Engine engine = { .screenWidth = 800, .screenHeight = 600 };
initEngine(&engine);
execEngine(&engine);
freeEngine(&engine);
initEngine();
execEngine();
freeEngine();
return 0;
}