34 lines
651 B
C
34 lines
651 B
C
// Pjectile.h
|
|
// Guy Simmons, 4th January 1998.
|
|
|
|
#ifndef PJECTILE_H
|
|
#define PJECTILE_H
|
|
|
|
//---------------------------------------------------------------
|
|
|
|
#define MAX_PROJECTILES 10
|
|
|
|
#define PROJECTILE_NONE 0
|
|
#define PROJECTILE_TEST 1
|
|
|
|
//---------------------------------------------------------------
|
|
|
|
typedef struct
|
|
{
|
|
COMMON(ProjectileType)
|
|
|
|
|
|
}Projectile;
|
|
|
|
typedef Projectile* ProjectilePtr;
|
|
|
|
//---------------------------------------------------------------
|
|
|
|
void init_projectiles(void);
|
|
Thing *alloc_projectile(UBYTE type);
|
|
void free_projectile(Thing *proj_thing);
|
|
|
|
//---------------------------------------------------------------
|
|
|
|
#endif
|