Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ add_library(REGothEngine STATIC
RTTI/RTTI_Character.hpp
RTTI/RTTI_CharacterAI.hpp
RTTI/RTTI_CharacterKeyboardInput.hpp
RTTI/RTTI_Console.hpp
RTTI/RTTI_GameClock.hpp
RTTI/RTTI_Inventory.hpp
RTTI/RTTI_NodeVisuals.hpp
Expand All @@ -31,8 +32,12 @@ add_library(REGothEngine STATIC
RTTI/RTTI_ScriptObjectStorage.hpp
RTTI/RTTI_StoryInformation.hpp
RTTI/RTTI_TypeIDs.hpp
RTTI/RTTI_UIConsole.hpp
RTTI/RTTI_UIDialogueChoice.hpp
RTTI/RTTI_UIElement.hpp
RTTI/RTTI_UIFocusText.hpp
RTTI/RTTI_UIInventory.hpp
RTTI/RTTI_UISubtitleBox.hpp
RTTI/RTTI_VisualCharacter.hpp
RTTI/RTTI_VisualInteractiveObject.hpp
RTTI/RTTI_VisualSkeletalAnimation.hpp
Expand All @@ -55,6 +60,8 @@ add_library(REGothEngine STATIC
components/CharacterKeyboardInput.hpp
components/CharacterState.cpp
components/CharacterState.hpp
components/Console.cpp
components/Console.hpp
components/EventQueue.cpp
components/EventQueue.hpp
components/Focusable.cpp
Expand Down Expand Up @@ -85,6 +92,8 @@ add_library(REGothEngine STATIC
components/StoryInformation.hpp
components/ThirdPersonCamera.cpp
components/ThirdPersonCamera.hpp
components/UIConsole.cpp
components/UIConsole.hpp
components/UIDialogueChoice.cpp
components/UIDialogueChoice.hpp
components/UIElement.cpp
Expand Down
20 changes: 20 additions & 0 deletions src/RTTI/RTTI_Console.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#pragma once
#include "RTTIUtil.hpp"
#include <components/Console.hpp>

namespace REGoth
{
class RTTI_Console : public bs::RTTIType<Console, bs::Component, RTTI_Console>
{
BS_BEGIN_RTTI_MEMBERS
// This class should not be serialized
BS_END_RTTI_MEMBERS

public:
RTTI_Console()
{
}

REGOTH_IMPLEMENT_RTTI_CLASS_FOR_COMPONENT(Console)
};
} // namespace REGoth
2 changes: 2 additions & 0 deletions src/RTTI/RTTI_TypeIDs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,7 @@ namespace REGoth
TID_REGOTH_StoryInformation = 600065,
TID_REGOTH_Inventory = 600066,
TID_REGOTH_UIInventory = 600067,
TID_REGOTH_Console = 600068,
TID_REGOTH_UIConsole = 600069,
};
} // namespace REGoth
20 changes: 20 additions & 0 deletions src/RTTI/RTTI_UIConsole.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#pragma once
#include "RTTIUtil.hpp"
#include <components/UIConsole.hpp>

namespace REGoth
{
class RTTI_UIConsole : public bs::RTTIType<UIConsole, UIElement, RTTI_UIConsole>
{
BS_BEGIN_RTTI_MEMBERS
// This class should not be serialized
BS_END_RTTI_MEMBERS

public:
RTTI_UIConsole()
{
}

REGOTH_IMPLEMENT_RTTI_CLASS_FOR_COMPONENT(UIConsole)
};
} // namespace REGoth
Loading