mirror of
https://github.com/n64decomp/mk64
synced 2026-07-11 13:48:45 -04:00
Add in a struct for surface map entires (#150)
Sourced from https://github.com/micro500/mariokart64/wiki/Surface-Map, only minor adjustments were made. Updated the bounding box corner struct a little based on information from the surface map struct. Refreshed several mips_to_c outputs Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
This commit is contained in:
+8
-8
@@ -2184,15 +2184,15 @@ GLOBAL_ASM("asm/non_matchings/code_80290C20/func_80295A38.s")
|
||||
void func_80295BF8(s32 playerIndex) {
|
||||
Player* player = &gPlayers[playerIndex];
|
||||
func_802AAAAC(&player->unk_110);
|
||||
player->boundingBoxCorners[FRONT_RIGHT_TYRE].unk_0D = 0.0f;
|
||||
player->boundingBoxCorners[FRONT_LEFT_TYRE].unk_0D = 0.0f;
|
||||
player->boundingBoxCorners[BACK_RIGHT_TYRE].unk_0D = 0.0f;
|
||||
player->boundingBoxCorners[BACK_LEFT_TYRE].unk_0D = 0.0f;
|
||||
player->boundingBoxCorners[FRONT_RIGHT_TYRE].surfaceFlags = 0;
|
||||
player->boundingBoxCorners[FRONT_LEFT_TYRE].surfaceFlags = 0;
|
||||
player->boundingBoxCorners[BACK_RIGHT_TYRE].surfaceFlags = 0;
|
||||
player->boundingBoxCorners[BACK_LEFT_TYRE].surfaceFlags = 0;
|
||||
|
||||
player->boundingBoxCorners[FRONT_RIGHT_TYRE].tileIndex = 0x1388;
|
||||
player->boundingBoxCorners[FRONT_LEFT_TYRE].tileIndex = 0x1388;
|
||||
player->boundingBoxCorners[BACK_RIGHT_TYRE].tileIndex = 0x1388;
|
||||
player->boundingBoxCorners[BACK_LEFT_TYRE].tileIndex = 0x1388;
|
||||
player->boundingBoxCorners[FRONT_RIGHT_TYRE].surfaceMapIndex = 0x1388;
|
||||
player->boundingBoxCorners[FRONT_LEFT_TYRE].surfaceMapIndex = 0x1388;
|
||||
player->boundingBoxCorners[BACK_RIGHT_TYRE].surfaceMapIndex = 0x1388;
|
||||
player->boundingBoxCorners[BACK_LEFT_TYRE].surfaceMapIndex = 0x1388;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user