|
OpenGothic
Open source reimplementation of Gothic I and II
|
#include <playercontrol.h>
Public Member Functions | |
| PlayerControl (DialogMenu &dlg, InventoryMenu &inv) | |
| ~PlayerControl () | |
| void | onKeyPressed (KeyCodec::Action a, Tempest::Event::KeyType key, KeyCodec::Mapping mapping=KeyCodec::Mapping::Primary) |
| void | onKeyReleased (KeyCodec::Action a, KeyCodec::Mapping mapping=KeyCodec::Mapping::Primary) |
| bool | isPressed (KeyCodec::Action a) const |
| void | onRotateMouse (float dAngle) |
| void | onRotateMouseDy (float dAngle) |
| void | changeZoom (int delta) |
| void | tickFocus () |
| void | clearFocus () |
| bool | interact (Interactive &it) |
| bool | interact (Npc &other) |
| bool | interact (Item &item) |
| void | clearInput () |
| void | setTarget (Npc *other) |
| void | actionFocus (Npc &other) |
| void | emptyFocus () |
| Focus | focus () const |
| bool | hasActionFocus () const |
| bool | tickMove (uint64_t dt) |
| bool | tickCameraMove (uint64_t dt) |
Definition at line 18 of file playercontrol.h.
| PlayerControl::PlayerControl | ( | DialogMenu & | dlg, |
| InventoryMenu & | inv | ||
| ) |
Definition at line 13 of file playercontrol.cpp.
| PlayerControl::~PlayerControl | ( | ) |
Definition at line 19 of file playercontrol.cpp.
| void PlayerControl::actionFocus | ( | Npc & | other | ) |
Definition at line 287 of file playercontrol.cpp.
| void PlayerControl::changeZoom | ( | int | delta | ) |
| void PlayerControl::clearFocus | ( | ) |
Definition at line 283 of file playercontrol.cpp.
| void PlayerControl::clearInput | ( | ) |
Definition at line 426 of file playercontrol.cpp.
| void PlayerControl::emptyFocus | ( | ) |
Definition at line 291 of file playercontrol.cpp.
| Focus PlayerControl::focus | ( | ) | const |
Definition at line 295 of file playercontrol.cpp.
| bool PlayerControl::hasActionFocus | ( | ) | const |
Definition at line 299 of file playercontrol.cpp.
| bool PlayerControl::interact | ( | Interactive & | it | ) |
Definition at line 305 of file playercontrol.cpp.
| bool PlayerControl::interact | ( | Item & | item | ) |
Definition at line 345 of file playercontrol.cpp.
| bool PlayerControl::interact | ( | Npc & | other | ) |
Definition at line 323 of file playercontrol.cpp.
| bool PlayerControl::isPressed | ( | KeyCodec::Action | a | ) | const |
Definition at line 246 of file playercontrol.cpp.
| void PlayerControl::onKeyPressed | ( | KeyCodec::Action | a, |
| Tempest::Event::KeyType | key, | ||
| KeyCodec::Mapping | mapping = KeyCodec::Mapping::Primary |
||
| ) |
Definition at line 48 of file playercontrol.cpp.
| void PlayerControl::onKeyReleased | ( | KeyCodec::Action | a, |
| KeyCodec::Mapping | mapping = KeyCodec::Mapping::Primary |
||
| ) |
Definition at line 202 of file playercontrol.cpp.
| void PlayerControl::onRotateMouse | ( | float | dAngle | ) |
Definition at line 250 of file playercontrol.cpp.
| void PlayerControl::onRotateMouseDy | ( | float | dAngle | ) |
Definition at line 255 of file playercontrol.cpp.
| void PlayerControl::setTarget | ( | Npc * | other | ) |
Definition at line 31 of file playercontrol.cpp.
| bool PlayerControl::tickCameraMove | ( | uint64_t | dt | ) |
Definition at line 506 of file playercontrol.cpp.
| void PlayerControl::tickFocus | ( | ) |
Definition at line 260 of file playercontrol.cpp.
| bool PlayerControl::tickMove | ( | uint64_t | dt | ) |
Definition at line 540 of file playercontrol.cpp.