#include <gamesession.h>
|
| | GameSession ()=delete |
| |
| | GameSession (const GameSession &)=delete |
| |
| | GameSession (std::string file) |
| |
| | GameSession (Serialize &fin) |
| |
| | ~GameSession () |
| |
| void | save (Serialize &fout, std::string_view name, const Tempest::Pixmap &screen) |
| |
| void | setupSettings () |
| |
| void | setWorld (std::unique_ptr< World > &&w) |
| |
| auto | clearWorld () -> std::unique_ptr< World > |
| |
| void | changeWorld (std::string_view world, std::string_view wayPoint) |
| |
| void | exitSession () |
| |
| auto | version () const -> const VersionInfo & |
| |
| const World * | world () const |
| |
| World * | world () |
| |
| WorldView * | view () const |
| |
| GameScript * | script () const |
| |
| Camera & | camera () |
| |
| auto | loadSound (const Tempest::Sound &raw) -> Tempest::SoundEffect |
| |
| auto | loadSound (const SoundFx &fx, bool &looped) -> Tempest::SoundEffect |
| |
| Npc * | player () |
| |
| void | updateListenerPos (const Camera::ListenerPos &lpos) |
| |
| gtime | time () const |
| |
| void | setTime (gtime t) |
| |
| void | tick (uint64_t dt) |
| |
| uint64_t | tickCount () const |
| |
| void | setTimeMultiplyer (float t) |
| |
| void | updateAnimation (uint64_t dt) |
| |
| auto | updateDialog (const GameScript::DlgChoice &dlg, Npc &player, Npc &npc) -> std::vector< GameScript::DlgChoice > |
| |
| void | dialogExec (const GameScript::DlgChoice &dlg, Npc &player, Npc &npc) |
| |
| std::string_view | messageFromSvm (std::string_view id, int voice) const |
| |
| std::string_view | messageByName (std::string_view id) const |
| |
| uint32_t | messageTime (std::string_view id) const |
| |
| AiOuputPipe * | openDlgOuput (Npc &player, Npc &npc) |
| |
| bool | isNpcInDialog (const Npc &npc) const |
| |
| bool | isInDialog () const |
| |
Definition at line 23 of file gamesession.h.
◆ GameSession() [1/4]
| GameSession::GameSession |
( |
| ) |
|
|
delete |
◆ GameSession() [2/4]
◆ GameSession() [3/4]
| GameSession::GameSession |
( |
std::string |
file | ) |
|
◆ GameSession() [4/4]
◆ ~GameSession()
| GameSession::~GameSession |
( |
| ) |
|
◆ camera()
| Camera & GameSession::camera |
( |
| ) |
|
|
inline |
◆ changeWorld()
| void GameSession::changeWorld |
( |
std::string_view |
world, |
|
|
std::string_view |
wayPoint |
|
) |
| |
◆ clearWorld()
| std::unique_ptr< World > GameSession::clearWorld |
( |
| ) |
-> std::unique_ptr<World> |
◆ dialogExec()
◆ exitSession()
| void GameSession::exitSession |
( |
| ) |
|
◆ isInDialog()
| bool GameSession::isInDialog |
( |
| ) |
const |
◆ isNpcInDialog()
| bool GameSession::isNpcInDialog |
( |
const Npc & |
npc | ) |
const |
◆ loadSound() [1/2]
| Tempest::SoundEffect GameSession::loadSound |
( |
const SoundFx & |
fx, |
|
|
bool & |
looped |
|
) |
| -> Tempest::SoundEffect |
◆ loadSound() [2/2]
| Tempest::SoundEffect GameSession::loadSound |
( |
const Tempest::Sound & |
raw | ) |
-> Tempest::SoundEffect |
◆ messageByName()
| std::string_view GameSession::messageByName |
( |
std::string_view |
id | ) |
const |
◆ messageFromSvm()
| std::string_view GameSession::messageFromSvm |
( |
std::string_view |
id, |
|
|
int |
voice |
|
) |
| const |
◆ messageTime()
| uint32_t GameSession::messageTime |
( |
std::string_view |
id | ) |
const |
◆ openDlgOuput()
◆ player()
| Npc * GameSession::player |
( |
| ) |
|
◆ save()
| void GameSession::save |
( |
Serialize & |
fout, |
|
|
std::string_view |
name, |
|
|
const Tempest::Pixmap & |
screen |
|
) |
| |
◆ script()
◆ setTime()
| void GameSession::setTime |
( |
gtime |
t | ) |
|
◆ setTimeMultiplyer()
| void GameSession::setTimeMultiplyer |
( |
float |
t | ) |
|
◆ setupSettings()
| void GameSession::setupSettings |
( |
| ) |
|
◆ setWorld()
| void GameSession::setWorld |
( |
std::unique_ptr< World > && |
w | ) |
|
◆ tick()
| void GameSession::tick |
( |
uint64_t |
dt | ) |
|
◆ tickCount()
| uint64_t GameSession::tickCount |
( |
| ) |
const |
|
inline |
◆ time()
| gtime GameSession::time |
( |
| ) |
const |
|
inline |
◆ updateAnimation()
| void GameSession::updateAnimation |
( |
uint64_t |
dt | ) |
|
◆ updateDialog()
◆ updateListenerPos()
◆ version()
◆ view()
◆ world() [1/2]
| World * GameSession::world |
( |
| ) |
|
|
inline |
◆ world() [2/2]
| const World * GameSession::world |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: