Mario Kart 64
|
#include <libultraship.h>
#include <libultra/gbi.h>
#include "engine/World.h"
#include "src/port/interpolation/FrameInterpolation.h"
#include "common_structs.h"
#include "math_util.h"
#include "math_util_2.h"
Functions | |
void | AddMatrix (std::vector< Mtx > &stack, Mat4 mtx, s32 flags) |
Mtx * | GetMatrix (std::vector< Mtx > &stack) |
void | AddMatrixFixed (std::vector< Mtx > &stack, s32 flags) |
void | SetTextMatrix (Mat4 mf, f32 x, f32 y, f32 arg3, f32 arg4) |
Gfx * | AddTextMatrix (Gfx *displayListHead, Mat4 mtx) |
void | ApplyMatrixTransformations (Mat4 mtx, FVector pos, IRotator rot, FVector scale) |
void | AddLocalRotation (Mat4 mat, IRotator rot) |
void | AddHudMatrix (Mat4 mtx, s32 flags) |
void | AddPerspMatrix (Mat4 mtx, s32 flags) |
void | AddLookAtMatrix (Mat4 mtx, s32 flags) |
void | AddObjectMatrix (Mat4 mtx, s32 flags) |
void | AddShadowMatrix (Mat4 mtx, s32 flags) |
void | AddKartMatrix (Mat4 mtx, s32 flags) |
void | AddEffectMatrix (Mat4 mtx, s32 flags) |
void | AddEffectMatrixFixed (s32 flags) |
void | AddEffectMatrixOrtho (void) |
Mtx * | GetEffectMatrix (void) |
void | ClearMatrixPools (void) |
void | ClearHudMatrixPool (void) |
void | ClearEffectsMatrixPool (void) |
void | ClearObjectsMatrixPool (void) |
void AddEffectMatrix | ( | Mat4 | mtx, |
s32 | flags ) |
void AddEffectMatrixFixed | ( | s32 | flags | ) |
void AddEffectMatrixOrtho | ( | void | ) |
void AddHudMatrix | ( | Mat4 | mtx, |
s32 | flags ) |
void AddKartMatrix | ( | Mat4 | mtx, |
s32 | flags ) |
void AddLookAtMatrix | ( | Mat4 | mtx, |
s32 | flags ) |
void AddMatrix | ( | std::vector< Mtx > & | stack, |
Mat4 | mtx, | ||
s32 | flags ) |
void AddMatrixFixed | ( | std::vector< Mtx > & | stack, |
s32 | flags ) |
void AddObjectMatrix | ( | Mat4 | mtx, |
s32 | flags ) |
void AddPerspMatrix | ( | Mat4 | mtx, |
s32 | flags ) |
void AddShadowMatrix | ( | Mat4 | mtx, |
s32 | flags ) |
Gfx * AddTextMatrix | ( | Gfx * | displayListHead, |
Mat4 | mtx ) |
void ClearEffectsMatrixPool | ( | void | ) |
void ClearHudMatrixPool | ( | void | ) |
void ClearMatrixPools | ( | void | ) |
Note that the game doesn't seem to clear all of these at the beginning of a new frame. We might need to adjust which ones we clear.
void ClearObjectsMatrixPool | ( | void | ) |
Mtx * GetEffectMatrix | ( | void | ) |
Mtx * GetMatrix | ( | std::vector< Mtx > & | stack | ) |
void SetTextMatrix | ( | Mat4 | mf, |
f32 | x, | ||
f32 | y, | ||
f32 | arg3, | ||
f32 | arg4 ) |