<<
path:
root/public/jinit.git/html/templates/raylib/rules_raylib.jai
blob: 3b47bdbc9bd75cecc3ad4ef5bc754175989c1657
[raw]
[clear marker]
1 gitignore :: #string STR_END
7 main_jai :: #string STR_END
9 MEMORY_DEBUGGER = MEMORY_DEBUGGER_ENABLED
16 #if MEMORY_DEBUGGER_ENABLED defer report_memory_leaks();
18 log("Hello, Sailor!");
20 //SetTraceLogLevel(.LOG_NONE);
21 //SetConfigFlags(.FLAG_MSAA_4X_HINT);
23 InitWindow(800, 600, "Template");
28 while !WindowShouldClose() {
33 ClearBackground({ 42, 42, 60, 255 });
36 DrawText(TextFormat("Frame Time: %f s", GetFrameTime()), 10, 30, 20, WHITE);
39 //reset_temporary_storage()
47 description = "Raylib starter template",
48 template = "templates/raylib/template.jai",
49 dirs_in_workplace = .[ "src", "modules" ],
51 .{ ".gitignore", gitignore },
52 .{ "src/main.jai", main_jai },