summaryrefslogtreecommitdiff
path: root/src/hexen/xddefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/xddefs.h')
-rw-r--r--src/hexen/xddefs.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/hexen/xddefs.h b/src/hexen/xddefs.h
index 2c7d4690..29605433 100644
--- a/src/hexen/xddefs.h
+++ b/src/hexen/xddefs.h
@@ -26,6 +26,7 @@
#define __XDDEFS__
#include "doomtype.h"
+#include "v_patch.h"
//--------------------------------------------------------------------------
//
@@ -198,29 +199,6 @@ typedef struct
//
//--------------------------------------------------------------------------
-// posts are runs of non masked source pixels
-typedef struct
-{
- byte topdelta; // -1 is the last post in a column
- byte length;
-// length data bytes follows
-} post_t;
-
-// column_t is a list of 0 or more post_t, (byte)-1 terminated
-typedef post_t column_t;
-
-// a patch holds one or more columns
-// patches are used for sprites and all masked pictures
-typedef struct
-{
- short width; // bounding box size
- short height;
- short leftoffset; // pixels to the left of origin
- short topoffset; // pixels below the origin
- int columnofs[8]; // only [width] used
- // the [0] is &columnofs[width]
-} patch_t;
-
// a pic is an unmasked block of pixels
typedef struct
{