mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-20 05:37:03 -04:00
misc minor cleanup (indentation, offset comments, etc)
This commit is contained in:
@@ -57,7 +57,7 @@ u8 pos_around[16] = {
|
||||
};
|
||||
|
||||
/* 8015B0A4-8015B0FC .text Pos2Index__25daSea_WaterHeightInfo_MngFfPf */
|
||||
int daSea_WaterHeightInfo_Mng::Pos2Index(f32 v, f32* dst) {
|
||||
int daSea_WaterHeightInfo_Mng::Pos2Index(f32 v, f32* dst) {
|
||||
int idx = (v + 450000.0f) / 100000.0f;
|
||||
if (dst != NULL)
|
||||
*dst = (v + 450000.0f) - idx * 100000.0f;
|
||||
@@ -200,7 +200,7 @@ bool daSea_packet_c::create(cXyz& pos) {
|
||||
GXInitTexObjLOD(&mTexSea1, (GXTexFilter)timg->minFilter, (GXTexFilter)timg->magFilter,
|
||||
timg->minLOD * 0.125f, timg->maxLOD * 0.125f, 0.0f,
|
||||
(GXBool)timg->biasClamp, (GXBool)timg->doEdgeLOD,
|
||||
(GXAnisotropy)timg->maxAnisotropy);
|
||||
(GXAnisotropy)timg->maxAnisotropy);
|
||||
|
||||
timg = (ResTIMG*)dComIfG_getObjectRes("Always", ALWAYS_BTI_B_WYURAYURA_TEX1);
|
||||
mDoLib_setResTimgObj(timg, &mpTexWyurayura, 0, NULL);
|
||||
@@ -289,7 +289,7 @@ void daSea_GetPoly(void*, void (*)(void*, cXyz&, cXyz&, cXyz&), const cXyz&, con
|
||||
|
||||
/* 8015C010-8015C11C .text SetCullStopFlag__14daSea_packet_cFv */
|
||||
void daSea_packet_c::SetCullStopFlag() {
|
||||
/* Nonmatching */
|
||||
/* Nonmatching */
|
||||
if (strcmp(dComIfGp_getStartStageName(), "A_umikz") == 0) {
|
||||
mCullStopFlag = false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user