Pol  Revision:cb584c9
Pol::Multi::CustomHouseElements Class Reference

#include <customhouses.h>

Public Member Functions

 CustomHouseElements ()
 
 CustomHouseElements (u32 _height, u32 _width, s32 xoffset, s32 yoffset)
 
 ~CustomHouseElements ()
 
void AddElement (CUSTOM_HOUSE_ELEMENT &elem)
 
size_t estimatedSize () const
 
HouseFloorZColumnGetElementsAt (s32 xoffset, s32 yoffset)
 
void SetHeight (u32 _height)
 
void SetWidth (u32 _width)
 

Public Attributes

HouseFloor data
 
u32 height
 
u32 width
 
s32 xoff
 
s32 yoff
 

Detailed Description

Definition at line 84 of file customhouses.h.

Constructor & Destructor Documentation

Pol::Multi::CustomHouseElements::CustomHouseElements ( )

Definition at line 187 of file customhousehelp.cpp.

Referenced by estimatedSize().

Pol::Multi::CustomHouseElements::CustomHouseElements ( u32  _height,
u32  _width,
s32  xoffset,
s32  yoffset 
)

Definition at line 191 of file customhousehelp.cpp.

References SetHeight(), and SetWidth().

Pol::Multi::CustomHouseElements::~CustomHouseElements ( )

Definition at line 197 of file customhousehelp.cpp.

Member Function Documentation

void Pol::Multi::CustomHouseElements::AddElement ( CUSTOM_HOUSE_ELEMENT elem)
size_t Pol::Multi::CustomHouseElements::estimatedSize ( ) const

Definition at line 212 of file customhousehelp.cpp.

References CustomHouseElements(), and data.

HouseFloorZColumn * Pol::Multi::CustomHouseElements::GetElementsAt ( s32  xoffset,
s32  yoffset 
)

Definition at line 228 of file customhousehelp.cpp.

References data, xoff, and yoff.

Referenced by Pol::Multi::UHouse::readobjects(), and Pol::Multi::UHouse::readshapes().

void Pol::Multi::CustomHouseElements::SetHeight ( u32  _height)

Definition at line 199 of file customhousehelp.cpp.

References data, height, and width.

Referenced by CustomHouseElements(), and Pol::Multi::CustomHouseDesign::InitDesign().

void Pol::Multi::CustomHouseElements::SetWidth ( u32  _width)

Definition at line 206 of file customhousehelp.cpp.

References data, and width.

Referenced by CustomHouseElements(), and Pol::Multi::CustomHouseDesign::InitDesign().

Member Data Documentation

u32 Pol::Multi::CustomHouseElements::height

Definition at line 99 of file customhouses.h.

Referenced by SetHeight().

u32 Pol::Multi::CustomHouseElements::width

Definition at line 99 of file customhouses.h.

Referenced by SetHeight(), and SetWidth().

s32 Pol::Multi::CustomHouseElements::xoff
s32 Pol::Multi::CustomHouseElements::yoff

The documentation for this class was generated from the following files: