taisei/src/projectile_prototypes/all.inc.h
Andrei Alexeyev ef37b22d6d
Improve (totally rewrite) projectile collision detection and graze mechanics (#122)
* 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
2018-05-13 16:08:58 +03:00

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