mirror of
https://github.com/rrika/cdcEngineDXHR.git
synced 2025-02-17 12:19:57 +00:00
add scene/
This commit is contained in:
parent
de4ccebe50
commit
9b6acbfcb9
@ -50,3 +50,4 @@ add_subdirectory(drm)
|
||||
add_subdirectory(input)
|
||||
add_subdirectory(miniz)
|
||||
add_subdirectory(rendering)
|
||||
add_subdirectory(scene)
|
||||
|
2
scene/CMakeLists.txt
Normal file
2
scene/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
||||
target_sources(dxhr PRIVATE
|
||||
includeEverything.cpp)
|
9
scene/IScene.h
Normal file
9
scene/IScene.h
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
namespace cdc {
|
||||
|
||||
class IScene {
|
||||
// 42 methods
|
||||
};
|
||||
|
||||
}
|
9
scene/ISceneCell.h
Normal file
9
scene/ISceneCell.h
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
namespace cdc {
|
||||
|
||||
class ISceneCell {
|
||||
// 27 methods
|
||||
};
|
||||
|
||||
}
|
9
scene/ISceneCellGroup.h
Normal file
9
scene/ISceneCellGroup.h
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
namespace cdc {
|
||||
|
||||
class ISceneCellGroup {
|
||||
// 23 methods
|
||||
};
|
||||
|
||||
}
|
9
scene/ISceneEntity.h
Normal file
9
scene/ISceneEntity.h
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
namespace cdc {
|
||||
|
||||
class ISceneEntity {
|
||||
// 25 methods
|
||||
};
|
||||
|
||||
}
|
10
scene/ISceneLight.h
Normal file
10
scene/ISceneLight.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
#include "ISceneEntity.h"
|
||||
|
||||
namespace cdc {
|
||||
|
||||
class ISceneLight : public ISceneEntity {
|
||||
// 40 methods
|
||||
};
|
||||
|
||||
}
|
9
scene/IScenePortal.h
Normal file
9
scene/IScenePortal.h
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
namespace cdc {
|
||||
|
||||
class IScenePortal {
|
||||
// 7 methods
|
||||
};
|
||||
|
||||
}
|
10
scene/Scene.h
Normal file
10
scene/Scene.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
#include "IScene.h"
|
||||
|
||||
namespace cdc {
|
||||
|
||||
class Scene : public IScene {
|
||||
// 43 methods
|
||||
};
|
||||
|
||||
}
|
14
scene/SceneCell.h
Normal file
14
scene/SceneCell.h
Normal file
@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
#include "ISceneCell.h"
|
||||
#include "SceneCellContainer.h"
|
||||
|
||||
namespace cdc {
|
||||
|
||||
class SceneCell :
|
||||
public ISceneCell,
|
||||
public SceneCellContainer
|
||||
{
|
||||
// 28 methods from ISceneCell
|
||||
};
|
||||
|
||||
}
|
12
scene/SceneCellContainer.h
Normal file
12
scene/SceneCellContainer.h
Normal file
@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
namespace cdc {
|
||||
|
||||
class SceneCellContainer {
|
||||
public:
|
||||
class CellReceiver {
|
||||
// 2 methods
|
||||
};
|
||||
};
|
||||
|
||||
}
|
14
scene/SceneCellGroup.h
Normal file
14
scene/SceneCellGroup.h
Normal file
@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
#include "ISceneCellGroup.h"
|
||||
#include "SceneCellContainer.h"
|
||||
|
||||
namespace cdc {
|
||||
|
||||
class SceneCellGroup :
|
||||
public ISceneCellGroup,
|
||||
public SceneCellContainer
|
||||
{
|
||||
// 22 methods from ISceneCellGroup
|
||||
};
|
||||
|
||||
}
|
10
scene/SceneDynamicPortal.h
Normal file
10
scene/SceneDynamicPortal.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
#include "IScenePortal.h"
|
||||
|
||||
namespace cdc {
|
||||
|
||||
class SceneDynamicPortal : public IScenePortal {
|
||||
// 7 methods
|
||||
};
|
||||
|
||||
}
|
10
scene/SceneEntity.h
Normal file
10
scene/SceneEntity.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
#include "ISceneEntity.h"
|
||||
|
||||
namespace cdc {
|
||||
|
||||
class SceneEntity : public ISceneEntity {
|
||||
// 25 methods
|
||||
};
|
||||
|
||||
}
|
16
scene/SceneLight.h
Normal file
16
scene/SceneLight.h
Normal file
@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
#include "SceneEntity.h"
|
||||
#include "ISceneLight.h"
|
||||
|
||||
namespace cdc {
|
||||
|
||||
class SceneLight :
|
||||
public SceneEntity,
|
||||
public ISceneLight
|
||||
{
|
||||
// this class inherits ISceneEntity twice!
|
||||
// 25 methods from SceneEntity
|
||||
// 41 methods from ISceneLight
|
||||
};
|
||||
|
||||
}
|
13
scene/includeEverything.cpp
Normal file
13
scene/includeEverything.cpp
Normal file
@ -0,0 +1,13 @@
|
||||
#include "ISceneCellGroup.h"
|
||||
#include "ISceneCell.h"
|
||||
#include "ISceneEntity.h"
|
||||
#include "IScene.h"
|
||||
#include "ISceneLight.h"
|
||||
#include "IScenePortal.h"
|
||||
#include "SceneCellContainer.h"
|
||||
#include "SceneCellGroup.h"
|
||||
#include "SceneCell.h"
|
||||
#include "SceneDynamicPortal.h"
|
||||
#include "SceneEntity.h"
|
||||
#include "Scene.h"
|
||||
#include "SceneLight.h"
|
Loading…
x
Reference in New Issue
Block a user