ef37b22d6d
* improve (totally rewrite) projectile collision detection and graze mechanics * fix lineseg_circle_intersect as per lao's suggestion * adjust hit"boxes" * fix false hits on inductive resonanse (bad lerp) * initialize projectile prevpos on spawn * pp_basic_init_projectile: always override the projectile's sprite when setting the prototype
10 lines
156 B
C
10 lines
156 B
C
|
|
#define PP_BASIC(name, w, h, cw, ch) PP(name)
|
|
#include "basic.inc.h"
|
|
|
|
#define PP_PLAYER(name, w, h) PP(name)
|
|
#include "player.inc.h"
|
|
|
|
PP(blast)
|
|
|
|
#undef PP
|