New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
Quake Class Reference

#include <Quake.h>

Public Types

enum  ShockType {
  cShockType_4 = 4 , cShockType_5 , cShockType_PlayerImpact = 8 , cShockType_PlayerRepeat ,
  cShockType_Pow = 12 , cShockType_Max = 26
}
enum  ShockFlag { cShockFlag_ShockCamera = 1 << 0 , cShockFlag_ShockMotor = 1 << 1 }

Public Member Functions

 Quake ()
void shockMotor (s8 player_no, ShockType type, s32 unk_flag=0, bool motor_related=false)
void startShock (s8 player_no, ShockType type, s32 shock_flag, s32 unk_flag, bool motor_related)
u32 getFlag () const
const sead::Vector2fgetOffset () const

Private Attributes

u32 _10 [(0x38 - 0x10)/sizeof(u32)]
u32 mFlag
u32 _3c [(0x4C - 0x3C)/sizeof(u32)]
sead::Vector2f mOffset
u32 _54

Member Enumeration Documentation

◆ ShockType

Enumerator
cShockType_4 
cShockType_5 
cShockType_PlayerImpact 
cShockType_PlayerRepeat 
cShockType_Pow 
cShockType_Max 

◆ ShockFlag

Enumerator
cShockFlag_ShockCamera 
cShockFlag_ShockMotor 

Constructor & Destructor Documentation

◆ Quake()

Quake::Quake ( )

Member Function Documentation

◆ shockMotor()

void Quake::shockMotor ( s8 player_no,
ShockType type,
s32 unk_flag = 0,
bool motor_related = false )

◆ startShock()

void Quake::startShock ( s8 player_no,
ShockType type,
s32 shock_flag,
s32 unk_flag,
bool motor_related )

◆ getFlag()

u32 Quake::getFlag ( ) const
inline

◆ getOffset()

const sead::Vector2f & Quake::getOffset ( ) const
inline

Member Data Documentation

◆ _10

u32 Quake::_10[(0x38 - 0x10)/sizeof(u32)]
private

◆ mFlag

u32 Quake::mFlag
private

◆ _3c

u32 Quake::_3c[(0x4C - 0x3C)/sizeof(u32)]
private

◆ mOffset

sead::Vector2f Quake::mOffset
private

◆ _54

u32 Quake::_54
private