ksys: Merge EcoUtil into ActorUtil

The "is in Satori mountain area" function actually appears to be part
of ActorUtil (which contains a bunch of actor-related helper functions)
This commit is contained in:
Léo Lam
2021-11-24 01:59:32 +01:00
parent 022f029db1
commit c0a79e67ee
7 changed files with 11 additions and 25 deletions
-2
View File
@@ -3,6 +3,4 @@ target_sources(uking PRIVATE
ecoLevelSensor.h
ecoSystem.cpp
ecoSystem.h
ecoUtil.cpp
ecoUtil.h
)
-9
View File
@@ -1,9 +0,0 @@
#include "KingSystem/Ecosystem/ecoUtil.h"
namespace ksys::eco {
bool currentAreaNumIs64(const sead::Vector3f& pos) {
return Ecosystem::instance()->getFieldMapArea(pos.x, pos.z) == 64;
}
} // namespace ksys::eco
-10
View File
@@ -1,10 +0,0 @@
#pragma once
#include <math/seadVector.h>
#include "KingSystem/Ecosystem/ecoSystem.h"
namespace ksys::eco {
bool currentAreaNumIs64(const sead::Vector3f& pos);
} // namespace ksys::eco