Initial project scaffold for Dimma

This commit is contained in:
2026-06-10 20:53:30 +02:00
commit 64f55c81b0
17 changed files with 702 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
// Placeholder for raylib C interop bindings
// Assumes raylib headers are available system-wide
package raylib
@(import_c)
const (
RAYWHITE = 0xF5F5F5FF
)
// Window functions
InitWindow :: proc(width: i32, height: i32, title: rawstring) #cdecl
CloseWindow :: proc() #cdecl
WindowShouldClose :: proc() -> bool #cdecl
SetTargetFPS :: proc(fps: i32) #cdecl
// Drawing functions
BeginDrawing :: proc() #cdecl
EndDrawing :: proc() #cdecl
ClearBackground :: proc(color: u32) #cdecl
// Vector2 type
Vector2 :: struct {
X: f32,
Y: f32,
}