mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- consolidated MISSILE_PLACEMENT definitions.
This commit is contained in:
parent
90ad4b8ef1
commit
271af39a59
2 changed files with 8 additions and 31 deletions
|
@ -45,6 +45,13 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
|
|||
|
||||
BEGIN_SW_NS
|
||||
|
||||
struct MISSILE_PLACEMENT
|
||||
{
|
||||
int dist_over, dist_out;
|
||||
short ang;
|
||||
};
|
||||
|
||||
|
||||
void SpawnZombie2(DSWActor*);
|
||||
Collision move_ground_missile(DSWActor* actor, int xchange, int ychange, int ceildist, int flordist, uint32_t cliptype, int numtics);
|
||||
void DoPlayerBeginDie(PLAYERp);
|
||||
|
@ -11577,12 +11584,6 @@ void InitSpellNapalm(PLAYERp pp)
|
|||
unsigned i;
|
||||
short ammo;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int dist_over, dist_out;
|
||||
short ang;
|
||||
} MISSILE_PLACEMENT;
|
||||
|
||||
static const MISSILE_PLACEMENT mp[] =
|
||||
{
|
||||
{600 * 6, 400, 512},
|
||||
|
@ -11664,12 +11665,6 @@ int InitEnemyNapalm(DSWActor* actor)
|
|||
short dist;
|
||||
unsigned i;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int dist_over, dist_out;
|
||||
short ang;
|
||||
} MISSILE_PLACEMENT;
|
||||
|
||||
static const MISSILE_PLACEMENT mp[] =
|
||||
{
|
||||
{600 * 6, 400, 512},
|
||||
|
@ -12193,12 +12188,6 @@ int InitSumoNapalm(DSWActor* actor)
|
|||
short dist;
|
||||
short ang;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int dist_over, dist_out;
|
||||
short ang;
|
||||
} MISSILE_PLACEMENT;
|
||||
|
||||
static const MISSILE_PLACEMENT mp[] =
|
||||
{
|
||||
{0, 1100, 0},
|
||||
|
@ -12726,12 +12715,6 @@ void InitHeartAttack(PLAYERp pp)
|
|||
DSWActor* plActor = pp->actor;
|
||||
short i = 0;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int dist_over, dist_out;
|
||||
short ang;
|
||||
} MISSILE_PLACEMENT;
|
||||
|
||||
static const MISSILE_PLACEMENT mp[] =
|
||||
{
|
||||
{0, 1100, 0},
|
||||
|
@ -14408,12 +14391,6 @@ int InitZillaRocket(DSWActor* actor)
|
|||
int nx, ny, nz, dist, nang;
|
||||
short w, i;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int dist_over, dist_out;
|
||||
short ang;
|
||||
} MISSILE_PLACEMENT;
|
||||
|
||||
static const MISSILE_PLACEMENT mp[] =
|
||||
{
|
||||
{600 * 6, 400, 512},
|
||||
|
|
|
@ -576,7 +576,7 @@ STATEp sg_ZillaDead[] =
|
|||
};
|
||||
|
||||
/*
|
||||
typedef struct
|
||||
struct
|
||||
{
|
||||
#define MAX_ACTOR_CLOSE_ATTACK 2
|
||||
#define MAX_ACTOR_ATTACK 6
|
||||
|
|
Loading…
Reference in a new issue