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

#include <hitmark.hpp>

Public Member Functions

void Set (float *position)
 
void Draw ()
 
void Step ()
 

Public Attributes

float pos [4]
 
s32 timer
 
s32 blink
 
s32 on
 
s32 unk_1C
 

Detailed Description

Blinks one mark over the point that the player last hit.

Definition at line 93 of file hitmark.hpp.

Member Function Documentation

◆ Set()

void CHitPointMark::Set ( float *  position)
inline

Starts the mark over a point.

Definition at line 104 of file hitmark.hpp.

◆ Draw()

void CHitPointMark::Draw ( )

Draws the mark, unless the blink hides it.

Mangled name:
Draw__13CHitPointMarkFv
Address:
0x1B3610
Size:
0xFC

Definition at line 188 of file hitmark.cpp.

◆ Step()

void CHitPointMark::Step ( )

Counts the mark down, and turns the blink over every fourth step.

Mangled name:
Step__13CHitPointMarkFv
Address:
0x1B3710
Size:
0x64

Definition at line 221 of file hitmark.cpp.

Member Data Documentation

◆ pos

float CHitPointMark::pos[4]

World position of the mark.

Definition at line 95 of file hitmark.hpp.

◆ timer

s32 CHitPointMark::timer

Steps that the mark still draws for.

Definition at line 96 of file hitmark.hpp.

◆ blink

s32 CHitPointMark::blink

1 while the mark shows; 0 while it is hidden.

Definition at line 97 of file hitmark.hpp.

◆ on

s32 CHitPointMark::on

1 while the mark is in use.

Definition at line 98 of file hitmark.hpp.

◆ unk_1C

s32 CHitPointMark::unk_1C

Definition at line 99 of file hitmark.hpp.