Definition at line 81 of file Config.h.
#include <Config.h>
|
| void | validate () |
| |
| const unsigned int & | getTickRate () const |
| |
| const unsigned int & | getPhysicsRate () const |
| |
| const unsigned int & | getClientUpdateRate () const |
| |
| const float & | getSomersaultMidAirJumpForceMultiplier () const |
| |
| const unsigned int & | getReconnectDelaySeconds () const |
| |
| const bool & | getCameraFollowsPlayerAndXHair () const |
| |
| const bool & | getCameraTilting () const |
| |
| const bool & | getCameraRolling () const |
| |
| const int & | getFallDamageMultiplier () const |
| |
| const unsigned int & | getPlayerRespawnDelaySeconds () const |
| |
| const unsigned int & | getPlayerRespawnInvulnerabilityDelaySeconds () const |
| |
| bool | clientHandleServerInfoFromServer (pge_network::PgeNetworkConnectionHandle connHandleServerSide, const MsgServerInfoFromServer &msgServerInfo, proofps_dd::GameMode &gameMode) |
| |
| void | serverSaveServerInfo (const unsigned int &nMaxFps, const unsigned int &nTickrate, const unsigned int &nPhysicsRateMin, const unsigned int &nClientUpdateRate, const GameModeType &iGameModeType, const unsigned int &nFragLimit, const unsigned int &nTimeLimitSecs, const int &nFallDamageMultiplier, const unsigned int &nRespawnTimeSecs, const unsigned int &nRespawnInvulnerabilityTimeSec) |
| |
| const MsgServerInfoFromServer & | getServerInfo () const |
| |
| bool | isServerInfoReceived () const |
| |
| void | setServerInfoNotReceived () |
| |
◆ Config() [1/3]
◆ ~Config()
| proofps_dd::Config::~Config |
( |
| ) |
|
|
private |
◆ Config() [2/3]
| proofps_dd::Config::Config |
( |
const Config & | | ) |
|
|
privatedelete |
◆ Config() [3/3]
| proofps_dd::Config::Config |
( |
Config && | | ) |
|
|
privatedelete |
◆ clientHandleServerInfoFromServer()
◆ getCameraFollowsPlayerAndXHair()
| const bool & proofps_dd::Config::getCameraFollowsPlayerAndXHair |
( |
| ) |
const |
◆ getCameraRolling()
| const bool & proofps_dd::Config::getCameraRolling |
( |
| ) |
const |
◆ getCameraTilting()
| const bool & proofps_dd::Config::getCameraTilting |
( |
| ) |
const |
◆ getClientUpdateRate()
| const unsigned int & proofps_dd::Config::getClientUpdateRate |
( |
| ) |
const |
◆ getConfigInstance()
Gets the singleton instance.
Definition at line 24 of file Config.cpp.
◆ getConsole()
| CConsole & proofps_dd::Config::getConsole |
( |
| ) |
|
|
static |
◆ getFallDamageMultiplier()
| const int & proofps_dd::Config::getFallDamageMultiplier |
( |
| ) |
const |
◆ getLoggerModuleName()
| const char * proofps_dd::Config::getLoggerModuleName |
( |
| ) |
|
|
static |
◆ getPhysicsRate()
| const unsigned int & proofps_dd::Config::getPhysicsRate |
( |
| ) |
const |
◆ getPlayerRespawnDelaySeconds()
| const unsigned int & proofps_dd::Config::getPlayerRespawnDelaySeconds |
( |
| ) |
const |
◆ getPlayerRespawnInvulnerabilityDelaySeconds()
| const unsigned int & proofps_dd::Config::getPlayerRespawnInvulnerabilityDelaySeconds |
( |
| ) |
const |
◆ getReconnectDelaySeconds()
| const unsigned int & proofps_dd::Config::getReconnectDelaySeconds |
( |
| ) |
const |
◆ getServerInfo()
◆ getSomersaultMidAirJumpForceMultiplier()
| const float & proofps_dd::Config::getSomersaultMidAirJumpForceMultiplier |
( |
| ) |
const |
◆ getTickRate()
| const unsigned int & proofps_dd::Config::getTickRate |
( |
| ) |
const |
◆ isServerInfoReceived()
| bool proofps_dd::Config::isServerInfoReceived |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ serverSaveServerInfo()
| void proofps_dd::Config::serverSaveServerInfo |
( |
const unsigned int & | nMaxFps, |
|
|
const unsigned int & | nTickrate, |
|
|
const unsigned int & | nPhysicsRateMin, |
|
|
const unsigned int & | nClientUpdateRate, |
|
|
const GameModeType & | iGameModeType, |
|
|
const unsigned int & | nFragLimit, |
|
|
const unsigned int & | nTimeLimitSecs, |
|
|
const int & | nFallDamageMultiplier, |
|
|
const unsigned int & | nRespawnTimeSecs, |
|
|
const unsigned int & | nRespawnInvulnerabilityTimeSec ) |
◆ setServerInfoNotReceived()
| void proofps_dd::Config::setServerInfoNotReceived |
( |
| ) |
|
◆ validate()
| void proofps_dd::Config::validate |
( |
| ) |
|
◆ m_bCamFollowsXHair
| bool proofps_dd::Config::m_bCamFollowsXHair = true |
|
private |
◆ m_bCamRolling
| bool proofps_dd::Config::m_bCamRolling = true |
|
private |
◆ m_bCamTilting
| bool proofps_dd::Config::m_bCamTilting = true |
|
private |
◆ m_bServerInfoReceived
| bool proofps_dd::Config::m_bServerInfoReceived = false |
|
private |
Valid for clients only, since server does not send to itself.
Definition at line 168 of file Config.h.
◆ m_fSomersaultMidAirJumpForceMultiplier
| float proofps_dd::Config::m_fSomersaultMidAirJumpForceMultiplier |
|
private |
◆ m_maps
| Maps& proofps_dd::Config::m_maps |
|
private |
◆ m_nClientUpdateRate
| unsigned int proofps_dd::Config::m_nClientUpdateRate = GAME_CL_UPDATERATE_DEF |
|
private |
◆ m_nFallDamageMultiplier
| int proofps_dd::Config::m_nFallDamageMultiplier = SV_FALL_DAMAGE_MULTIPLIER_DEF |
|
private |
◆ m_nFragLimit
◆ m_nPhysicsRateMin
| unsigned int proofps_dd::Config::m_nPhysicsRateMin = GAME_PHYSICS_RATE_MIN_DEF |
|
private |
◆ m_nPlayerRespawnDelaySecs
| unsigned int proofps_dd::Config::m_nPlayerRespawnDelaySecs {} |
|
private |
◆ m_nPlayerRespawnInvulnerabilityDelaySecs
| unsigned int proofps_dd::Config::m_nPlayerRespawnInvulnerabilityDelaySecs {} |
|
private |
◆ m_nSecondsReconnectDelay
| unsigned int proofps_dd::Config::m_nSecondsReconnectDelay = GAME_NETWORK_RECONNECT_SECONDS |
|
private |
◆ m_nTickrate
| unsigned int proofps_dd::Config::m_nTickrate = GAME_TICKRATE_DEF |
|
private |
◆ m_nTimeLimitSecs
◆ m_pge
| PGE& proofps_dd::Config::m_pge |
|
private |
◆ m_serverInfo
Server and clients use this for informational purpose, to show it as debug info.
Actually, clients also use it for other purpose too, e.g. to know the respawn time so they draw countdown progress bar based on that! Seems to be redundant as we could also store these in above members, but for now we keep them separate. Maybe in the future the only member here will be this, so server will immediately store its config here, and just pass this member when sending out message to clients, and clients also need only this. Only clients use all members, server use almost all members, except irrelevant ones, e.g.: m_nTimeRemainingMillisecs.
Definition at line 167 of file Config.h.
The documentation for this class was generated from the following files:
- C:/__PR00F__/___developing___/projects/PRooFPS-dd/PRooFPS-dd/Config.h
- C:/__PR00F__/___developing___/projects/PRooFPS-dd/PRooFPS-dd/Config.cpp