Isle
Loading...
Searching...
No Matches
legoracers.cpp File Reference
#include "legoracers.h"
#include "anim/legoanim.h"
#include "carrace.h"
#include "define.h"
#include "jetskirace.h"
#include "legocachesoundmanager.h"
#include "legocameracontroller.h"
#include "legonavcontroller.h"
#include "legorace.h"
#include "legosoundmanager.h"
#include "misc.h"
#include "mxdebug.h"
#include "mxmisc.h"
#include "mxnotificationmanager.h"
#include "mxtimer.h"
#include "mxutilities.h"
#include "mxvariabletable.h"
#include "raceskel.h"
Include dependency graph for legoracers.cpp:

Go to the source code of this file.

Variables

EdgeReference g_skBMap []
 
const SkeletonKickPhase g_skeletonKickPhases []
 
const char * g_strSpeed = "SPEED"
 
const char * g_strJetSpeed = "jetSPEED"
 
const char * g_playerHitStudsSounds []
 
const char * g_studsHitPlayerSounds [] = {"srt006sl", "srt007sl", "srt008sl", "srt009sl", "srt010sl"}
 
const char * g_playerHitRhodaSounds [] = {NULL}
 
const char * g_rhodaHitPlayerSounds [] = {"srt004rh", "srt005rh", "srt006rh"}
 
const char * g_youCantStopSound = "srt001ra"
 
const char * g_soundSkel3 = "skel3"
 
MxU32 g_playerHitStudsSoundsIndex = 0
 
MxU32 g_studsHitPlayerSoundsIndex = 0
 
MxU32 g_playerHitRhodaSoundsIndex = 0
 
MxU32 g_rhodaHitPlayerSoundsIndex = 0
 
MxLong g_timeLastRaceCarSoundPlayed = 0
 
MxS32 g_timePlayerLastMoved = 0
 
MxBool g_playedYouCantStopSound = TRUE
 
const char * g_hitSnapSounds []
 
const char * g_hitValerieSounds []
 
undefined4 g_hitSnapSoundsIndex = 0
 
undefined4 g_hitValerieSoundsIndex = 0
 
MxLong g_timeLastJetskiSoundPlayed = 0
 
Mx3DPointFloat g_unk0x10102af0 = Mx3DPointFloat(0.0f, 2.0f, 0.0f)
 

Variable Documentation

◆ g_hitSnapSounds

const char* g_hitSnapSounds[]
Initial value:
= {
"Svo001Sn",
"Svo002Sn",
"Svo004Sn",
"Svo005Sn",
}

Definition at line 147 of file legoracers.cpp.

◆ g_hitSnapSoundsIndex

undefined4 g_hitSnapSoundsIndex = 0

Definition at line 162 of file legoracers.cpp.

◆ g_hitValerieSounds

const char* g_hitValerieSounds[]
Initial value:
= {
"Svo001Va",
"Svo003Va",
"Svo004Va",
}

Definition at line 155 of file legoracers.cpp.

◆ g_hitValerieSoundsIndex

undefined4 g_hitValerieSoundsIndex = 0

Definition at line 165 of file legoracers.cpp.

◆ g_playedYouCantStopSound

MxBool g_playedYouCantStopSound = TRUE

Definition at line 144 of file legoracers.cpp.

◆ g_playerHitRhodaSounds

const char* g_playerHitRhodaSounds[] = {NULL}

Definition at line 104 of file legoracers.cpp.

◆ g_playerHitRhodaSoundsIndex

MxU32 g_playerHitRhodaSoundsIndex = 0

Definition at line 128 of file legoracers.cpp.

◆ g_playerHitStudsSounds

const char* g_playerHitStudsSounds[]
Initial value:
= {
"srt018sl",
"srt019sl",
"srt020sl",
"srt021sl",
"srt022sl",
"srt023sl",
"srt024sl",
"srt025sl",
"srt026sl",
"srt027sl",
"srt028sl",
"srt029sl"
}

Definition at line 83 of file legoracers.cpp.

◆ g_playerHitStudsSoundsIndex

MxU32 g_playerHitStudsSoundsIndex = 0

Definition at line 120 of file legoracers.cpp.

◆ g_rhodaHitPlayerSounds

const char* g_rhodaHitPlayerSounds[] = {"srt004rh", "srt005rh", "srt006rh"}

Definition at line 108 of file legoracers.cpp.

◆ g_rhodaHitPlayerSoundsIndex

MxU32 g_rhodaHitPlayerSoundsIndex = 0

Definition at line 132 of file legoracers.cpp.

◆ g_skBMap

EdgeReference g_skBMap[]
Initial value:
= {
{
"EDG03_772",
},
{
"EDG03_773",
},
{
"EDG03_774",
},
{
"EDG03_775",
},
{
"EDG03_776",
},
{
"EDG03_777",
}
}
#define NULL
[AI] Null pointer value (C/C++ semantics).
Definition: legotypes.h:26

Definition at line 30 of file legoracers.cpp.

◆ g_skeletonKickPhases

const SkeletonKickPhase g_skeletonKickPhases[]
Initial value:
= {
{&g_skBMap[0], 0.1, 0.2, LEGORACECAR_KICK2},
{&g_skBMap[1], 0.2, 0.3, LEGORACECAR_KICK2},
{&g_skBMap[2], 0.3, 0.4, LEGORACECAR_KICK2},
{&g_skBMap[2], 0.6, 0.7, LEGORACECAR_KICK1},
{&g_skBMap[1], 0.7, 0.8, LEGORACECAR_KICK1},
{&g_skBMap[0], 0.8, 0.9, LEGORACECAR_KICK1},
{&g_skBMap[3], 0.1, 0.2, LEGORACECAR_KICK1},
{&g_skBMap[4], 0.2, 0.3, LEGORACECAR_KICK1},
{&g_skBMap[5], 0.3, 0.4, LEGORACECAR_KICK1},
{&g_skBMap[5], 0.6, 0.7, LEGORACECAR_KICK2},
{&g_skBMap[4], 0.7, 0.8, LEGORACECAR_KICK2},
{&g_skBMap[3], 0.8, 0.9, LEGORACECAR_KICK2},
}
EdgeReference g_skBMap[]
Definition: legoracers.cpp:30
#define LEGORACECAR_KICK2
[AI] User state identifier for LegoRaceCar in "kick2" action/animation state.
Definition: legoracers.h:31
#define LEGORACECAR_KICK1
[AI] User state identifier for LegoRaceCar in "kick1" action/animation state.
Definition: legoracers.h:25

Definition at line 59 of file legoracers.cpp.

◆ g_soundSkel3

const char* g_soundSkel3 = "skel3"

Definition at line 116 of file legoracers.cpp.

◆ g_strJetSpeed

const char* g_strJetSpeed = "jetSPEED"

Definition at line 79 of file legoracers.cpp.

◆ g_strSpeed

const char* g_strSpeed = "SPEED"

Definition at line 76 of file legoracers.cpp.

◆ g_studsHitPlayerSounds

const char* g_studsHitPlayerSounds[] = {"srt006sl", "srt007sl", "srt008sl", "srt009sl", "srt010sl"}

Definition at line 100 of file legoracers.cpp.

◆ g_studsHitPlayerSoundsIndex

MxU32 g_studsHitPlayerSoundsIndex = 0

Definition at line 124 of file legoracers.cpp.

◆ g_timeLastJetskiSoundPlayed

MxLong g_timeLastJetskiSoundPlayed = 0

Definition at line 168 of file legoracers.cpp.

◆ g_timeLastRaceCarSoundPlayed

MxLong g_timeLastRaceCarSoundPlayed = 0

Definition at line 136 of file legoracers.cpp.

◆ g_timePlayerLastMoved

MxS32 g_timePlayerLastMoved = 0

Definition at line 140 of file legoracers.cpp.

◆ g_unk0x10102af0

Mx3DPointFloat g_unk0x10102af0 = Mx3DPointFloat(0.0f, 2.0f, 0.0f)

Definition at line 201 of file legoracers.cpp.

◆ g_youCantStopSound

const char* g_youCantStopSound = "srt001ra"

Definition at line 112 of file legoracers.cpp.