summaryrefslogtreecommitdiff
path: root/source/q_files.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/q_files.h')
-rw-r--r--source/q_files.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/source/q_files.h b/source/q_files.h
index 0f08bcb..38f2e42 100644
--- a/source/q_files.h
+++ b/source/q_files.h
@@ -264,17 +264,16 @@ typedef struct {
// little-endian "IDS2"
#define SPRITE_VERSION 2
-typedef struct
-{
- int width, height;
- int origin_x, origin_y; // raster coordinates inside pic
- char name[MAX_SKINNAME]; // name of pcx file
+typedef struct {
+ uint32_t width, height;
+ uint32_t origin_x, origin_y; // raster coordinates inside pic
+ char name[MAX_SKINNAME]; // name of pcx file
} dsprframe_t;
typedef struct {
- int ident;
- int version;
- int numframes;
+ uint32_t ident;
+ uint32_t version;
+ uint32_t numframes;
dsprframe_t frames[1]; // variable sized
} dsprite_t;