mirror of https://github.com/zeldaret/botw.git
ksys/world: Move defines to separate header
This commit is contained in:
parent
333078a9f2
commit
2d5a3e7c93
|
@ -1,6 +1,7 @@
|
|||
target_sources(uking PRIVATE
|
||||
worldChemicalMgr.cpp
|
||||
worldChemicalMgr.h
|
||||
worldDefines.h
|
||||
worldDofMgr.cpp
|
||||
worldDofMgr.h
|
||||
worldEnvMgr.cpp
|
||||
|
|
|
@ -0,0 +1,75 @@
|
|||
#pragma once
|
||||
|
||||
#include <basis/seadTypes.h>
|
||||
#include <prim/seadEnum.h>
|
||||
|
||||
namespace ksys::world {
|
||||
|
||||
SEAD_ENUM(DungeonSize, S,M,L,XL)
|
||||
SEAD_ENUM(DungeonType, Gimmick,Enemy,Treasure)
|
||||
|
||||
enum class CalcType {
|
||||
_0 = 0,
|
||||
_1 = 1,
|
||||
_2 = 2,
|
||||
Invalid = 3,
|
||||
};
|
||||
|
||||
enum class RemainsType {
|
||||
Wind,
|
||||
Electric,
|
||||
Fire,
|
||||
Water,
|
||||
FinalTrial,
|
||||
};
|
||||
|
||||
enum class FieldType {
|
||||
MainField = 0,
|
||||
AocField = 1,
|
||||
};
|
||||
|
||||
enum class ScalingMode {
|
||||
Enabled = 0,
|
||||
Disabled = 1,
|
||||
};
|
||||
|
||||
enum class WeatherType {
|
||||
Bluesky,
|
||||
Cloudy,
|
||||
Rain,
|
||||
HeavyRain,
|
||||
Snow,
|
||||
HeavySnow,
|
||||
ThunderStorm,
|
||||
ThunderRain,
|
||||
BlueskyRain,
|
||||
Invalid = 0xff,
|
||||
};
|
||||
constexpr u32 NumWeatherTypes = 9;
|
||||
|
||||
enum class Climate {
|
||||
HyrulePlainClimate,
|
||||
NorthHyrulePlainClimate,
|
||||
HebraFrostClimate,
|
||||
TabantaAridClimate,
|
||||
FrostClimate,
|
||||
GerudoDesertClimate,
|
||||
GerudoPlateauClimate,
|
||||
EldinClimateLv0,
|
||||
TamourPlainClimate,
|
||||
ZoraTemperateClimate,
|
||||
HateruPlainClimate,
|
||||
FiloneSubtropicalClimate,
|
||||
SouthHateruHumidTemperateClimate,
|
||||
EldinClimateLv1,
|
||||
EldinClimateLv2,
|
||||
// sic
|
||||
DarkWoodsClimat,
|
||||
LostWoodClimate,
|
||||
GerudoFrostClimate,
|
||||
KorogForest,
|
||||
GerudoDesertClimateLv2,
|
||||
};
|
||||
constexpr u32 NumClimates = 20;
|
||||
|
||||
} // namespace ksys::world
|
|
@ -9,12 +9,12 @@
|
|||
#include <container/seadSafeArray.h>
|
||||
#include <hostio/seadHostIONode.h>
|
||||
#include <mc/seadJobQueue.h>
|
||||
#include <prim/seadEnum.h>
|
||||
#include <prim/seadSizedEnum.h>
|
||||
#include "KingSystem/Resource/resHandle.h"
|
||||
#include "KingSystem/System/StageInfo.h"
|
||||
#include "KingSystem/Utils/Types.h"
|
||||
#include "KingSystem/World/worldChemicalMgr.h"
|
||||
#include "KingSystem/World/worldDefines.h"
|
||||
#include "KingSystem/World/worldDofMgr.h"
|
||||
#include "KingSystem/World/worldEnvMgr.h"
|
||||
#include "KingSystem/World/worldShootingStarMgrEx.h"
|
||||
|
@ -30,73 +30,6 @@ class WorkerMgr;
|
|||
|
||||
namespace ksys::world {
|
||||
|
||||
SEAD_ENUM(DungeonSize, S,M,L,XL)
|
||||
SEAD_ENUM(DungeonType, Gimmick,Enemy,Treasure)
|
||||
|
||||
enum class CalcType {
|
||||
_0 = 0,
|
||||
_1 = 1,
|
||||
_2 = 2,
|
||||
Invalid = 3,
|
||||
};
|
||||
|
||||
enum class RemainsType {
|
||||
Wind,
|
||||
Electric,
|
||||
Fire,
|
||||
Water,
|
||||
FinalTrial,
|
||||
};
|
||||
|
||||
enum class FieldType {
|
||||
MainField = 0,
|
||||
AocField = 1,
|
||||
};
|
||||
|
||||
enum class ScalingMode {
|
||||
Enabled = 0,
|
||||
Disabled = 1,
|
||||
};
|
||||
|
||||
enum class WeatherType {
|
||||
Bluesky,
|
||||
Cloudy,
|
||||
Rain,
|
||||
HeavyRain,
|
||||
Snow,
|
||||
HeavySnow,
|
||||
ThunderStorm,
|
||||
ThunderRain,
|
||||
BlueskyRain,
|
||||
Invalid = 0xff,
|
||||
};
|
||||
constexpr u32 NumWeatherTypes = 9;
|
||||
|
||||
enum class Climate {
|
||||
HyrulePlainClimate,
|
||||
NorthHyrulePlainClimate,
|
||||
HebraFrostClimate,
|
||||
TabantaAridClimate,
|
||||
FrostClimate,
|
||||
GerudoDesertClimate,
|
||||
GerudoPlateauClimate,
|
||||
EldinClimateLv0,
|
||||
TamourPlainClimate,
|
||||
ZoraTemperateClimate,
|
||||
HateruPlainClimate,
|
||||
FiloneSubtropicalClimate,
|
||||
SouthHateruHumidTemperateClimate,
|
||||
EldinClimateLv1,
|
||||
EldinClimateLv2,
|
||||
// sic
|
||||
DarkWoodsClimat,
|
||||
LostWoodClimate,
|
||||
GerudoFrostClimate,
|
||||
KorogForest,
|
||||
GerudoDesertClimateLv2,
|
||||
};
|
||||
constexpr u32 NumClimates = 20;
|
||||
|
||||
struct ClimateInfo {
|
||||
static constexpr int NumClimateTemp = 11;
|
||||
|
||||
|
|
Loading…
Reference in New Issue