diff options
Diffstat (limited to 'src/hexen/h2def.h')
-rw-r--r-- | src/hexen/h2def.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h index 7910cde8..faa2d3f8 100644 --- a/src/hexen/h2def.h +++ b/src/hexen/h2def.h @@ -172,6 +172,13 @@ typedef struct thinker_s struct player_s; +typedef union +{ + int i; + struct mobj_s *m; + struct player_s *p; +} specialval_t; + typedef struct mobj_s { thinker_t thinker; // thinker node @@ -198,8 +205,8 @@ typedef struct mobj_s int damage; // For missiles int flags; int flags2; // Heretic flags - int special1; // Special info - int special2; // Special info + specialval_t special1; // Special info + specialval_t special2; // Special info int health; int movedir; // 0-7 int movecount; // when 0, select a new dir |