|
OpenGothic
Open source reimplementation of Gothic I and II
|
#include <itemtorchburning.h>
Public Member Functions | |
| ItemTorchBurning (World &owner, size_t inst, Item::Type type) | |
| void | clearView () override |
| bool | isTorchBurn () const override |
Public Member Functions inherited from Item | |
| Item (World &owner, size_t inst, Type type) | |
| Item (World &owner, Serialize &fin, Type type) | |
| Item (Item &&) | |
| ~Item () | |
| Item & | operator= (Item &&)=delete |
| void | save (Serialize &fout) const override |
| void | setPosition (float x, float y, float z) |
| void | setDirection (float x, float y, float z) |
| void | setObjMatrix (const Tempest::Matrix4x4 &m) |
| bool | isMission () const |
| bool | isEquipped () const |
| uint8_t | equipCount () const |
| void | setAsEquipped (bool e) |
| void | setPhysicsEnable (World &w) |
| void | setPhysicsDisable () |
| bool | isDynamic () const override |
| uint8_t | slot () const |
| void | setSlot (uint8_t s) |
| std::string_view | displayName () const |
| std::string_view | description () const |
| Tempest::Vec3 | position () const |
| Tempest::Vec3 | midPosition () const |
| bool | isGold () const |
| ItmFlags | mainFlag () const |
| int32_t | itemFlag () const |
| bool | isMulti () const |
| bool | is2H () const |
| bool | isCrossbow () const |
| bool | isRing () const |
| bool | isArmor () const |
| bool | isSpellShoot () const |
| bool | isSpellOrRune () const |
| bool | isSpell () const |
| bool | isRune () const |
| int32_t | spellId () const |
| int32_t | swordLength () const |
| void | setCount (size_t cnt) |
| size_t | count () const |
| std::string_view | uiText (size_t id) const |
| int32_t | uiValue (size_t id) const |
| int32_t | cost () const |
| int32_t | sellCost () const |
| bool | checkCond (const Npc &other) const |
| bool | checkCondUse (const Npc &other, int32_t &atr, int32_t &nv) const |
| bool | checkCondRune (const Npc &other, int32_t &cPl, int32_t &cIt) const |
| const zenkit::IItem & | handle () const |
| zenkit::IItem & | handle () |
| const std::shared_ptr< zenkit::IItem > & | handlePtr () |
| size_t | clsId () const |
Public Member Functions inherited from Vob | |
| Vob (World &owner) | |
| Vob (Vob *parent, World &owner, const zenkit::VirtualObject &vob, Flags flags) | |
| virtual | ~Vob () |
| void | saveVobTree (Serialize &fin) const |
| void | loadVobTree (Serialize &fin) |
| virtual void | load (Serialize &fin) |
| Tempest::Vec3 | position () const |
| auto | transform () const -> const Tempest::Matrix4x4 & |
| void | setGlobalTransform (const Tempest::Matrix4x4 &p) |
| auto | localTransform () const -> const Tempest::Matrix4x4 & |
| void | setLocalTransform (const Tempest::Matrix4x4 &p) |
| virtual bool | setMobState (std::string_view scheme, int32_t st) |
| virtual float | extendedSearchRadius () const |
Protected Member Functions | |
| void | moveEvent () override |
Protected Member Functions inherited from Item | |
| void | setPhysicsEnable (const MeshObjects::Mesh &mesh) |
| void | setPhysicsEnable (const ProtoMesh *mesh) |
Additional Inherited Members | |
Public Types inherited from Item | |
| enum | { MAX_UI_ROWS =6 , NSLOT =255 } |
| enum | Type : uint8_t { T_World , T_WorldDyn , T_Inventory } |
Public Types inherited from Vob | |
| enum | Flags : uint8_t { None = 0 , Startup = 0x1 << 0 , Static = 0x1 << 1 } |
Static Public Member Functions inherited from Vob | |
| static std::unique_ptr< Vob > | load (Vob *parent, World &world, const zenkit::VirtualObject &vob, Flags flags) |
Protected Attributes inherited from Vob | |
| World & | world |
| zenkit::VirtualObjectType | vobType = zenkit::VirtualObjectType::UNKNOWN |
| uint32_t | vobObjectID = uint32_t(-1) |
Definition at line 5 of file itemtorchburning.h.
| ItemTorchBurning::ItemTorchBurning | ( | World & | owner, |
| size_t | inst, | ||
| Item::Type | type | ||
| ) |
Definition at line 5 of file itemtorchburning.cpp.
|
overridevirtual |
Reimplemented from Item.
Definition at line 22 of file itemtorchburning.cpp.
|
overridevirtual |
Reimplemented from Item.
Definition at line 27 of file itemtorchburning.cpp.
|
overrideprotectedvirtual |
Reimplemented from Item.
Definition at line 31 of file itemtorchburning.cpp.