|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <dungeonparts.hpp>
Public Member Functions | |
| CFrame * | GetSearchFrame (char *name) |
| void | SetHealZone (float *position, float width, float depth) |
| void | Draw () |
| void | DrawCalc (int x, int z, int turn, int map_type) |
| void | initalize () |
Public Attributes | |
| s16 | direction_offset |
| s16 | unk_002 |
| CFrame * | camera_collision |
| s16 | camera_collision_turn |
| s16 | unk_00A |
| CFrame * | collision |
| s16 | collision_turn |
| s16 | fire_num |
| u8 | unk_014 [12] |
| float | fire_pos [6][4] |
| s8 | fire_param [16] |
| PARTS_WATER | water |
| float | pos [4] |
| s16 | direction |
| s16 | unk_102 |
| u8 | unk_104 [12] |
| float | frame_offset [5][4] |
| float | event_direction |
| u8 | unk_164 [0xC] |
| float | frame_turn [6] |
| u8 | unk_188 [8] |
| float | heal_pos [4] |
| float | heal_width |
| float | heal_depth |
| s32 | heal_on |
| s32 | unk_1AC |
| CFrame * | frame [6] |
| u8 | unk_1C8 [8] |
Draws one part of a dungeon floor.
Definition at line 138 of file dungeonparts.hpp.
| CFrame * CDungeonParts::GetSearchFrame | ( | char * | name | ) |
Returns the frame with the given name, or zero if the part does not hold it.
Definition at line 2193 of file dungeonparts.cpp.
| void CDungeonParts::SetHealZone | ( | float * | position, |
| float | width, | ||
| float | depth | ||
| ) |
Places a healing zone within one dungeon part.
Definition at line 2231 of file dungeonparts.cpp.
| void CDungeonParts::Draw | ( | ) |
Draws one dungeon part and everything standing on it.
Definition at line 2245 of file dungeonparts.cpp.
| void CDungeonParts::DrawCalc | ( | int | x, |
| int | z, | ||
| int | turn, | ||
| int | map_type | ||
| ) |
Chooses the level of detail each of a part's frames draws at.
Definition at line 2285 of file dungeonparts.cpp.
| void CDungeonParts::initalize | ( | ) |
Clears one dungeon part.
Definition at line 2367 of file dungeonparts.cpp.
| s16 CDungeonParts::direction_offset |
Direction added when the part is placed on the map grid.
Definition at line 140 of file dungeonparts.hpp.
| s16 CDungeonParts::unk_002 |
Definition at line 141 of file dungeonparts.hpp.
| CFrame* CDungeonParts::camera_collision |
Model that the camera's collision uses.
Definition at line 142 of file dungeonparts.hpp.
| s16 CDungeonParts::camera_collision_turn |
Quarter turns added to the camera collision model's own.
Definition at line 143 of file dungeonparts.hpp.
| s16 CDungeonParts::unk_00A |
Definition at line 144 of file dungeonparts.hpp.
| CFrame* CDungeonParts::collision |
Model that the collision of the part uses.
Definition at line 145 of file dungeonparts.hpp.
| s16 CDungeonParts::collision_turn |
Quarter turns added to the collision model's own.
Definition at line 146 of file dungeonparts.hpp.
| s16 CDungeonParts::fire_num |
Number of points of the part that show a fire.
Definition at line 147 of file dungeonparts.hpp.
| u8 CDungeonParts::unk_014[12] |
Definition at line 148 of file dungeonparts.hpp.
| float CDungeonParts::fire_pos[6][4] |
Position of each point of the part that shows a fire.
Definition at line 149 of file dungeonparts.hpp.
| s8 CDungeonParts::fire_param[16] |
Parameter of the fire at each point.
Definition at line 150 of file dungeonparts.hpp.
| PARTS_WATER CDungeonParts::water |
Water surface that the part shows.
Definition at line 151 of file dungeonparts.hpp.
| float CDungeonParts::pos[4] |
World position of the part.
Definition at line 152 of file dungeonparts.hpp.
| s16 CDungeonParts::direction |
Rotation that the part uses.
Definition at line 153 of file dungeonparts.hpp.
| s16 CDungeonParts::unk_102 |
Definition at line 154 of file dungeonparts.hpp.
| u8 CDungeonParts::unk_104[12] |
Definition at line 155 of file dungeonparts.hpp.
| float CDungeonParts::frame_offset[5][4] |
Offset of each model from the part's position.
Definition at line 156 of file dungeonparts.hpp.
| float CDungeonParts::event_direction |
Additional quarter-turn applied to the part's event frames.
Definition at line 157 of file dungeonparts.hpp.
| u8 CDungeonParts::unk_164[0xC] |
Definition at line 158 of file dungeonparts.hpp.
| float CDungeonParts::frame_turn[6] |
Quarter turns added to each model's own.
Definition at line 159 of file dungeonparts.hpp.
| u8 CDungeonParts::unk_188[8] |
Definition at line 160 of file dungeonparts.hpp.
| float CDungeonParts::heal_pos[4] |
Centre of the part's healing zone.
Definition at line 161 of file dungeonparts.hpp.
| float CDungeonParts::heal_width |
Width of the part's healing zone.
Definition at line 162 of file dungeonparts.hpp.
| float CDungeonParts::heal_depth |
Depth of the part's healing zone.
Definition at line 163 of file dungeonparts.hpp.
| s32 CDungeonParts::heal_on |
1 if the part has a healing zone.
Definition at line 164 of file dungeonparts.hpp.
| s32 CDungeonParts::unk_1AC |
Definition at line 165 of file dungeonparts.hpp.
| CFrame* CDungeonParts::frame[6] |
Models that draw the part; a free slot has zero in the first.
Definition at line 166 of file dungeonparts.hpp.
| u8 CDungeonParts::unk_1C8[8] |
Definition at line 167 of file dungeonparts.hpp.