Skip to content

Commit 0167625

Browse files
authored
iEnv.cpp Equivalent (#402)
1 parent 3513c15 commit 0167625

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def Rel(lib_name: str, objects: List[Object]) -> Dict[str, Any]:
395395
Object(NonMatching, "SB/Core/gc/iCollide.cpp"),
396396
Object(Matching, "SB/Core/gc/iCollideFast.cpp"),
397397
Object(Matching, "SB/Core/gc/iDraw.cpp"),
398-
Object(NonMatching, "SB/Core/gc/iEnv.cpp"),
398+
Object(Equivalent, "SB/Core/gc/iEnv.cpp"),
399399
Object(NonMatching, "SB/Core/gc/iFile.cpp"),
400400
Object(NonMatching, "SB/Core/gc/iFMV.cpp"),
401401
Object(NonMatching, "SB/Core/gc/iFX.cpp"),

src/SB/Core/gc/iEnv.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ static RpWorld* sPipeWorld;
1010
static RwCamera* sPipeCamera;
1111
static iEnv* lastEnv;
1212

13-
const static RwBBox lbl_80260130 = { 1000.0f, 1000.0f, 1000.0f, -1000.0f, -1000.0f, -1000.0f };
14-
1513
static RpAtomic* SetPipelineCB(RpAtomic* atomic, void* data)
1614
{
1715
if (RwCameraBeginUpdate(sPipeCamera))
@@ -48,7 +46,6 @@ static void iEnvSetBSP(iEnv* env, S32 envDataType, RpWorld* bsp)
4846
}
4947
}
5048

51-
#ifdef NON_MATCHING
5249
void iEnvLoad(iEnv* env, const void* data, U32, S32 dataType)
5350
{
5451
RpWorld* bsp = (RpWorld*)data;
@@ -98,7 +95,6 @@ void iEnvLoad(iEnv* env, const void* data, U32, S32 dataType)
9895
env->memlvl = xMemGetBase();
9996
}
10097
}
101-
#endif
10298

10399
void iEnvFree(iEnv* env)
104100
{

0 commit comments

Comments
 (0)