2022-07-19 19:28:54 +00:00
|
|
|
// "Line" bullets
|
|
|
|
// --------------
|
|
|
|
// Lines at arbitrary angles and with arbitrary 1- to 16-pixel dot patterns
|
2022-07-27 20:19:30 +00:00
|
|
|
// that kill the player on contact with their right/bottom end. Only used for
|
|
|
|
// YuugenMagan's pentagram (in a group of 5), and the 3-pixel lasers from its
|
|
|
|
// north eye.
|
2022-07-19 19:28:54 +00:00
|
|
|
|
|
|
|
void linebullet_unput(
|
|
|
|
screen_x_t left, screen_y_t top, screen_x_t right, screen_y_t bottom
|
|
|
|
);
|
|
|
|
|
|
|
|
void linebullet_put_and_hittest(
|
|
|
|
screen_x_t left,
|
|
|
|
screen_y_t top,
|
|
|
|
screen_x_t right,
|
|
|
|
screen_y_t bottom,
|
|
|
|
int col
|
|
|
|
);
|
|
|
|
|
|
|
|
// Will only collision-detect for the [right]most pixel itself.
|
|
|
|
void linebullet_put_patterned_and_hittest(
|
|
|
|
screen_x_t left,
|
|
|
|
screen_y_t top,
|
|
|
|
screen_x_t right,
|
|
|
|
screen_y_t bottom,
|
|
|
|
int col,
|
|
|
|
dots16_t pattern
|
|
|
|
);
|
|
|
|
// --------------
|