Cavestory Mod API
|
Bullet object. More...
#include <CSMAPI_types.h>
Public Attributes | |
int | flag |
Bullet flags. | |
int | code_bullet |
The ID for this bullet. | |
int | code_arms |
The ID of the weapon this bullet belongs to. More... | |
int | bbits |
Bullet bit-flags. | |
int | cond |
This bullet's condition. | |
int | x |
X Position. | |
int | y |
Y Position. | |
int | xm |
X Motion (x velocity) | |
int | ym |
Y Motion (y velocity) | |
int | tgt_x |
Target X. | |
int | tgt_y |
Target Y. | |
int | act_no |
Act number. | |
int | act_wait |
Act wait counter. | |
int | ani_wait |
Animation wait counter. | |
int | ani_no |
Animation number. | |
unsigned char | direct |
Direction. | |
RECT | rect |
Sprite rect. | |
int | count1 |
Custom counter 1. | |
int | count2 |
Custom counter 2. | |
int | life_count |
Bullet range. | |
int | damage |
Bullet damage. | |
int | life |
Hits left before the bullet is deleted. | |
int | enemyXL |
Enemy collision width. | |
int | enemyYL |
Enemy collision height. | |
int | blockXL |
Wall collision width. | |
int | blockYL |
Wall collision height. | |
RECT | view |
View rect. | |
int | ghostId |
The client's Ghost ID who this belongs to. | |
int | level |
Level of the bullet. | |
int | team_id |
This bullet's Team ID. | |
Bullet object.
int BULLET::code_arms |
The ID of the weapon this bullet belongs to.
Will be counted towards that weapon's number of bullets on-screen.