mirror of
https://github.com/zeldaret/botw
synced 2026-06-14 06:13:50 -04:00
ksys/phys: Rename MemSystem to System
It was called MemSystem in the IDB because of a string in ksys::InitializeApp that referred to MemSystem initialisation as "Physics Memory System"; however that string actually referred to an initialisation step for the physics system, not to the name of the subsystem itself.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "KingSystem/Physics/System/physMaterialMask.h"
|
||||
#include "KingSystem/Physics/System/physMaterialTable.h"
|
||||
#include "KingSystem/Physics/System/physMemSystem.h"
|
||||
#include "KingSystem/Physics/System/physSystem.h"
|
||||
|
||||
namespace ksys::phys {
|
||||
|
||||
@@ -57,15 +57,15 @@ const char* MaterialMask::getSubMaterialName() const {
|
||||
}
|
||||
|
||||
int MaterialMask::getSubMaterialIdx(Material mat, const sead::SafeString& submat_name) {
|
||||
return MemSystem::instance()->getMaterialTable()->getSubMaterialIdx(mat, submat_name);
|
||||
return System::instance()->getMaterialTable()->getSubMaterialIdx(mat, submat_name);
|
||||
}
|
||||
|
||||
const sead::SafeString& MaterialMask::getSubMaterialName(Material mat, int submat_idx) {
|
||||
return MemSystem::instance()->getMaterialTable()->getSubMaterial(mat, submat_idx);
|
||||
return System::instance()->getMaterialTable()->getSubMaterial(mat, submat_idx);
|
||||
}
|
||||
|
||||
int MaterialMask::getNumSubMaterials(Material mat) {
|
||||
return MemSystem::instance()->getMaterialTable()->getNumSubMaterials(mat);
|
||||
return System::instance()->getMaterialTable()->getNumSubMaterials(mat);
|
||||
}
|
||||
|
||||
const sead::SafeString& MaterialMask::getSubMaterialName(int mat, int submat_idx) {
|
||||
|
||||
Reference in New Issue
Block a user