Initial project scaffold for Dimma
This commit is contained in:
@@ -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,
|
||||
}
|
||||
Reference in New Issue
Block a user