feat: add target camera in BMapInspector
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include "Cli.hpp"
|
||||
#include <VTAll.hpp>
|
||||
#include <yycc.hpp>
|
||||
#include <yycc/macro/class_copy_move.hpp>
|
||||
#include <string>
|
||||
@@ -7,18 +8,6 @@
|
||||
#include <optional>
|
||||
#include <expected>
|
||||
|
||||
namespace LibCmo::CK2 {
|
||||
class CKContext;
|
||||
namespace ObjImpls {
|
||||
class CKGroup;
|
||||
class CK3dObject;
|
||||
class CKMesh;
|
||||
class CKMaterial;
|
||||
class CKTexture;
|
||||
class CKTargetLight;
|
||||
} // namespace ObjImpls
|
||||
} // namespace LibCmo::CK2
|
||||
|
||||
namespace BMapInspector::Map {
|
||||
|
||||
enum class Error {
|
||||
@@ -53,6 +42,7 @@ namespace BMapInspector::Map {
|
||||
const std::vector<LibCmo::CK2::ObjImpls::CKMaterial*>& GetMaterials() const;
|
||||
const std::vector<LibCmo::CK2::ObjImpls::CKTexture*>& GetTextures() const;
|
||||
const std::vector<LibCmo::CK2::ObjImpls::CKTargetLight*>& GetTargetLights() const;
|
||||
const std::vector<LibCmo::CK2::ObjImpls::CKTargetCamera*>& GetTargetCameras() const;
|
||||
|
||||
private:
|
||||
std::vector<LibCmo::CK2::ObjImpls::CKGroup*> m_ObjGroups;
|
||||
@@ -61,6 +51,7 @@ namespace BMapInspector::Map {
|
||||
std::vector<LibCmo::CK2::ObjImpls::CKMaterial*> m_ObjMaterials;
|
||||
std::vector<LibCmo::CK2::ObjImpls::CKTexture*> m_ObjTextures;
|
||||
std::vector<LibCmo::CK2::ObjImpls::CKTargetLight*> m_ObjTargetLights;
|
||||
std::vector<LibCmo::CK2::ObjImpls::CKTargetCamera*> m_ObjTargetCameras;
|
||||
};
|
||||
|
||||
Result<Level> load(const Cli::Args& args);
|
||||
|
||||
Reference in New Issue
Block a user