|
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::deque< Mtx > &stack, Mat4 mtx, s32 flags) |
| Mtx * | GetMatrix (std::deque< Mtx > &stack) |
| void | AddMatrixFixed (std::deque< 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 | ApplySphericalBillBoard (Mat4 mat, FVector pos, FVector scale, s32 cameraIndex) |
| void | AddLocalRotation (Mat4 mat, IRotator rot) |
| void | AddHudMatrix (Mat4 mtx, s32 flags) |
| Mtx * | GetScreenMatrix (void) |
| Mtx * | GetOrthoMatrix (void) |
| Mtx * | GetPerspMatrix (size_t cameraId) |
| Mtx * | GetLookAtMatrix (size_t cameraId) |
| void | AddObjectMatrix (Mat4 mtx, s32 flags) |
| Mtx * | GetShadowMatrix (size_t playerId) |
| Mtx * | GetKartMatrix (size_t playerId) |
| void | AddEffectMatrix (Mat4 mtx, s32 flags) |
| void | AddEffectMatrixOrtho (void) |
| Mtx * | GetEffectMatrix (void) |
| void | ClearMatrixPools (void) |
| void | ClearObjectsMatrixPool (void) |
| void AddEffectMatrix | ( | Mat4 | mtx, |
| s32 | flags ) |
| void AddEffectMatrixOrtho | ( | void | ) |
| void AddHudMatrix | ( | Mat4 | mtx, |
| s32 | flags ) |
| void AddMatrix | ( | std::deque< Mtx > & | stack, |
| Mat4 | mtx, | ||
| s32 | flags ) |
| void AddMatrixFixed | ( | std::deque< Mtx > & | stack, |
| s32 | flags ) |
Push a fixed point matrix to the stack Use GetMatrix() before calling this
| void AddObjectMatrix | ( | Mat4 | mtx, |
| s32 | flags ) |
| Gfx * AddTextMatrix | ( | Gfx * | displayListHead, |
| Mat4 | mtx ) |
| 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 * GetKartMatrix | ( | size_t | playerId | ) |
| Mtx * GetLookAtMatrix | ( | size_t | cameraId | ) |
| Mtx * GetMatrix | ( | std::deque< Mtx > & | stack | ) |
| Mtx * GetOrthoMatrix | ( | void | ) |
| Mtx * GetPerspMatrix | ( | size_t | cameraId | ) |
| Mtx * GetScreenMatrix | ( | void | ) |
| Mtx * GetShadowMatrix | ( | size_t | playerId | ) |
| void SetTextMatrix | ( | Mat4 | mf, |
| f32 | x, | ||
| f32 | y, | ||
| f32 | arg3, | ||
| f32 | arg4 ) |