26 lines
688 B
C++
26 lines
688 B
C++
#ifndef LIGHTKEEPER_MAINSCENE_H
|
|
#define LIGHTKEEPER_MAINSCENE_H
|
|
|
|
#include <destrum/Graphics/ids.h>
|
|
|
|
class FirstPersonController;
|
|
class GameObject;
|
|
class GfxDevice;
|
|
class RenderResources;
|
|
class Scene;
|
|
|
|
// What the app keeps a hold of after building the scene
|
|
struct MainSceneObjects {
|
|
GameObject* player{nullptr};
|
|
FirstPersonController* playerController{nullptr};
|
|
|
|
// Used by the debug "Spawn ball" button
|
|
MeshID sphereMesh{};
|
|
MaterialID sphereMaterial{};
|
|
};
|
|
|
|
// Sun, ground, parkour course, models, trigger zone, the player and the HUD
|
|
MainSceneObjects BuildMainScene(Scene& scene, GfxDevice& gfxDevice, RenderResources& resources);
|
|
|
|
#endif // LIGHTKEEPER_MAINSCENE_H
|