Small cleanup.
This commit is contained in:
@@ -22,7 +22,8 @@ Level :: struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
init_level :: proc() -> Level {
|
init_level :: proc() -> Level {
|
||||||
// positions work off viewport resolution, independent of target display size
|
// positions work off viewport resolution,
|
||||||
|
// independent of target display size
|
||||||
// 10% padding around the field
|
// 10% padding around the field
|
||||||
pad_x := f32(VIEWPORT_W) * 0.10
|
pad_x := f32(VIEWPORT_W) * 0.10
|
||||||
pad_y := f32(VIEWPORT_H) * 0.10
|
pad_y := f32(VIEWPORT_H) * 0.10
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ main :: proc() {
|
|||||||
defer mem.tracking_allocator_destroy(&track)
|
defer mem.tracking_allocator_destroy(&track)
|
||||||
context.allocator = mem.tracking_allocator(&track)
|
context.allocator = mem.tracking_allocator(&track)
|
||||||
}
|
}
|
||||||
// ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
// Game Loop
|
// Game Loop
|
||||||
|
|||||||
Reference in New Issue
Block a user