mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-17 04:31:37 -04:00
d_event_manager OK, d_kankyo rain WIP (#360)
* d_event_manager OK, d_kankyo rain WIP * Match createTimg
This commit is contained in:
@@ -306,10 +306,10 @@ static int dEvDt_Next_Stage(int index, int wipe_type) {
|
||||
point = stgInfo->mStart;
|
||||
roomNo = (s8)stgInfo->mRoom;
|
||||
layer = dStage_sclsInfo_getSceneLayer(stgInfo);
|
||||
wipe = (s8)dStage_sclsInfo_getWipe(stgInfo);
|
||||
wipe = (s8)stgInfo->mWipe;
|
||||
wipe_time = dStage_sclsInfo_getWipeTime(stgInfo);
|
||||
|
||||
if (wipe == 15) {
|
||||
if (stgInfo->mWipe == 15) {
|
||||
wipe = 0;
|
||||
}
|
||||
|
||||
@@ -1237,6 +1237,7 @@ SECTION_DEAD static char const* const stringBase_80379F18 = "OffsetAngY";
|
||||
SECTION_SDATA2 static f32 lit_5057 = 10.0f;
|
||||
|
||||
/* 80045878-80045AFC 0401B8 0284+00 1/1 0/0 0/0 .text specialProcPackage__12dEvDtStaff_cFv */
|
||||
// Matches without literals
|
||||
#ifdef NONMATCHING
|
||||
void dEvDtStaff_c::specialProcPackage() {
|
||||
dMsgObject_c* msgObj = dComIfGp_getMsgObjectClass();
|
||||
@@ -1267,9 +1268,10 @@ void dEvDtStaff_c::specialProcPackage() {
|
||||
}
|
||||
|
||||
// should not save event from g_dComIfG_gameInfo to register
|
||||
u8* demoData = (u8*)i_dComIfGp_getEvent().getStbDemoData(fileName);
|
||||
dComIfG_play_c& info = g_dComIfG_gameInfo.play;
|
||||
u8* demoData = (u8*)info.getEvent().getStbDemoData(fileName);
|
||||
dDemo_c::start(demoData, offsetPos, offsetAngY);
|
||||
dComIfGp_event_setCullRate(10.0f);
|
||||
info.getEvent().setCullRate(10.0f);
|
||||
|
||||
int* eventFlagP = dComIfGp_evmng_getMyIntegerP(staffId, "EventFlag");
|
||||
if (eventFlagP != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user