SpaghettiKart
Loading...
Searching...
No Matches
RegisterContent.h File Reference
#include "Registry.h"
#include "DataRegistry.h"
#include "src/port/Game.h"
#include "engine/objects/Object.h"
#include "engine/Actor.h"
#include "engine/SpawnParams.h"
Include dependency graph for RegisterContent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T>
static OObjectAddObjectToWorld (const SpawnParams &params)
 
template<class T>
static AActorAddActorToWorld (const SpawnParams &params)
 
void RegisterTracks (Registry< TrackInfo > &r)
 
void RegisterActors (Registry< ActorInfo, const SpawnParams & > &r)
 
void RegisterItems (Registry< ItemInfo > &r)
 
void RegisterItemTables (DataRegistry< RandomItemTable > &r)
 

Function Documentation

◆ AddActorToWorld()

template<class T>
static AActor * AddActorToWorld ( const SpawnParams & params)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddObjectToWorld()

template<class T>
static OObject * AddObjectToWorld ( const SpawnParams & params)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterActors()

void RegisterActors ( Registry< ActorInfo, const SpawnParams & > & r)

DO NOT RE-ORDER ANYTHING IN THESE FILES

It will result in differing Ids

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterItems()

void RegisterItems ( Registry< ItemInfo > & r)
Todo
turn items into a class
Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterItemTables()

void RegisterItemTables ( DataRegistry< RandomItemTable > & r)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterTracks()

void RegisterTracks ( Registry< TrackInfo > & r)

DO NOT RE-ORDER ANYTHING IN THESE FILES

It will result in differing Ids

Here is the call graph for this function:
Here is the caller graph for this function: