kankyo mostly done (#2269)

* work on kankyo

* some more kankyo work

* kankyo almost done

* kankyo mostly done

* first cleanup pass

* some more renaming

* rename a bunch of kankyo vars

* fix regression
This commit is contained in:
TakaRikka
2024-12-24 06:52:12 -08:00
committed by GitHub
parent d874f05f44
commit ad2badcd29
83 changed files with 5300 additions and 3384 deletions
+8 -8
View File
@@ -356,12 +356,12 @@ void daArrow_c::setRoomInfo() {
if (fopAcM_gc_c::gndCheck(&current.pos)) {
roomNo = fopAcM_gc_c::getRoomId();
tevStr.mEnvrIdxOverride = fopAcM_gc_c::getPolyColor();
tevStr.YukaCol = fopAcM_gc_c::getPolyColor();
} else {
roomNo = dComIfGp_roomControl_getStayNo();
}
tevStr.mRoomNo = roomNo;
tevStr.room_no = roomNo;
field_0x64c.SetRoomId(roomNo);
fopAcM_SetRoomNo(this, roomNo);
}
@@ -519,9 +519,9 @@ int daArrow_c::procWait() {
u32 param = fopAcM_GetParam(this);
if (param == 1 || param == 2) {
tevStr.mFogColor.r = 0;
tevStr.mFogColor.g = 0;
tevStr.mFogColor.b = 0;
tevStr.TevColor.r = 0;
tevStr.TevColor.g = 0;
tevStr.TevColor.b = 0;
daAlink_c* link = daAlink_getAlinkActorClass();
if (mArrowType == 1) {
@@ -1162,9 +1162,9 @@ int daArrow_c::draw() {
}
if (field_0x943 != 0) {
tevStr.mFogColor.r = link->getFreezeR();
tevStr.mFogColor.g = link->getFreezeG();
tevStr.mFogColor.b = link->getFreezeB();
tevStr.TevColor.r = link->getFreezeR();
tevStr.TevColor.g = link->getFreezeG();
tevStr.TevColor.b = link->getFreezeB();
}
g_env_light.setLightTevColorType_MAJI(mpModel, &tevStr);