shithub: qk1

Download patch

ref: 41b4118b3aaed6b19c909377662ac71dc0aa7ce4
parent: f870bc6589f353a45af7c24df73fa43346161aec
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sat Nov 25 15:25:16 EST 2023

remove unused on-disk structs for sprites loading

--- a/spritegn.h
+++ b/spritegn.h
@@ -15,36 +15,5 @@
 	SPR_GROUP,
 }spriteframetype_t;
 
-// TODO: shorten these?
-typedef struct {
-	int			ident;
-	int			version;
-	int			type;
-	float		boundingradius;
-	int			width;
-	int			height;
-	int			numframes;
-	float		beamlength;
-	synctype_t	synctype;
-} dsprite_t;
-
-typedef struct {
-	int			origin[2];
-	int			width;
-	int			height;
-} dspriteframe_t;
-
-typedef struct {
-	int			numframes;
-} dspritegroup_t;
-
-typedef struct {
-	float	interval;
-} dspriteinterval_t;
-
-typedef struct {
-	spriteframetype_t	type;
-} dspriteframetype_t;
-
 #define IDSPRITEHEADER	(('P'<<24)+('S'<<16)+('D'<<8)+'I')
 // little-endian "IDSP"