mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-03 00:33:55 +03:00
remove unnecessary code
This commit is contained in:
parent
542c756b2e
commit
bbb96fec8d
@ -319,7 +319,7 @@ extern Vec3f gTeamArrowsViewPos[10];
|
|||||||
extern f32 D_ctx_80177F20[65];
|
extern f32 D_ctx_80177F20[65];
|
||||||
extern f32 D_ctx_80178028[65];
|
extern f32 D_ctx_80178028[65];
|
||||||
extern f32 D_ctx_80178130[65];
|
extern f32 D_ctx_80178130[65];
|
||||||
extern u8 D_ctx_80178238[65];
|
// extern u8 D_ctx_80178238[65];
|
||||||
extern Player* gPlayer;
|
extern Player* gPlayer;
|
||||||
extern f32* gStarOffsetsX;
|
extern f32* gStarOffsetsX;
|
||||||
extern f32* gStarOffsetsY;
|
extern f32* gStarOffsetsY;
|
||||||
|
@ -365,10 +365,10 @@ s32 gVsMatchWon;
|
|||||||
bool gVsMatchStart;
|
bool gVsMatchStart;
|
||||||
bool gChangeTo360;
|
bool gChangeTo360;
|
||||||
Vec3f gTeamArrowsViewPos[10];
|
Vec3f gTeamArrowsViewPos[10];
|
||||||
f32 D_ctx_80177F20[65]; // Seem to be an early implementation of RadarMark
|
// f32 D_ctx_80177F20[65]; // Seem to be an early implementation of RadarMark
|
||||||
f32 D_ctx_80178028[65];
|
// f32 D_ctx_80178028[65];
|
||||||
f32 D_ctx_80178130[65];
|
// f32 D_ctx_80178130[65];
|
||||||
u8 D_ctx_80178238[65];
|
// u8 D_ctx_80178238[65];
|
||||||
Player* gPlayer;
|
Player* gPlayer;
|
||||||
f32* gStarOffsetsX;
|
f32* gStarOffsetsX;
|
||||||
f32* gStarOffsetsY;
|
f32* gStarOffsetsY;
|
||||||
|
@ -3791,12 +3791,15 @@ void ActorEvent_Update(ActorEvent* this) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Unused early RadarMark implementation?
|
||||||
|
/*
|
||||||
if (gLevelMode == LEVELMODE_ALL_RANGE) {
|
if (gLevelMode == LEVELMODE_ALL_RANGE) {
|
||||||
D_ctx_80177F20[this->index + 1] = this->obj.pos.x;
|
D_ctx_80177F20[this->index + 1] = this->obj.pos.x;
|
||||||
D_ctx_80178028[this->index + 1] = this->obj.pos.z;
|
D_ctx_80178028[this->index + 1] = this->obj.pos.z;
|
||||||
D_ctx_80178130[this->index + 1] = Math_ModF(this->rot_0F4.y, 360.0f) + 180.0f;
|
D_ctx_80178130[this->index + 1] = Math_ModF(this->rot_0F4.y, 360.0f) + 180.0f;
|
||||||
D_ctx_80178238[this->index + 1] = 1;
|
D_ctx_80178238[this->index + 1] = 1;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
UNK_TYPE D_800D129C[140] = { 0 }; // unused
|
UNK_TYPE D_800D129C[140] = { 0 }; // unused
|
||||||
@ -4241,11 +4244,14 @@ void func_enmy2_800763A4(Actor* this) {
|
|||||||
Object_Kill(&this->obj, this->sfxSource);
|
Object_Kill(&this->obj, this->sfxSource);
|
||||||
Actor_Despawn(this);
|
Actor_Despawn(this);
|
||||||
|
|
||||||
|
// Unused early RadarMark implementation?
|
||||||
|
/*
|
||||||
if (gLevelMode == LEVELMODE_ALL_RANGE) {
|
if (gLevelMode == LEVELMODE_ALL_RANGE) {
|
||||||
D_ctx_80177F20[this->index + 1] = this->obj.pos.x;
|
D_ctx_80177F20[this->index + 1] = this->obj.pos.x;
|
||||||
D_ctx_80178028[this->index + 1] = this->obj.pos.z;
|
D_ctx_80178028[this->index + 1] = this->obj.pos.z;
|
||||||
D_ctx_80178130[this->index + 1] = 1001.0f;
|
D_ctx_80178130[this->index + 1] = 1001.0f;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -4446,11 +4452,14 @@ void func_enmy2_800763A4(Actor* this) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Unused early RadarMark implementation?
|
||||||
|
/*
|
||||||
if (gLevelMode == LEVELMODE_ALL_RANGE) {
|
if (gLevelMode == LEVELMODE_ALL_RANGE) {
|
||||||
D_ctx_80177F20[this->index + 1] = this->obj.pos.x;
|
D_ctx_80177F20[this->index + 1] = this->obj.pos.x;
|
||||||
D_ctx_80178028[this->index + 1] = this->obj.pos.z;
|
D_ctx_80178028[this->index + 1] = this->obj.pos.z;
|
||||||
D_ctx_80178130[this->index + 1] = this->rot_0F4.y + 180.0f;
|
D_ctx_80178130[this->index + 1] = this->rot_0F4.y + 180.0f;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if (this->obj.id == OBJ_ACTOR_ALLRANGE) {
|
if (this->obj.id == OBJ_ACTOR_ALLRANGE) {
|
||||||
ActorAllRange_SetShadowData(this);
|
ActorAllRange_SetShadowData(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user