mach: fundamental changes
- Core doesn't depend to `App` anymore - `setOptions` has replaced with some new functions (`setTitle`, `setSize`, etc) - and more
This commit is contained in:
parent
91a53807ab
commit
1d7cd4be80
26 changed files with 2306 additions and 1999 deletions
14
src/main.zig
14
src/main.zig
|
|
@ -1,27 +1,21 @@
|
|||
pub usingnamespace @import("structs.zig");
|
||||
pub usingnamespace @import("enums.zig");
|
||||
pub usingnamespace @import("entry.zig");
|
||||
pub const Core = @import("Core.zig");
|
||||
pub const Timer = @import("Timer.zig");
|
||||
pub const ResourceManager = @import("resource/ResourceManager.zig");
|
||||
|
||||
pub const gpu = @import("gpu");
|
||||
pub const ecs = @import("ecs");
|
||||
pub const sysaudio = @import("sysaudio");
|
||||
pub const sysjs = @import("sysjs");
|
||||
pub const earcut = @import("earcut");
|
||||
pub const gfx = @import("gfx/util.zig");
|
||||
pub const ResourceManager = @import("resource/ResourceManager.zig");
|
||||
|
||||
// Engine exports
|
||||
pub const App = @import("engine.zig").App;
|
||||
pub const module = @import("engine.zig").module;
|
||||
|
||||
const std = @import("std");
|
||||
const testing = std.testing;
|
||||
|
||||
test {
|
||||
// TODO: can't reference because they import "app"
|
||||
// testing.refAllDeclsRecursive(Core);
|
||||
// testing.refAllDeclsRecursive(Timer);
|
||||
testing.refAllDeclsRecursive(ResourceManager);
|
||||
testing.refAllDeclsRecursive(gfx);
|
||||
std.testing.refAllDeclsRecursive(ResourceManager);
|
||||
std.testing.refAllDeclsRecursive(gfx);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue