26 lines
491 B
Zig
26 lines
491 B
Zig
const std = @import("std");
|
|
|
|
const Platform = @import("platform.zig");
|
|
const App = @import("app.zig");
|
|
|
|
pub const std_options: std.Options = .{
|
|
.log_scope_levels = &.{
|
|
.{ .scope = .graphics, .level = .info }
|
|
}
|
|
};
|
|
|
|
pub fn main(init: std.process.Init) void {
|
|
Platform.run(App, .{
|
|
.init = init,
|
|
|
|
.window_title = "Gaem",
|
|
.width = 800,
|
|
.height = 600,
|
|
});
|
|
}
|
|
|
|
test {
|
|
std.testing.refAllDecls(@This());
|
|
_ = @import("./slot_map.zig");
|
|
}
|