mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-13 20:15:02 -04:00
d_a_magma OK for demo
This commit is contained in:
+1
-1
@@ -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"),
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user