mirror of
https://github.com/zeldaret/botw
synced 2026-05-26 23:47:16 -04:00
ksys/gdt: Move FlagHandle to separate header
To avoid header bloat.
This commit is contained in:
@@ -5,6 +5,7 @@ target_sources(uking PRIVATE
|
||||
gdtCommonFlagsUtils.h
|
||||
gdtFlag.cpp
|
||||
gdtFlag.h
|
||||
gdtFlagHandle.h
|
||||
gdtFlagProxy.h
|
||||
gdtFlagUtils.h
|
||||
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 <thread/seadMutex.h>
|
||||
#include <type_traits>
|
||||
#include "KingSystem/GameData/gdtFlagHandle.h"
|
||||
#include "KingSystem/GameData/gdtTriggerParam.h"
|
||||
#include "KingSystem/Resource/resHandle.h"
|
||||
#include "KingSystem/System/KingEditor.h"
|
||||
@@ -56,10 +57,6 @@ struct SetterTraits {
|
||||
|
||||
} // namespace detail
|
||||
|
||||
enum class FlagHandle : u32 {};
|
||||
|
||||
constexpr FlagHandle InvalidHandle = FlagHandle(-1);
|
||||
|
||||
class TriggerParamRef {
|
||||
public:
|
||||
TriggerParamRef(TriggerParam** param_1, TriggerParam** param, bool check_permissions,
|
||||
|
||||
Reference in New Issue
Block a user