mirror of https://github.com/zeldaret/botw.git
ksys/gdt: Move FlagHandle to separate header
To avoid header bloat.
This commit is contained in:
parent
9f6cdf69b4
commit
461967e278
|
@ -5,6 +5,7 @@ target_sources(uking PRIVATE
|
||||||
gdtCommonFlagsUtils.h
|
gdtCommonFlagsUtils.h
|
||||||
gdtFlag.cpp
|
gdtFlag.cpp
|
||||||
gdtFlag.h
|
gdtFlag.h
|
||||||
|
gdtFlagHandle.h
|
||||||
gdtFlagProxy.h
|
gdtFlagProxy.h
|
||||||
gdtFlagUtils.h
|
gdtFlagUtils.h
|
||||||
gdtManager.cpp
|
gdtManager.cpp
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <basis/seadTypes.h>
|
||||||
|
|
||||||
|
namespace ksys::gdt {
|
||||||
|
|
||||||
|
enum class FlagHandle : u32 {};
|
||||||
|
|
||||||
|
constexpr FlagHandle InvalidHandle = FlagHandle(-1);
|
||||||
|
|
||||||
|
} // namespace ksys::gdt
|
|
@ -9,6 +9,7 @@
|
||||||
#include <prim/seadTypedBitFlag.h>
|
#include <prim/seadTypedBitFlag.h>
|
||||||
#include <thread/seadMutex.h>
|
#include <thread/seadMutex.h>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
#include "KingSystem/GameData/gdtFlagHandle.h"
|
||||||
#include "KingSystem/GameData/gdtTriggerParam.h"
|
#include "KingSystem/GameData/gdtTriggerParam.h"
|
||||||
#include "KingSystem/Resource/resHandle.h"
|
#include "KingSystem/Resource/resHandle.h"
|
||||||
#include "KingSystem/System/KingEditor.h"
|
#include "KingSystem/System/KingEditor.h"
|
||||||
|
@ -56,10 +57,6 @@ struct SetterTraits {
|
||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
|
||||||
enum class FlagHandle : u32 {};
|
|
||||||
|
|
||||||
constexpr FlagHandle InvalidHandle = FlagHandle(-1);
|
|
||||||
|
|
||||||
class TriggerParamRef {
|
class TriggerParamRef {
|
||||||
public:
|
public:
|
||||||
TriggerParamRef(TriggerParam** param_1, TriggerParam** param, bool check_permissions,
|
TriggerParamRef(TriggerParam** param_1, TriggerParam** param, bool check_permissions,
|
||||||
|
|
Loading…
Reference in New Issue