SpaghettiKart
Loading...
Searching...
No Matches
Track.cpp File Reference
#include <libultraship.h>
#include <unordered_set>
#include <string>
#include <cstring>
#include "Track.h"
#include "MarioRaceway.h"
#include "ChocoMountain.h"
#include "port/Game.h"
#include "engine/editor/SceneManager.h"
#include "engine/registry/Registry.h"
#include "libultraship/bridge/resourcebridge.h"
#include "align_asset_macro.h"
#include "main.h"
#include "memory.h"
#include "common_structs.h"
#include "course_offsets.h"
#include "some_data.h"
#include "code_8006E9C0.h"
#include "code_8003DC40.h"
#include "assets/models/common_data.h"
#include "render_objects.h"
#include "save.h"
#include "replays.h"
#include "code_800029B0.h"
#include "render_courses.h"
#include "collision.h"
#include "actors.h"
#include "math_util.h"
#include "code_80005FD0.h"
Include dependency graph for Track.cpp:

Functions

void ResizeMinimap (MinimapProps *minimap)
 
static void SwapTriangleVertices (Gfx *cmd)
 
static std::string StripOtrPrefix (const char *s)
 
static void InvertTriangleWindingInternal (Gfx *gfx, const char *gfxName, bool shouldSwap)
 
void InvertTriangleWindingModdedInternal (Gfx *gfx, const char *gfxName)
 
void InvertTriangleWinding (Gfx *gfx)
 
void InvertTriangleWindingByName (const char *name)
 
void RestoreTriangleWinding ()
 
bool IsTriangleWindingInverted ()
 

Variables

StaffGhostd_mario_raceway_staff_ghost
 
s8 gPlayerCount
 
static std::unordered_set< std::string > gModifiedGfxSet
 

Function Documentation

◆ InvertTriangleWinding()

void InvertTriangleWinding ( Gfx * gfx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InvertTriangleWindingByName()

void InvertTriangleWindingByName ( const char * name)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InvertTriangleWindingInternal()

static void InvertTriangleWindingInternal ( Gfx * gfx,
const char * gfxName,
bool shouldSwap )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InvertTriangleWindingModdedInternal()

void InvertTriangleWindingModdedInternal ( Gfx * gfx,
const char * gfxName )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsTriangleWindingInverted()

bool IsTriangleWindingInverted ( )

◆ ResizeMinimap()

void ResizeMinimap ( MinimapProps * minimap)
Here is the caller graph for this function:

◆ RestoreTriangleWinding()

void RestoreTriangleWinding ( )
Here is the call graph for this function:

◆ StripOtrPrefix()

static std::string StripOtrPrefix ( const char * s)
static
Here is the caller graph for this function:

◆ SwapTriangleVertices()

static void SwapTriangleVertices ( Gfx * cmd)
static
Here is the caller graph for this function:

Variable Documentation

◆ d_mario_raceway_staff_ghost

StaffGhost* d_mario_raceway_staff_ghost
extern

◆ gModifiedGfxSet

std::unordered_set<std::string> gModifiedGfxSet
static

◆ gPlayerCount

s8 gPlayerCount
extern