From 1caabf2e7bddb47ebcd82f937435e29da9d1bdd9 Mon Sep 17 00:00:00 2001 From: Evan Ramos Date: Thu, 2 Jan 2020 21:43:06 -0600 Subject: [PATCH] Add Blood-specific synonyms for tspritetype members --- source/build/include/buildtypes.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/source/build/include/buildtypes.h b/source/build/include/buildtypes.h index 995a32280..caadf6e10 100644 --- a/source/build/include/buildtypes.h +++ b/source/build/include/buildtypes.h @@ -231,11 +231,22 @@ typedef struct union { struct { - int16_t xvel, yvel, zvel; + union { + int16_t xvel, index; + }; + int16_t yvel; + union { + int16_t zvel, inittype; + }; }; vec3_16_t vel; }; - int16_t lotag, hitag; + union { + int16_t lotag, type; + }; + union { + int16_t hitag, flags; + }; int16_t extra; } tspritetype; #endif