Skip to content

Commit

Permalink
zNPCFXCinematic (My first Size 8)
Browse files Browse the repository at this point in the history
  • Loading branch information
TotallyNotMichael-GH committed Jul 11, 2024
1 parent 1a6efa6 commit 05e2e3d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/SB/Game/zNPCFXCinematic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ void xMat3x3RMulVec(xVec3* o, const xMat3x3* m, const xVec3* v)
void clamp_bone_index(NCINEntry*, RpAtomic*)
{
}

void NPCCone::TextureSet(RwRaster* raster)
{
rast_cone = raster;
}
11 changes: 11 additions & 0 deletions src/SB/Game/zNPCFXCinematic.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,15 @@ struct NCINEntry
NCINData fxdata;
};

struct NPCCone
{
F32 rad_cone;
RwRGBA rgba_top;
RwRGBA rgba_bot;
RwRaster* rast_cone;
F32 uv_tip[2];
F32 uv_slice[2];
void TextureSet(RwRaster* raster);
};

#endif

0 comments on commit 05e2e3d

Please sign in to comment.