|
OpenGothic
Open source reimplementation of Gothic I and II
|
#include <objvisual.h>
Public Member Functions | |
| ObjVisual () | |
| ObjVisual (ObjVisual &&other) | |
| ObjVisual & | operator= (ObjVisual &&other) |
| ~ObjVisual () | |
| void | save (Serialize &fout, const Interactive &mob) const |
| void | load (Serialize &fin, Interactive &mob) |
| void | setVisual (const zenkit::IItem &visual, World &world, bool staticDraw) |
| void | setVisual (const zenkit::VirtualObject &visual, World &world, bool staticDraw) |
| void | setObjMatrix (const Tempest::Matrix4x4 &obj) |
| void | setSlotItem (MeshObjects::Mesh &&itm, std::string_view slot) |
| void | setInteractive (Interactive *it) |
| const Animation::Sequence * | startAnimAndGet (std::string_view name, uint64_t tickCount, bool force=false) |
| bool | isAnimExist (std::string_view name) const |
| bool | updateAnimation (Npc *npc, Interactive *mobsi, World &world, uint64_t dt, bool force) |
| void | processLayers (World &world) |
| void | syncPhysics () |
| const ProtoMesh * | protoMesh () const |
| const Tempest::Matrix4x4 & | bone (size_t i) const |
Definition at line 11 of file objvisual.h.
| ObjVisual::ObjVisual | ( | ) |
Definition at line 11 of file objvisual.cpp.
| ObjVisual::ObjVisual | ( | ObjVisual && | other | ) |
Definition at line 14 of file objvisual.cpp.
| ObjVisual::~ObjVisual | ( | ) |
Definition at line 59 of file objvisual.cpp.
| const Tempest::Matrix4x4 & ObjVisual::bone | ( | size_t | i | ) | const |
Definition at line 300 of file objvisual.cpp.
| bool ObjVisual::isAnimExist | ( | std::string_view | name | ) | const |
Definition at line 263 of file objvisual.cpp.
| void ObjVisual::load | ( | Serialize & | fin, |
| Interactive & | mob | ||
| ) |
Definition at line 68 of file objvisual.cpp.
Definition at line 35 of file objvisual.cpp.
| void ObjVisual::processLayers | ( | World & | world | ) |
Definition at line 279 of file objvisual.cpp.
| const ProtoMesh * ObjVisual::protoMesh | ( | ) | const |
Definition at line 292 of file objvisual.cpp.
| void ObjVisual::save | ( | Serialize & | fout, |
| const Interactive & | mob | ||
| ) | const |
Definition at line 63 of file objvisual.cpp.
| void ObjVisual::setInteractive | ( | Interactive * | it | ) |
Definition at line 239 of file objvisual.cpp.
| void ObjVisual::setObjMatrix | ( | const Tempest::Matrix4x4 & | obj | ) |
Definition at line 213 of file objvisual.cpp.
| void ObjVisual::setSlotItem | ( | MeshObjects::Mesh && | itm, |
| std::string_view | slot | ||
| ) |
Definition at line 234 of file objvisual.cpp.
| void ObjVisual::setVisual | ( | const zenkit::IItem & | visual, |
| World & | world, | ||
| bool | staticDraw | ||
| ) |
Definition at line 116 of file objvisual.cpp.
| void ObjVisual::setVisual | ( | const zenkit::VirtualObject & | visual, |
| World & | world, | ||
| bool | staticDraw | ||
| ) |
Definition at line 128 of file objvisual.cpp.
| const Animation::Sequence * ObjVisual::startAnimAndGet | ( | std::string_view | name, |
| uint64_t | tickCount, | ||
| bool | force = false |
||
| ) |
Definition at line 256 of file objvisual.cpp.
| void ObjVisual::syncPhysics | ( | ) |
Definition at line 285 of file objvisual.cpp.
| bool ObjVisual::updateAnimation | ( | Npc * | npc, |
| Interactive * | mobsi, | ||
| World & | world, | ||
| uint64_t | dt, | ||
| bool | force | ||
| ) |
Definition at line 269 of file objvisual.cpp.
| VobBundle ObjVisual::bundle |
Definition at line 64 of file objvisual.h.
| Mdl ObjVisual::mdl |
Definition at line 61 of file objvisual.h.
| Mesh ObjVisual::mesh |
Definition at line 62 of file objvisual.h.
| PfxEmitter ObjVisual::pfx |
Definition at line 63 of file objvisual.h.