#include #include "sldj.h" #include "sldjConfig.h" int main(int argc, char** argv) { Sldj sldj; initSldj(&sldj); // Add script from argument. if (argc > 1) { strncpy(sldj.scriptFilepath, argv[1], SLDJ_NAMEMAX); reloadScript(&sldj); } // Run update loop. while (!WindowShouldClose()) { updateSldj(&sldj); } closeSldj(&sldj); return 0; }