Matched game/mapspace

This commit is contained in:
mrshigure 2024-02-20 22:28:50 -08:00
parent c574e929f7
commit 89341bcba6
7 changed files with 934 additions and 6 deletions

View file

@ -374,7 +374,7 @@ typedef struct hsf_map_attr {
float minZ;
float maxX;
float maxZ;
s16 *data;
u16 *data;
u32 dataLen;
} HsfMapAttr;

17
include/game/mapspace.h Executable file
View file

@ -0,0 +1,17 @@
#ifndef _GAME_MAPSPACE_H
#define _GAME_MAPSPACE_H
#include "game/hsfformat.h"
#include "game/object.h"
#include "dolphin.h"
void MapWall(float arg0, float arg1, float arg2, float arg3);
void MapWallCheck(float *arg0, float *arg1, HsfMapAttr *arg2);
float MapPos(float arg0, float arg1, float arg2, float arg3, Vec *arg4);
BOOL Hitcheck_Triangle_with_Sphere(Vec *arg0, Vec *arg1, float arg2, Vec *arg3);
BOOL Hitcheck_Quadrangle_with_Sphere(Vec *arg0, Vec *arg1, float arg2, Vec *arg3);
void AppendAddXZ(float arg0, float arg1, float arg2);
void CharRotInv(Mtx arg0, Mtx arg1, Vec *arg2, omObjData *arg3);
#endif