persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
MovementConfig Struct Reference

A struct that holds initial config values for the MovementComponent. More...

#include <MovementTypes.hpp>

Collaboration diagram for MovementConfig:

Public Member Functions

 MovementConfig ()=default
 MovementConfig (int iMapWidth, int iMapHeight, uint16_t *iCollisionMap, ae::q20_12_t iTileSize, ae::q20_12_t iWorldOffsetX, ae::q20_12_t iWorldOffsetZ, Point2D< ae::q20_12_t > iCharacterSize, ae::q20_12_t iSpeed, ae::q20_12_t iHeight, Point2D< ae::q20_12_t > iCharacterTranslate, ae::q20_12_t iCharacterFacingAngle)

Public Attributes

ae::q20_12_t baseHeight {0}
const StairSegment * stairs = nullptr
int stairCount = 0
const HeightRegion * landings = nullptr
int landingCount = 0
int mapWidth
int mapHeight
uint16_t * collisionMap
ae::q20_12_t tileSize
ae::q20_12_t worldOffsetX
ae::q20_12_t worldOffsetZ
Point2D< ae::q20_12_t > characterSize
ae::q20_12_t speed
ae::q20_12_t height
Point2D< ae::q20_12_t > characterTranslate
ae::q20_12_t characterFacingAngle

Detailed Description

A struct that holds initial config values for the MovementComponent.

Definition at line 70 of file MovementTypes.hpp.

Constructor & Destructor Documentation

◆ MovementConfig() [1/2]

MovementConfig::MovementConfig ( )
default

◆ MovementConfig() [2/2]

MovementConfig::MovementConfig ( int iMapWidth,
int iMapHeight,
uint16_t * iCollisionMap,
ae::q20_12_t iTileSize,
ae::q20_12_t iWorldOffsetX,
ae::q20_12_t iWorldOffsetZ,
Point2D< ae::q20_12_t > iCharacterSize,
ae::q20_12_t iSpeed,
ae::q20_12_t iHeight,
Point2D< ae::q20_12_t > iCharacterTranslate,
ae::q20_12_t iCharacterFacingAngle )
inline

Definition at line 100 of file MovementTypes.hpp.

Member Data Documentation

◆ baseHeight

ae::q20_12_t MovementConfig::baseHeight {0}

Definition at line 73 of file MovementTypes.hpp.

◆ characterFacingAngle

ae::q20_12_t MovementConfig::characterFacingAngle

Definition at line 96 of file MovementTypes.hpp.

◆ characterSize

Point2D<ae::q20_12_t> MovementConfig::characterSize

Definition at line 90 of file MovementTypes.hpp.

◆ characterTranslate

Point2D<ae::q20_12_t> MovementConfig::characterTranslate

Definition at line 95 of file MovementTypes.hpp.

◆ collisionMap

uint16_t* MovementConfig::collisionMap

Definition at line 84 of file MovementTypes.hpp.

◆ height

ae::q20_12_t MovementConfig::height

Definition at line 94 of file MovementTypes.hpp.

◆ landingCount

int MovementConfig::landingCount = 0

Definition at line 79 of file MovementTypes.hpp.

◆ landings

const HeightRegion* MovementConfig::landings = nullptr

Definition at line 78 of file MovementTypes.hpp.

◆ mapHeight

int MovementConfig::mapHeight

Definition at line 83 of file MovementTypes.hpp.

◆ mapWidth

int MovementConfig::mapWidth

Definition at line 82 of file MovementTypes.hpp.

◆ speed

ae::q20_12_t MovementConfig::speed

Definition at line 93 of file MovementTypes.hpp.

◆ stairCount

int MovementConfig::stairCount = 0

Definition at line 76 of file MovementTypes.hpp.

◆ stairs

const StairSegment* MovementConfig::stairs = nullptr

Definition at line 75 of file MovementTypes.hpp.

◆ tileSize

ae::q20_12_t MovementConfig::tileSize

Definition at line 87 of file MovementTypes.hpp.

◆ worldOffsetX

ae::q20_12_t MovementConfig::worldOffsetX

Definition at line 88 of file MovementTypes.hpp.

◆ worldOffsetZ

ae::q20_12_t MovementConfig::worldOffsetZ

Definition at line 89 of file MovementTypes.hpp.


The documentation for this struct was generated from the following file: