Less flags, more generic properties

This commit is contained in:
Gaerzi 2014-04-11 00:58:59 +02:00
commit 4cac599b88
7 changed files with 147 additions and 58 deletions

View file

@ -345,6 +345,15 @@ struct FMapThing
int args[5];
int Conversation;
fixed_t gravity;
fixed_t alpha;
DWORD fillcolor;
fixed_t scaleX;
fixed_t scaleY;
int health;
int score;
short pitch;
short roll;
DWORD RenderStyle;
void Serialize (FArchive &);
};
@ -387,14 +396,6 @@ enum EMapThingFlags
MTF_SECRET = 0x080000, // Secret pickup
MTF_NOINFIGHTING = 0x100000,
// PSX Doom and Doom 64 effects
MTF_TRANS = 0x200000, // 50% alpha
MTF_ADD = 0x400000, // 100% additive
MTF_SUBTRACT = 0x800000, // 100% subtractive
MTF_SPECTRE = 0x1000000, // 25% additive
MTF_DOUBLEHEALTH = 0x2000000, // Double hit points
// BOOM and DOOM compatible versions of some of the above
BTF_NOTSINGLE = 0x0010, // (TF_COOPERATIVE|TF_DEATHMATCH)