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

#include <battlemenu.hpp>

Public Attributes

s8 index
 
s8 reachable
 
char unk_02 [2]
 
float alignment
 
s32 dx
 
s32 dy
 
s32 distance_sq
 

Detailed Description

Ranks one world-map destination by how well it lines up with a pushed direction.

Definition at line 440 of file battlemenu.hpp.

Member Data Documentation

◆ index

s8 MAP_JUMP_COMPARE::index

World-map place this entry ranks.

Definition at line 441 of file battlemenu.hpp.

◆ reachable

s8 MAP_JUMP_COMPARE::reachable

One when the place has been visited and is not the current one.

Definition at line 442 of file battlemenu.hpp.

◆ unk_02

char MAP_JUMP_COMPARE::unk_02[2]

Definition at line 443 of file battlemenu.hpp.

◆ alignment

float MAP_JUMP_COMPARE::alignment

Cosine between the pushed direction and the direction to the place; entries sort on it, largest first.

Definition at line 444 of file battlemenu.hpp.

◆ dx

s32 MAP_JUMP_COMPARE::dx

Horizontal offset from the current place to this one.

Definition at line 445 of file battlemenu.hpp.

◆ dy

s32 MAP_JUMP_COMPARE::dy

Vertical offset from the current place to this one.

Definition at line 446 of file battlemenu.hpp.

◆ distance_sq

s32 MAP_JUMP_COMPARE::distance_sq

Squared distance from the current place to this one.

Definition at line 447 of file battlemenu.hpp.