Skip to content

Commit

Permalink
Use typedef enum, active_ptcgens must be declared extern
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 21, 2004
1 parent 959281e commit b205dcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/Include/p_particle.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#define PGF_UNTRIGGERED 0x2000000

// Particle types
enum {
typedef enum {
PTC_NONE,
PTC_POINT,
PTC_LINE,
Expand Down Expand Up @@ -119,7 +119,7 @@ typedef struct ptcgen_s {
ptcstage_t stages[MAX_PTC_STAGES];
} ptcgen_t;

ptcgen_t *active_ptcgens[MAX_ACTIVE_PTCGENS];
extern ptcgen_t *active_ptcgens[MAX_ACTIVE_PTCGENS];

void P_SpawnParticleGen(ded_ptcgen_t * def, mobj_t *source);
void P_SpawnTypeParticleGens(void);
Expand Down

0 comments on commit b205dcf

Please sign in to comment.