Fix ordering of structs when array type appears, add more windows stuff
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// #import "base.kl"
|
||||
#load "Windows.kl"
|
||||
#load "gdi32.kl"
|
||||
#load "user32.kl"
|
||||
|
||||
Vec2I :: struct;; x: S32; y: S32
|
||||
Vec2 :: struct;; x: F32; y: F32
|
||||
@@ -34,8 +35,13 @@ create_bitmap :: (size: Vec2I, bottom_up: Bool = true): Windows_Bitmap
|
||||
return result
|
||||
|
||||
|
||||
window_procedure :: (hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM): LRESULT
|
||||
if msg == WM_DESTROY
|
||||
pass
|
||||
|
||||
main :: (argc: int, argv: **char): int
|
||||
bitmap := create_bitmap({1280, 720})
|
||||
WNDCLASS
|
||||
// memory := os.reserve(size = 10000)
|
||||
// os.commit(&memory, 1000)
|
||||
// os.release(&memory)
|
||||
|
||||
Reference in New Issue
Block a user