Implemented basic game dll interaction
This commit is contained in:
@@ -4,13 +4,15 @@ target_sources(Engine
|
||||
BoxCollider.h
|
||||
Camera.h
|
||||
Camera.cpp
|
||||
Component.h
|
||||
Collider.h
|
||||
Collider.cpp
|
||||
Component.h
|
||||
KeyboardInput.h
|
||||
MeshCollider.h
|
||||
RigidBody.h
|
||||
ShapeBase.h
|
||||
ShapeBase.cpp
|
||||
Skybox.h
|
||||
SphereCollider.h
|
||||
StaticMesh.h
|
||||
Transform.h
|
||||
@@ -22,11 +24,13 @@ target_sources(Engine
|
||||
AABB.h
|
||||
BoxCollider.h
|
||||
Camera.h
|
||||
Component.h
|
||||
Collider.h
|
||||
Component.h
|
||||
KeyboardInput.h
|
||||
MeshCollider.h
|
||||
RigidBody.h
|
||||
ShapeBase.h
|
||||
Skybox.h
|
||||
SphereCollider.h
|
||||
StaticMesh.h
|
||||
Transform.h)
|
||||
@@ -34,6 +34,7 @@ struct Camera
|
||||
//Transforms relative to actor
|
||||
float yaw;
|
||||
float pitch;
|
||||
bool mainCamera = true;
|
||||
private:
|
||||
bool bNeedsViewBuild;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include "Graphics/GraphicsResources.h"
|
||||
|
||||
namespace Seele
|
||||
{
|
||||
namespace Component
|
||||
{
|
||||
struct KeyboardInput
|
||||
{
|
||||
Seele::StaticArray<bool, static_cast<size_t>(Seele::KeyCode::KEY_LAST)> keys;
|
||||
bool mouse1;
|
||||
bool mouse2;
|
||||
float mouseX;
|
||||
float mouseY;
|
||||
};
|
||||
} // namespace Component
|
||||
} // namespace Seele
|
||||
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include "Graphics/GraphicsResources.h"
|
||||
|
||||
namespace Seele
|
||||
{
|
||||
namespace Component
|
||||
{
|
||||
struct Skybox
|
||||
{
|
||||
Gfx::PTextureCube day;
|
||||
Gfx::PTextureCube night;
|
||||
Gfx::PSamplerState sampler;
|
||||
Vector fogColor;
|
||||
float blendFactor;
|
||||
};
|
||||
} // namespace Component
|
||||
} // namespace Seele
|
||||
Reference in New Issue
Block a user