diff options
Diffstat (limited to 'src/doom/r_defs.h')
-rw-r--r-- | src/doom/r_defs.h | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/src/doom/r_defs.h b/src/doom/r_defs.h index fe3517c2..bbd4b211 100644 --- a/src/doom/r_defs.h +++ b/src/doom/r_defs.h @@ -44,6 +44,7 @@ #include "i_video.h" +#include "v_patch.h" @@ -284,18 +285,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 -} PACKEDATTR post_t; - -// column_t is a list of 0 or more post_t, (byte)-1 terminated -typedef post_t column_t; - - - // PC direct to screen pointers //B UNUSED - keep till detailshift in r_draw.c resolved //extern byte* destview; @@ -351,27 +340,6 @@ typedef struct drawseg_s -// Patches. -// A patch holds one or more columns. -// Patches are used for sprites and all masked pictures, -// and we compose textures from the TEXTURE1/2 lists -// of patches. -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] -} PACKEDATTR patch_t; - - - - - - - // A vissprite_t is a thing // that will be drawn during a refresh. // I.e. a sprite object that is partly visible. |