Mdflags - EDukeWiki

# Mdflags

From EDukeWiki

mdflags is a bitfield containing toggles affecting drawing of sprites. These flags never affect the actual gameplay, and as such do not have to be synchronized. Maphacks are the primary users of mdflags.

mdflags is available for the spriteext and wall structs.

Bit values for mdflags are:

Value | Label | Description |
--- | --- | --- | ---
1 | SPREXT_NOTMD | Force sprite be displayed as sprite, instead of a model.
2 | SPREXT_NOMDANIM | No model animation.
4 | SPREXT_AWAY1 | ?
8 | SPREXT_AWAY2 | ?
16 | SPREXT_TSPRACCESS | Process in EVENT_ANIMATESPRITES.
32 | SPREXT_TEMPINVISIBLE | ?

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Mdflags&oldid=11343"
Categories:

- Bitfields
- EDuke32 specific commands
- Sprite manipulation