DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
weaponelement.hpp File Reference

Go to the source code of this file.

Classes

class  CWeaponElement
 

Macros

#define WEAPON_ELEMENT_SPARK_MAX   32
 
#define WEAPON_ELEMENT_BOLT_MAX   16
 

Enumerations

enum  WEAPON_ELEMENT_KIND {
  WEAPON_ELEMENT_FIRE = 0 , WEAPON_ELEMENT_COLD = 1 , WEAPON_ELEMENT_THUNDER = 2 , WEAPON_ELEMENT_WIND = 3 ,
  WEAPON_ELEMENT_HOLY = 4 , WEAPON_ELEMENT_NONE = 5
}
 

Functions

 STATIC_ASSERT (sizeof(CWeaponElement)==0x7C0)
 

Variables

CWeaponElement CWeaponElFx [4]
 

Detailed Description

Declares the sparks that an element-charged weapon throws off.

Definition in file weaponelement.hpp.

Macro Definition Documentation

◆ WEAPON_ELEMENT_SPARK_MAX

#define WEAPON_ELEMENT_SPARK_MAX   32

Number of sparks that one charged weapon can throw off.

Definition at line 13 of file weaponelement.hpp.

◆ WEAPON_ELEMENT_BOLT_MAX

#define WEAPON_ELEMENT_BOLT_MAX   16

Number of bolts that the thunder element can arc between its sparks.

Definition at line 16 of file weaponelement.hpp.

Enumeration Type Documentation

◆ WEAPON_ELEMENT_KIND

Names the element that a weapon is charged with, which picks both the way its sparks move and the part of the texture they draw.

Enumerator
WEAPON_ELEMENT_FIRE 

Sparks that drift upward and flicker.

WEAPON_ELEMENT_COLD 

Sparks that fall away from the blade.

WEAPON_ELEMENT_THUNDER 

Sparks that fly apart, with bolts arcing between them.

WEAPON_ELEMENT_WIND 

Sparks that blow away on a rising wind, spinning.

WEAPON_ELEMENT_HOLY 

Sparks that rise slowly and fade.

WEAPON_ELEMENT_NONE 

No element.

Definition at line 22 of file weaponelement.hpp.

Variable Documentation

◆ CWeaponElFx

CWeaponElement CWeaponElFx[4]

Elemental weapon effects the dungeon can run.

Definition at line 241 of file weaponelement.hpp.