Pol
Revision:cb584c9
|
#include <boat.h>
Classes | |
struct | ComponentShape |
Public Member Functions | |
BoatShape (Clib::ConfigElem &elem) | |
BoatShape () | |
size_t | estimateSize () const |
Static Public Member Functions | |
static bool | objtype_is_component (unsigned int objtype) |
Public Attributes | |
std::vector< ComponentShape > | Componentshapes |
Pol::Multi::BoatShape::BoatShape | ( | Clib::ConfigElem & | elem | ) |
Definition at line 144 of file boat.cpp.
References Pol::Multi::COMPONENT_HOLD, Pol::Multi::COMPONENT_HULL, Pol::Multi::COMPONENT_PORT_PLANK, Pol::Multi::COMPONENT_ROPE, Pol::Multi::COMPONENT_RUDDER, Pol::Multi::COMPONENT_SAILS, Pol::Multi::COMPONENT_STARBOARD_PLANK, Pol::Multi::COMPONENT_STORAGE, Pol::Multi::COMPONENT_TILLER, Pol::Multi::COMPONENT_TILLERMAN, Pol::Multi::COMPONENT_WEAPONSLOT, Pol::Multi::COMPONENT_WHEEL, Componentshapes, Pol::Clib::ConfigElem::remove_prop(), and Pol::Clib::ConfigElem::remove_string().
Pol::Multi::BoatShape::BoatShape | ( | ) |
Definition at line 143 of file boat.cpp.
Referenced by Pol::Multi::read_boat_cfg().
size_t Pol::Multi::BoatShape::estimateSize | ( | ) | const |
Definition at line 206 of file boat.cpp.
References Pol::Multi::BoatShape::ComponentShape::ComponentShape(), and Componentshapes.
|
static |
Definition at line 176 of file boat.cpp.
References Pol::Core::settingsManager.
Referenced by Pol::Multi::UBoat::readProperties().
std::vector<ComponentShape> Pol::Multi::BoatShape::Componentshapes |
Definition at line 87 of file boat.h.
Referenced by BoatShape(), Pol::Multi::UBoat::create_components(), estimateSize(), Pol::Multi::UBoat::move_components(), and Pol::Multi::UBoat::transform_components().