ICT290 / src / engine / resources.h
resources.h
Raw
#pragma once

#include "audio.h"
#include "modelManager.h"
#include "object.h"
#include "textureManager.h"

struct Settings {
    int width{1920};        /// Window width
    int height{1080};       /// Window height
    float mouseSens{0.1f};  /// Mouse sensitivity
    float volume{100.f};    /// Volume
    bool mute{false};       /// Mute toggle
    std::string gameTitle{"Team Snow Squall - The Archanist"};  /// Game name
    bool settingsUpdated{false};  /// Set true to update setting changes
    int fps{0};                   /// the current frame rate
    bool vsync{true};             /// Set Vsync for the engine
    bool fullscreen{false};       /// Set screen to fullscreen mode
};

struct Resources {
    ModelManager modelManager{};      /// The model manager
    TextureManager textureManager{};  /// The texture manager
    Settings settings{};              /// The settings for the engine
};