Vulkan port
This commit is contained in:
22
src/const.zig
Normal file
22
src/const.zig
Normal file
@@ -0,0 +1,22 @@
|
||||
const std = @import("std");
|
||||
|
||||
const Vector2 = @import("math.zig").Vector2;
|
||||
|
||||
pub const app_name = "voxel-game";
|
||||
pub const app_version_string = @import("config").version;
|
||||
pub const app_version = std.SemanticVersion.parse(app_version_string) catch unreachable;
|
||||
|
||||
pub const min_framerate = 30.0;
|
||||
pub const min_frametime = 1.0 / min_framerate;
|
||||
|
||||
pub const default_window_width = 1280;
|
||||
pub const default_window_height = 720;
|
||||
pub const default_window_size = Vector2.init(default_window_width, default_window_height);
|
||||
|
||||
pub const min_window_width = 640;
|
||||
pub const min_window_height = 360;
|
||||
pub const min_window_size = Vector2.init(default_window_width, default_window_height);
|
||||
|
||||
pub const window_title = "Voxel Game";
|
||||
|
||||
pub const temp_allocator_capacity = 16 * 1024 * 1024;
|
||||
Reference in New Issue
Block a user