|
Cavestory Mod API
|
A structure to hold all collision information. More...
#include <ImageBank.h>
Public Attributes | |
| CSM_BANK_IMAGE * | bank |
| The bank being tested for. | |
| void * | object |
| The object being tested against. | |
| int | pass_count |
| The total number of collisions so far. | |
| int | tile_index_0 |
| The tile index used for collision testing. | |
| int | tile_index_1 |
| The tile index used for collision testing for object. | |
| GUI_POINT | map_tile_pos |
| The map tile position where the collision took place. | |
| GUI_POINT | bank_hit_pixel_subpos |
| The global subpixel position of the pixel that was collided against. | |
| CSM_BANK_RECT | bank_subrect |
| The object's subpixel rect. | |
| GUI_POINT | object_hit_pixel_subpos |
| The subpixel position of the object pixel that was collided against. | |
| CSM_BANK_RECT | object_subrect |
| The object's subpixel rect. | |
| int | object_old_xm |
| Old object xm. | |
| int | object_old_ym |
| Old object ym. | |
A structure to hold all collision information.