Cavestory Mod API
Public Attributes | List of all members
PXDEMO_PLAYERSTATE_STRUCT Struct Reference

State of a player. More...

#include <GameDemo.h>

Public Attributes

unsigned char cond
 Condition of the player.
 
int x
 Current X position.
 
int y
 Current Y position.
 
int xm
 Current X motion.
 
int ym
 Current Y motion.
 
short life
 The life of this player.
 
short max_life
 The max life of this player.
 
int input_flags
 Input flags.
 
int input_flags_trg
 Trg input flags.
 
int weapon_code
 The held weapon index.
 
int weapon_ammo
 The held weapon's ammo.
 
int weapon_max_ammo
 The held weapon's max ammo.
 
unsigned char weapon_level
 The held weapon's max ammo.
 
int weapon_exp
 The held weapon's exp.
 
int selectedArms
 Selected weapon.
 
int direct
 Direction.
 
int ani_no
 Animation number.
 
int ani_wait
 Animation wait.
 
int equip
 Equip flags.
 
short star
 Amount of stars.
 
unsigned char shock
 Player damage invulnerability counter.
 
int netanim
 Player state.
 
MYCHAR_PHYSICS physics_normal
 Normal physics.
 
MYCHAR_PHYSICS physics_underwater
 Underwater physics.
 
bool ignore_water
 Ignore water.
 
signed char boost_sw
 Booster SW.
 
int boost_cnt
 Booster count.
 
unsigned int flag
 Flags.
 
int up
 Looking up.
 
int down
 Looking down.
 
signed char a
 a
 
int tgt_x
 Target X.
 
int tgt_y
 Target Y.
 
int air
 Current air.
 
int count1
 Count.
 
int count2
 Count.
 
int count3
 Count.
 
int count4
 Count.
 
int act_no
 Act number.
 
int act_wait
 Act wait.
 

Detailed Description

State of a player.


The documentation for this struct was generated from the following file: