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

Public Attributes

unsigned short flags
 Flags for this bullet.
 
int damage
 The damage this bullet deals.
 
int hit_life
 How many times this bullet can hit something before it despawns.
 
int range
 How far this bullet can go before it despawns, in ticks.
 
struct {
   int   w
 
   int   h
 
bullet_size
 The size of this bullet's bounding box.
 
struct {
   int   w
 
   int   h
 
collision_size
 The size of this bullet's collision.
 
struct {
   int   left
 
   int   right
 
   int   top
 
   int   bottom
 
sprite
 The sprite location for this bullet.
 
char name [64]
 The name of this bullet. This is not saved in the release build.
 

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