Inheritance diagram for Doomwad::HexenThing:

Definition at line 125 of file things.hpp.
Public Member Functions | |
| virtual size_t | getLength (void) const throw () |
| Get the length of an element. | |
| HexenThing (uint16=0, int16=0, int16=0, int16=0, uint16=EAST, uint16=0, uint16=0, byte=0, byte=0, byte=0, byte=0, byte=0, byte=0) throw () | |
| Default HexenThing constructor. | |
| virtual bool | read (const Lump &lump, Lump::size_type i) throw () |
| Read this element from a Lump. | |
| virtual std::string | toString (void) const throw () |
| Convert this element to a string. | |
| virtual bool | write (Lump &lump, Lump::size_type i) const throw () |
| Write this element into a Lump. | |
| virtual | ~HexenThing (void) throw () |
| HexenThing destructor. | |
Public Attributes | |
| uint16 | angle |
| Angle, 0 is east. Use static constants for best results. | |
| byte | arg1 |
| Argument 1. | |
| byte | arg2 |
| Argument 2. | |
| byte | arg3 |
| Argument 3. | |
| byte | arg4 |
| Argument 4. | |
| byte | arg5 |
| Argument 5. | |
| uint16 | flags |
| Flags, for example, deaf, skill level, multiplayer. | |
| int16 | height |
| Starting height. | |
| uint16 | id |
| Thing ID. | |
| byte | special |
| Special type. | |
| uint16 | type |
| Thing type, for example, a player start or a demon. | |
| int16 | x |
| X coordinate. | |
| int16 | y |
| Y coordinate. | |
Static Public Attributes | |
| static const uint16 | FRIENDLY = 0x2000 |
| Friendly to the player. | |
| static const uint16 | IN_COOP = 0x0200 |
| In cooperative mode. | |
| static const uint16 | IN_DM = 0x0400 |
| In deathmatch. | |
| static const uint16 | IN_SP = 0x0100 |
| In single player. | |
| static const uint16 | INVISIBLE = 0x1000 |
| Completely invisible. | |
| static const size_t | LENGTH = 0x00000014 |
| Length of a single record. | |
| static const uint16 | STANDSTILL = 0x4000 |
| Does not move. | |
| static const uint16 | TRANSLUCENT = 0x0800 |
| 25% translucent. | |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Default HexenThing constructor. Constructs a new HexenThing using the given parameters.
Definition at line 168 of file things.cpp. |
|
|
Get the length of an element. Each element record type has a length. Some are fixed, in which case this function returns that length. Some records are variable-length, in which case this function returns zero.
Reimplemented from Doomwad::Thing. Definition at line 179 of file things.cpp. References LENGTH. |
|
||||||||||||
|
Read this element from a Lump. Read one element from a Lump at the specified index.
Reimplemented from Doomwad::Thing. Definition at line 209 of file things.cpp. Referenced by Doomwad::HexenThings::setFromLump(). |
|
|
Convert this element to a string. The format of the string will vary from class to class, but every subclass must be able to format itself as a string. IMPORTANT: this string representation is not guaranteed to preserve all data. Reading back in is not supported. This function's goal is to make the object's state user-readable, not machine-readable.
Reimplemented from Doomwad::Thing. Definition at line 234 of file things.cpp. References angle, arg1, arg2, arg3, arg4, arg5, flags, height, special, type, x, and y. |
|
||||||||||||
|
Write this element into a Lump. Write one element into a Lump at the specified index.
Reimplemented from Doomwad::Thing. Definition at line 184 of file things.cpp. |
1.4.0