DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
CDungeonMap Class Reference

#include <dungeonmap.hpp>

Public Member Functions

void SetNPC (int npc_no, unsigned int *pack, int parts_no, sceVu0FVECTOR pos, sceVu0FVECTOR rot, int visible, int motion_no, CDataAlloc2< 1 > *alloc)
 
void ClearNPC_Cash ()
 
void ReservNPC_Draw (int npc_no, float x, float y, float z, int direction)
 
void DrawNPCDraw ()
 
void StepNPC ()
 
void NPCSetMotion (int npc_no, int motion_no)
 
void NPCSetMotion (int npc_no, int motion_no, float speed, int motion_flags)
 
CFrame * GetFrameSearch (char *name)
 
void DrawMapFreeStyle ()
 
void DrawMapCalc (int mode)
 
void DrawMap (CCameraFollow *camera, CFrameVu1 *player)
 
void DrawBGModel (CCamera *camera)
 
void DrawDummyModel (CCamera *camera)
 
void DrawMiniMap (float *pos, float angle)
 
void checkMask (float x, float z)
 
void FlushCheckMask ()
 
void DrawFireFreeStyle (CFrameVu1 *frame, CCameraFollow *camera)
 
void DrawFire (CFrameVu1 *frame, CCameraFollow *camera)
 
void DrawRaster (CFrameVu1 *frame)
 
void DrawWater (float *pos, int mute)
 
void DrawItemBox (float *pos)
 
void DrawAtraBoll (float *pos)
 
int CreateCollision (CCPoly *poly, CBoxVu0 box, int num)
 
void initTrapCircle ()
 
float * CheckTrapCircle (float *pos, float dist)
 
void SetupTrapCircle (float *pos)
 
void DrawTrapCircle ()
 
MAP_TRAP_CIRCLE * DistTrapCircle ()
 
void StepTrapCircle ()
 
int CheckTreasureBox (float *pos, float dist)
 
int CheckAtra (float *pos, float dist)
 
void SetAtraBoll (float *pos, int atra_no)
 
int SetTreasureBox (float *pos, int item_no, int kind, int trap_no)
 
void buildEventData (int floor_no, int enabled, int place_atla)
 
void SetMimicEvent (float x, float y, float z, int item_no, int kind)
 
void RsetMimicEvent ()
 
int GetActiveIvent (CFrameVu1 *frame)
 
void buildDummyModel ()
 
void GetRoomLinkInfo ()
 
void SetUnderLoad ()
 
int CreatPartsList (int *list, int max, int first_part, int last_part)
 
void BuildCharaSpecialParts ()
 
int SetCharaDoor (int chara_no)
 
void buildRandomMap (int room_max, int first_build)
 
void initSubmap (CDataAlloc2< 1 > *alloc)
 
void initalize ()
 

Public Attributes

s32 unk_0000
 
s32 unk_0004
 
s32 room_seen [16]
 
CFireOmni fire
 
CWater water
 
float draw_dist_scale
 
s32 bg_model_num
 
s32 dummy_frame_num
 
sceVu0FVECTOR dummy_pos [8]
 
s32 dummy_model [8]
 
s32 dummy_num
 
s32 gate_key_no
 
s32 map_seed
 
CFrame * dummy_frame [3]
 
CFrame * bg_model [6]
 
CDungeonParts parts [72]
 
s32 mask [400]
 
DUNGEON_EVENT events [48]
 
MAP_CELL cells [400]
 
ROOM_INFO rooms [16]
 
s32 room_num
 
TREASURE_BOX boxes [24]
 
s32 box_num
 
CFrame * box_lid_model
 
CFrame * box_body_model
 
CFrame * box_collision_model
 
CFrame * chest_lid_model
 
CFrame * chest_body_model
 
CFrame * chest_collision_model
 
CFrame * fall_model
 
ATRA_BOLL atra [8]
 
s32 atra_num
 
CFrame * atra_model
 
CFrame * collision_model
 
ROOM_LINK_RESULT room_link [4]
 
s32 map_type
 
MAP_NPC_MODEL npc [4]
 
MAP_TRAP_CIRCLE trap_circle [3]
 

Detailed Description

Builds, steps and draws one dungeon floor, and everything that stands on it.

Definition at line 198 of file dungeonmap.hpp.

Member Function Documentation

◆ SetNPC()

void CDungeonMap::SetNPC ( int  npc_no,
unsigned int *  pack,
int  parts_no,
sceVu0FVECTOR  pos,
sceVu0FVECTOR  rot,
int  visible,
int  motion_no,
CDataAlloc2< 1 > *  alloc 
)

Puts one non-player character on the floor.

Mangled name:
SetNPC__11CDungeonMapFiPUiiPfPfiiP14CDataAlloc2_1_
Address:
0x1C1C00
Size:
0x26C

Definition at line 130 of file dungeonmap.cpp.

◆ ClearNPC_Cash()

void CDungeonMap::ClearNPC_Cash ( )

Sets the number of copies to draw of every character to zero.

Mangled name:
ClearNPC_Cash__11CDungeonMapFv
Address:
0x1C1E70
Size:
0x3C

Definition at line 170 of file dungeonmap.cpp.

◆ ReservNPC_Draw()

void CDungeonMap::ReservNPC_Draw ( int  npc_no,
float  x,
float  y,
float  z,
int  direction 
)

Adds one copy of a character to the list of copies to draw.

Mangled name:
ReservNPC_Draw__11CDungeonMapFifffi
Address:
0x1C1EB0
Size:
0xC4

Definition at line 176 of file dungeonmap.cpp.

◆ DrawNPCDraw()

void CDungeonMap::DrawNPCDraw ( )
Mangled name:
DrawNPCDraw__11CDungeonMapFv
Address:
0x1C1F80
Size:
0x264
Return type:
Not recovered.

Definition at line 186 of file dungeonmap.cpp.

◆ StepNPC()

void CDungeonMap::StepNPC ( )

Takes one step with every character that is active and visible.

Mangled name:
StepNPC__11CDungeonMapFv
Address:
0x1C21F0
Size:
0xC0
Return type:
Not recovered.

Definition at line 241 of file dungeonmap.cpp.

◆ NPCSetMotion() [1/2]

void CDungeonMap::NPCSetMotion ( int  npc_no,
int  motion_no 
)

Starts a motion on a character.

Mangled name:
NPCSetMotion__11CDungeonMapFii
Address:
0x1C22B0
Size:
0x3C

Definition at line 249 of file dungeonmap.cpp.

◆ NPCSetMotion() [2/2]

void CDungeonMap::NPCSetMotion ( int  npc_no,
int  motion_no,
float  speed,
int  motion_flags 
)

Starts a motion on a character at a given speed.

Mangled name:
NPCSetMotion__11CDungeonMapFiifi
Address:
0x1C22F0
Size:
0x40

Definition at line 255 of file dungeonmap.cpp.

◆ GetFrameSearch()

CFrame * CDungeonMap::GetFrameSearch ( char *  name)

Returns the frame with the given name from the map parts, or zero if no part holds it.

Mangled name:
GetFrameSearch__11CDungeonMapFPc
Address:
0x1C2330
Size:
0x90

Definition at line 265 of file dungeonmap.cpp.

◆ DrawMapFreeStyle()

void CDungeonMap::DrawMapFreeStyle ( )

Draws every map part at the origin, and reserves a copy of each character that stands on one.

Mangled name:
DrawMapFreeStyle__11CDungeonMapFv
Address:
0x1C23C0
Size:
0xF8

Definition at line 277 of file dungeonmap.cpp.

◆ DrawMapCalc()

void CDungeonMap::DrawMapCalc ( int  mode)
Mangled name:
DrawMapCalc__11CDungeonMapFi
Address:
0x1C24C0
Size:
0x1C8
Return type:
Not recovered.

Definition at line 299 of file dungeonmap.cpp.

◆ DrawMap()

void CDungeonMap::DrawMap ( CCameraFollow *  camera,
CFrameVu1 *  player 
)

Draws the floor's rooms and corridors.

Mangled name:
DrawMap__11CDungeonMapFP13CCameraFollowP9CFrameVu1
Address:
0x1C2690
Size:
0x92C

Definition at line 331 of file dungeonmap.cpp.

◆ DrawBGModel()

void CDungeonMap::DrawBGModel ( CCamera *  camera)

Draws the background models at the position of the camera.

Mangled name:
DrawBGModel__11CDungeonMapFP7CCamera
Address:
0x1C2FC0
Size:
0x94
Return type:
Not recovered.

Definition at line 561 of file dungeonmap.cpp.

◆ DrawDummyModel()

void CDungeonMap::DrawDummyModel ( CCamera *  camera)

Draws every dummy model that the camera is near enough to.

Mangled name:
DrawDummyModel__11CDungeonMapFP7CCamera
Address:
0x1C3060
Size:
0x120

Definition at line 576 of file dungeonmap.cpp.

◆ DrawMiniMap()

void CDungeonMap::DrawMiniMap ( float *  pos,
float  angle 
)

Draws the corner map of the floor.

Mangled name:
DrawMiniMap__11CDungeonMapFPff
Address:
0x1C3180
Size:
0x840

Definition at line 596 of file dungeonmap.cpp.

◆ checkMask()

void CDungeonMap::checkMask ( float  x,
float  z 
)

Marks the cell at a position, and the room that holds it, as found.

Mangled name:
checkMask__11CDungeonMapFff
Address:
0x1C39C0
Size:
0x23C
Return type:
Not recovered.

Definition at line 789 of file dungeonmap.cpp.

◆ FlushCheckMask()

void CDungeonMap::FlushCheckMask ( )

Hides every cell of the mini map, then shows the cells that hold a stair.

Mangled name:
FlushCheckMask__11CDungeonMapFv
Address:
0x1C3C00
Size:
0xB4

Definition at line 828 of file dungeonmap.cpp.

◆ DrawFireFreeStyle()

void CDungeonMap::DrawFireFreeStyle ( CFrameVu1 *  frame,
CCameraFollow *  camera 
)

Draws the floor's freely placed fires.

Mangled name:
DrawFireFreeStyle__11CDungeonMapFP9CFrameVu1P13CCameraFollow
Address:
0x1C3CC0
Size:
0x3F4

Draws free-style fires and updates the sound for the nearest active fire.

Definition at line 851 of file dungeonmap.cpp.

◆ DrawFire()

void CDungeonMap::DrawFire ( CFrameVu1 *  frame,
CCameraFollow *  camera 
)

Draws the fires standing on the floor's parts.

Mangled name:
DrawFire__11CDungeonMapFP9CFrameVu1P13CCameraFollow
Address:
0x1C40C0
Size:
0x548

Definition at line 937 of file dungeonmap.cpp.

◆ DrawRaster()

void CDungeonMap::DrawRaster ( CFrameVu1 *  frame)

Draws the light the floor's fires cast on the ground.

Mangled name:
DrawRaster__11CDungeonMapFP9CFrameVu1
Address:
0x1C4610
Size:
0x324

Definition at line 1047 of file dungeonmap.cpp.

◆ DrawWater()

void CDungeonMap::DrawWater ( float *  pos,
int  mute 
)

Draws the water surface nearest to a position, with its waterfall, and sets the volume of the water sound.

Mangled name:
DrawWater__11CDungeonMapFPfi
Address:
0x1C4940
Size:
0x494
Return type:
Not recovered.

Definition at line 1108 of file dungeonmap.cpp.

◆ DrawItemBox()

void CDungeonMap::DrawItemBox ( float *  pos)

Draws the floor's treasure chests.

Mangled name:
DrawItemBox__11CDungeonMapFPf
Address:
0x1C4DE0
Size:
0x318

Definition at line 1252 of file dungeonmap.cpp.

◆ DrawAtraBoll()

void CDungeonMap::DrawAtraBoll ( float *  pos)

Draws every atla ball that the camera is near enough to, bobbing on the spot.

Mangled name:
DrawAtraBoll__11CDungeonMapFPf
Address:
0x1C5100
Size:
0x170

Definition at line 1302 of file dungeonmap.cpp.

◆ CreateCollision()

int CDungeonMap::CreateCollision ( CCPoly *  poly,
CBoxVu0  box,
int  num 
)

Adds a collision polygon for every atla ball near the player, and returns the new total.

Mangled name:
CreateCollision__11CDungeonMapFP6CCPoly7CBoxVu0i
Address:
0x1C5270
Size:
0x144

Definition at line 1329 of file dungeonmap.cpp.

◆ initTrapCircle()

void CDungeonMap::initTrapCircle ( )

Sets every trap circle slot to free.

Mangled name:
initTrapCircle__11CDungeonMapFv
Address:
0x1C79B0
Size:
0x38

Definition at line 2192 of file dungeonmap.cpp.

◆ CheckTrapCircle()

float * CDungeonMap::CheckTrapCircle ( float *  pos,
float  dist 
)

Returns the trap circle that is nearer to a position than a distance, or zero if there is none.

Mangled name:
CheckTrapCircle__11CDungeonMapFPff
Address:
0x1C79F0
Size:
0xC0

Definition at line 2198 of file dungeonmap.cpp.

◆ SetupTrapCircle()

void CDungeonMap::SetupTrapCircle ( float *  pos)

Puts a trap circle of a random kind in the first free slot at a position.

Mangled name:
SetupTrapCircle__11CDungeonMapFPf
Address:
0x1C7AB0
Size:
0x118

Definition at line 2210 of file dungeonmap.cpp.

◆ DrawTrapCircle()

void CDungeonMap::DrawTrapCircle ( )
Mangled name:
DrawTrapCircle__11CDungeonMapFv
Address:
0x1C7BD0
Size:
0x1A4
Return type:
Not recovered.

Definition at line 2230 of file dungeonmap.cpp.

◆ DistTrapCircle()

MAP_TRAP_CIRCLE * CDungeonMap::DistTrapCircle ( )

Starts the fade of the trap circle that the player stands on, and returns its position.

Mangled name:
DistTrapCircle__11CDungeonMapFv
Address:
0x1C7D80
Size:
0xE0

Definition at line 2261 of file dungeonmap.cpp.

◆ StepTrapCircle()

void CDungeonMap::StepTrapCircle ( )

Moves every trap circle that fades one step further, and frees the ones that finished.

Mangled name:
StepTrapCircle__11CDungeonMapFv
Address:
0x1C7E60
Size:
0x7C

Definition at line 2278 of file dungeonmap.cpp.

◆ CheckTreasureBox()

int CDungeonMap::CheckTreasureBox ( float *  pos,
float  dist 
)

Returns 1 if no treasure box is nearer to a position than a distance.

Mangled name:
CheckTreasureBox__11CDungeonMapFPff
Address:
0x1C7EE0
Size:
0xBC

Definition at line 2290 of file dungeonmap.cpp.

◆ CheckAtra()

int CDungeonMap::CheckAtra ( float *  pos,
float  dist 
)

Returns 1 if no atla ball is nearer to a position than a distance.

Mangled name:
CheckAtra__11CDungeonMapFPff
Address:
0x1C7FA0
Size:
0xD8

Definition at line 2300 of file dungeonmap.cpp.

◆ SetAtraBoll()

void CDungeonMap::SetAtraBoll ( float *  pos,
int  atra_no 
)
Mangled name:
SetAtraBoll__11CDungeonMapFPfi
Address:
0x1C8080
Size:
0x1C0
Return type:
Not recovered.

Definition at line 2315 of file dungeonmap.cpp.

◆ SetTreasureBox()

int CDungeonMap::SetTreasureBox ( float *  pos,
int  item_no,
int  kind,
int  trap_no 
)

Puts a treasure chest on the floor.

Mangled name:
SetTreasureBox__11CDungeonMapFPfiii
Address:
0x1C8240
Size:
0x2F4

Adds a treasure box to an open slot and creates its matching map event. The event stores the box coordinates and interaction radius.

Definition at line 2347 of file dungeonmap.cpp.

◆ buildEventData()

void CDungeonMap::buildEventData ( int  floor_no,
int  enabled,
int  place_atla 
)

Lays the floor's events out over its rooms.

Mangled name:
buildEventData__11CDungeonMapFiii
Address:
0x1C8540
Size:
0x680

Places treasure boxes, trap circles, and atla events on one floor.

Definition at line 2414 of file dungeonmap.cpp.

◆ SetMimicEvent()

void CDungeonMap::SetMimicEvent ( float  x,
float  y,
float  z,
int  item_no,
int  kind 
)
Mangled name:
SetMimicEvent__11CDungeonMapFfffii
Address:
0x1C8BC0
Size:
0x28C
Return type:
Not recovered.

Definition at line 2566 of file dungeonmap.cpp.

◆ RsetMimicEvent()

void CDungeonMap::RsetMimicEvent ( )

Frees every mimic event, and the treasure box that each one shows.

Mangled name:
RsetMimicEvent__11CDungeonMapFv
Address:
0x1C8E50
Size:
0x7C

Definition at line 2633 of file dungeonmap.cpp.

◆ GetActiveIvent()

int CDungeonMap::GetActiveIvent ( CFrameVu1 *  frame)

Returns the event that the player stands in, or -1 if the player stands in none.

Mangled name:
GetActiveIvent__11CDungeonMapFP9CFrameVu1
Address:
0x1C8ED0
Size:
0x144

Definition at line 2644 of file dungeonmap.cpp.

◆ buildDummyModel()

void CDungeonMap::buildDummyModel ( )
Mangled name:
buildDummyModel__11CDungeonMapFv
Address:
0x1C9020
Size:
0x5B0
Return type:
Not recovered.

Definition at line 2662 of file dungeonmap.cpp.

◆ GetRoomLinkInfo()

void CDungeonMap::GetRoomLinkInfo ( )

Gives the table saying which of the floor's rooms join up.

Mangled name:
GetRoomLinkInfo__11CDungeonMapFv
Address:
0x1C95D0
Size:
0xC70

Selects a special door, labels its connected area, and places its key item.

Definition at line 2795 of file dungeonmap.cpp.

◆ SetUnderLoad()

void CDungeonMap::SetUnderLoad ( )

Puts the part that closes the right edge of the grid in every row.

Mangled name:
SetUnderLoad__11CDungeonMapFv
Address:
0x1CA240
Size:
0x50

Definition at line 3049 of file dungeonmap.cpp.

◆ CreatPartsList()

int CDungeonMap::CreatPartsList ( int *  list,
int  max,
int  first_part,
int  last_part 
)
Mangled name:
CreatPartsList__11CDungeonMapFPiiii
Address:
0x1CA290
Size:
0x1E4

Definition at line 3056 of file dungeonmap.cpp.

◆ BuildCharaSpecialParts()

void CDungeonMap::BuildCharaSpecialParts ( )
Mangled name:
BuildCharaSpecialParts__11CDungeonMapFv
Address:
0x1CA480
Size:
0xDA4
Return type:
Not recovered.

Definition at line 3117 of file dungeonmap.cpp.

◆ SetCharaDoor()

int CDungeonMap::SetCharaDoor ( int  chara_no)
Mangled name:
SetCharaDoor__11CDungeonMapFi
Address:
0x1CB230
Size:
0x438

Definition at line 3355 of file dungeonmap.cpp.

◆ buildRandomMap()

void CDungeonMap::buildRandomMap ( int  room_max,
int  first_build 
)

Builds a floor: places the rooms, joins them with corridors, fills the grid with map parts and picks the set of parts that the floor draws with.

Mangled name:
buildRandomMap__11CDungeonMapFii
Address:
0x1CB670
Size:
0xA80

Definition at line 3439 of file dungeonmap.cpp.

◆ initSubmap()

void CDungeonMap::initSubmap ( CDataAlloc2< 1 > *  alloc)
Mangled name:
initSubmap__11CDungeonMapFP14CDataAlloc2_1_
Address:
0x1CC0F0
Size:
0x3A0
Return type:
Not recovered.

Definition at line 3651 of file dungeonmap.cpp.

◆ initalize()

void CDungeonMap::initalize ( )
Mangled name:
initalize__11CDungeonMapFv
Address:
0x1CC490
Size:
0x390
Return type:
Not recovered.

Definition at line 3729 of file dungeonmap.cpp.

Member Data Documentation

◆ unk_0000

s32 CDungeonMap::unk_0000

Definition at line 200 of file dungeonmap.hpp.

◆ unk_0004

s32 CDungeonMap::unk_0004

Definition at line 201 of file dungeonmap.hpp.

◆ room_seen

s32 CDungeonMap::room_seen[16]

1 for each room that the player found.

Definition at line 202 of file dungeonmap.hpp.

◆ fire

CFireOmni CDungeonMap::fire

Draws the fire and the raster of every map part.

Definition at line 203 of file dungeonmap.hpp.

◆ water

CWater CDungeonMap::water

Draws the water surface.

Definition at line 204 of file dungeonmap.hpp.

◆ draw_dist_scale

float CDungeonMap::draw_dist_scale

Scale that the draw distance uses.

Definition at line 205 of file dungeonmap.hpp.

◆ bg_model_num

s32 CDungeonMap::bg_model_num

Number of background models loaded into bg_model.

Definition at line 206 of file dungeonmap.hpp.

◆ dummy_frame_num

s32 CDungeonMap::dummy_frame_num

Number of models loaded into dummy_frame.

Definition at line 207 of file dungeonmap.hpp.

◆ dummy_pos

sceVu0FVECTOR CDungeonMap::dummy_pos[8]

World position of each dummy model.

Definition at line 208 of file dungeonmap.hpp.

◆ dummy_model

s32 CDungeonMap::dummy_model[8]

Index into dummy_frame of each dummy model.

Definition at line 209 of file dungeonmap.hpp.

◆ dummy_num

s32 CDungeonMap::dummy_num

Number of dummy models on the floor.

Definition at line 210 of file dungeonmap.hpp.

◆ gate_key_no

s32 CDungeonMap::gate_key_no

Item number of the key that opens the floor's gate.

Definition at line 211 of file dungeonmap.hpp.

◆ map_seed

s32 CDungeonMap::map_seed

Seed that the floor was built from.

Definition at line 212 of file dungeonmap.hpp.

◆ dummy_frame

CFrame* CDungeonMap::dummy_frame[3]

Models that a dummy model can draw with.

Definition at line 213 of file dungeonmap.hpp.

◆ bg_model

CFrame* CDungeonMap::bg_model[6]

Models that draw behind the floor.

Definition at line 214 of file dungeonmap.hpp.

◆ parts

CDungeonParts CDungeonMap::parts[72]

Map parts that the floor is built from.

Definition at line 215 of file dungeonmap.hpp.

◆ mask

s32 CDungeonMap::mask[400]

1 for each grid cell that the mini map shows.

Definition at line 216 of file dungeonmap.hpp.

◆ events

DUNGEON_EVENT CDungeonMap::events[48]

Places that start an event.

Definition at line 217 of file dungeonmap.hpp.

◆ cells

MAP_CELL CDungeonMap::cells[400]

20 x 20 grid of the floor.

Definition at line 218 of file dungeonmap.hpp.

◆ rooms

ROOM_INFO CDungeonMap::rooms[16]

Position and extent of each room.

Definition at line 219 of file dungeonmap.hpp.

◆ room_num

s32 CDungeonMap::room_num

Number of rooms on the floor.

Definition at line 220 of file dungeonmap.hpp.

◆ boxes

TREASURE_BOX CDungeonMap::boxes[24]

Treasure boxes that stand on the floor.

Definition at line 221 of file dungeonmap.hpp.

◆ box_num

s32 CDungeonMap::box_num

Number of treasure boxes on the floor.

Definition at line 222 of file dungeonmap.hpp.

◆ box_lid_model

CFrame* CDungeonMap::box_lid_model

Model that draws the lid of a wooden treasure box.

Definition at line 223 of file dungeonmap.hpp.

◆ box_body_model

CFrame* CDungeonMap::box_body_model

Model that draws a wooden treasure box.

Definition at line 224 of file dungeonmap.hpp.

◆ box_collision_model

CFrame* CDungeonMap::box_collision_model

Model that the collision of a treasure box uses.

Definition at line 225 of file dungeonmap.hpp.

◆ chest_lid_model

CFrame* CDungeonMap::chest_lid_model

Model that draws the lid of a metal treasure box.

Definition at line 226 of file dungeonmap.hpp.

◆ chest_body_model

CFrame* CDungeonMap::chest_body_model

Model that draws a metal treasure box.

Definition at line 227 of file dungeonmap.hpp.

◆ chest_collision_model

CFrame* CDungeonMap::chest_collision_model

Model that the collision of a metal treasure box uses.

Definition at line 228 of file dungeonmap.hpp.

◆ fall_model

CFrame* CDungeonMap::fall_model

Model that draws the hole a fallen map part leaves.

Definition at line 229 of file dungeonmap.hpp.

◆ atra

ATRA_BOLL CDungeonMap::atra[8]

Atla balls that lie on the floor.

Definition at line 230 of file dungeonmap.hpp.

◆ atra_num

s32 CDungeonMap::atra_num

Number of atla balls on the floor.

Definition at line 231 of file dungeonmap.hpp.

◆ atra_model

CFrame* CDungeonMap::atra_model

Model that draws an atla ball.

Definition at line 232 of file dungeonmap.hpp.

◆ collision_model

CFrame* CDungeonMap::collision_model

Model that the collision of an atla ball uses.

Definition at line 233 of file dungeonmap.hpp.

◆ room_link

ROOM_LINK_RESULT CDungeonMap::room_link[4]

Rooms that a door and a treasure box link.

Definition at line 234 of file dungeonmap.hpp.

◆ map_type

s32 CDungeonMap::map_type

1 for a floor laid out on the grid, otherwise a floor of freely placed parts.

Definition at line 235 of file dungeonmap.hpp.

◆ npc

MAP_NPC_MODEL CDungeonMap::npc[4]

Characters that walk in the dungeon.

Definition at line 236 of file dungeonmap.hpp.

◆ trap_circle

MAP_TRAP_CIRCLE CDungeonMap::trap_circle[3]

Trap circles that lie on the floor.

Definition at line 237 of file dungeonmap.hpp.