Inheritance diagram for Doomwad::Sidedef:

Definition at line 75 of file sidedefs.hpp.
Public Member Functions | |
| virtual size_t | getLength (void) const throw () |
| Get the length of an element. | |
| virtual bool | read (const Lump &lump, Lump::size_type i) throw () |
| Read this element from a Lump. | |
| Sidedef (int16=0, int16=0, const std::string &=NO_TEXTURE, const std::string &=NO_TEXTURE, const std::string &=NO_TEXTURE, uint16=NO_SECTOR) throw () | |
| Sidedef constructor. | |
| 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 | ~Sidedef (void) throw () |
| Sidedef destructor. | |
Public Attributes | |
| std::string | lower |
| Lower texture name. | |
| std::string | middle |
| Middle (normal) texture name. | |
| uint16 | sector |
| Sector number. | |
| std::string | upper |
| Upper texture name. | |
| int16 | x_offset |
| X offset of textures. | |
| int16 | y_offset |
| Y offset of textures. | |
Static Public Attributes | |
| static const size_t | LENGTH = 0x0000001E |
| Length of a single record. | |
| static const uint16 | NO_SECTOR = 0xFFFF |
| Does not belong to a Sector. | |
| static const std::string | NO_TEXTURE = "-" |
| Value of a texture name when there is no texture (i.e. blank). | |
|
||||||||||||||||||||||||||||
|
Sidedef constructor. Constructs a Sidedef from a bunch of optional arguments.
Definition at line 65 of file sidedefs.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.
Implements Doomwad::WadEntryElement. Definition at line 76 of file sidedefs.cpp. References LENGTH. |
|
||||||||||||
|
Read this element from a Lump. Read one element from a Lump at the specified index.
Implements Doomwad::WadEntryElement. Definition at line 99 of file sidedefs.cpp. Referenced by Doomwad::Sidedefs::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.
Implements Doomwad::WadEntryElement. Definition at line 117 of file sidedefs.cpp. References lower, middle, sector, upper, x_offset, and y_offset. |
|
||||||||||||
|
Write this element into a Lump. Write one element into a Lump at the specified index.
Implements Doomwad::WadEntryElement. Definition at line 81 of file sidedefs.cpp. |
1.4.0