NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches

#include <game/bases/d_actor_data.hpp>

Description

The configuration for a map actor.

Definition at line 15 of file d_actor_data.hpp.

Static Public Member Functions

static dActorData_cgetMapActorInfo (int idx)

Public Attributes

ProfileName mProfileName
 The profile spawned by the map actor.
int mSpawnOffsetX
 The horizontal offset from the map actor to the actor's spawn position.
int mSpawnOffsetY
 The vertical offset from the map actor to the actor's spawn position.
int mSpawnRangeOffsetX
 The horizontal offset of the actor's bounding box from the actor's position.
int mSpawnRangeOffsetY
 The vertical offset of the actor's bounding box from the actor's position.
int mSpawnRangeHalfWidth
 The half-width of the actor's bounding box.
int mSpawnRangeHalfHeight
 The half-height of the actor's bounding box.
u16 mSpawnMarginTop
 The additional padding added to the top of the bounding box to prevent pop-in.
u16 mSpawnMarginBottom
 The additional padding added to the bottom of the bounding box to prevent pop-in.
u16 mSpawnMarginLeft
 The additional padding added to the left of the bounding box to prevent pop-in.
u16 mSpawnMarginRight
 The additional padding added to the right of the bounding box to prevent pop-in.
u16 mFlags
 Various flags that control map actor spawning behaviour. Value is a bitfield from MAP_ACTOR_INFO_FLAG_e.

Static Public Attributes

static dActorData_c l_actor_data_tbl []
 The configuration for each map actor.

Member Function Documentation

◆ getMapActorInfo()

dActorData_c * dActorData_c::getMapActorInfo ( int idx)
inlinestatic

Definition at line 31 of file d_actor_data.hpp.

Member Data Documentation

◆ mProfileName

ProfileName dActorData_c::mProfileName

The profile spawned by the map actor.

Definition at line 17 of file d_actor_data.hpp.

◆ mSpawnOffsetX

int dActorData_c::mSpawnOffsetX

The horizontal offset from the map actor to the actor's spawn position.

Definition at line 18 of file d_actor_data.hpp.

◆ mSpawnOffsetY

int dActorData_c::mSpawnOffsetY

The vertical offset from the map actor to the actor's spawn position.

Definition at line 19 of file d_actor_data.hpp.

◆ mSpawnRangeOffsetX

int dActorData_c::mSpawnRangeOffsetX

The horizontal offset of the actor's bounding box from the actor's position.

Definition at line 20 of file d_actor_data.hpp.

◆ mSpawnRangeOffsetY

int dActorData_c::mSpawnRangeOffsetY

The vertical offset of the actor's bounding box from the actor's position.

Definition at line 21 of file d_actor_data.hpp.

◆ mSpawnRangeHalfWidth

int dActorData_c::mSpawnRangeHalfWidth

The half-width of the actor's bounding box.

Definition at line 22 of file d_actor_data.hpp.

◆ mSpawnRangeHalfHeight

int dActorData_c::mSpawnRangeHalfHeight

The half-height of the actor's bounding box.

Definition at line 23 of file d_actor_data.hpp.

◆ mSpawnMarginTop

u16 dActorData_c::mSpawnMarginTop

The additional padding added to the top of the bounding box to prevent pop-in.

Definition at line 24 of file d_actor_data.hpp.

◆ mSpawnMarginBottom

u16 dActorData_c::mSpawnMarginBottom

The additional padding added to the bottom of the bounding box to prevent pop-in.

Definition at line 25 of file d_actor_data.hpp.

◆ mSpawnMarginLeft

u16 dActorData_c::mSpawnMarginLeft

The additional padding added to the left of the bounding box to prevent pop-in.

Definition at line 26 of file d_actor_data.hpp.

◆ mSpawnMarginRight

u16 dActorData_c::mSpawnMarginRight

The additional padding added to the right of the bounding box to prevent pop-in.

Definition at line 27 of file d_actor_data.hpp.

◆ mFlags

u16 dActorData_c::mFlags

Various flags that control map actor spawning behaviour. Value is a bitfield from MAP_ACTOR_INFO_FLAG_e.

Definition at line 28 of file d_actor_data.hpp.

◆ l_actor_data_tbl

dActorData_c dActorData_c::l_actor_data_tbl[]
static

The configuration for each map actor.

Definition at line 30 of file d_actor_data.hpp.