ZLS isn't recognizing anything from a struct I'm importing from another file. Am I importing wrong? Am I getting the path wrong?
main.zig:
const GameInstance = @import("src/engine/game_instance.zig").GameInstance;
game_instance.zig
pub const GameInstance = struct {
// PROPERTIES
window_width: i32 = 800,
window_height: i32 = 600,
is_fullscreen: bool = false,
// MAIN FUNCTIONS
// creates the GameInstance object
pub fn create(self: GameInstance, width: i32, height: i32, title: [*:0]const u8, fullscreen : bool) void {
self.window_width = width;
self.window_height = height;
self.is_fullscreen = fullscreen;
raylib.InitWindow(width, height, title);
if (fullscreen == true) raylib.ToggleFullscreen();
}
///...
