d_a_magma OK for demo

This commit is contained in:
LagoLunatic
2026-08-12 12:18:36 -04:00
parent 2289b54d5f
commit 5f056105b3
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1451,7 +1451,7 @@ config.libs = [
ActorRel(MatchingFor("GZLJ01", "GZLE01", "GZLP01"), "d_a_lamp"),
ActorRel(NonMatching, "d_a_lod_bg"),
ActorRel(MatchingFor("GZLJ01", "GZLE01", "GZLP01"), "d_a_lwood"),
ActorRel(MatchingFor("GZLJ01", "GZLE01", "GZLP01"), "d_a_magma"),
ActorRel(Matching, "d_a_magma"),
ActorRel(Matching, "d_a_majuu_flag"),
ActorRel(MatchingFor("GZLJ01", "GZLE01", "GZLP01"), "d_a_mdoor"),
ActorRel(MatchingFor("D44J01"), "d_a_msw"),
+1 -1
View File
@@ -9,7 +9,7 @@ class daMagma_c : public fopAc_ac_c {
public:
inline ~daMagma_c();
inline cPhs_State create();
inline s32 getPathNo() { return fopAcM_GetParam(this); }
inline s16 getPathNo() { return fopAcM_GetParam(this); }
public:
/* 0x290 */ request_of_phase_process_class mPhs;
+3 -3
View File
@@ -10,11 +10,11 @@
#include "d/d_magma.h"
daMagma_c::~daMagma_c() {
dComIfG_resDelete(&mPhs, "Magma");
dComIfG_resDeleteDemo(&mPhs, "Magma");
}
cPhs_State daMagma_c::create() {
fopAcM_ct(this, daMagma_c);
fopAcM_ct_Retail(this, daMagma_c);
cPhs_State result = dComIfG_resLoad(&mPhs, "Magma");
if (result != cPhs_COMPLEATE_e) {
@@ -25,7 +25,7 @@ cPhs_State daMagma_c::create() {
dComIfGp_getMagma()->newFloor(
current.pos,
scale,
current.roomNo,
fopAcM_GetRoomNo(this),
getPathNo()
);
}