PRooFPS-dd Dev Doc 1.0
PRooFPS-dd Developer Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
proofps_dd Namespace Reference

Classes

class  CameraHandling
 
class  Config
 
class  DeathKillEventLister
 
class  DeathMatchMode
 In DeathMatch a.k.a. More...
 
class  DrawableEventLister
 A specified maximum number of events stored in FIFO container for a limited amount of time. More...
 
struct  Durations
 
class  EventLister
 A specified maximum number of events stored in FIFO container for a limited amount of time. More...
 
class  Explosion
 
struct  FragTableRow
 
class  GameMode
 GameMode class represent the Frag Table and the winning condition checks. More...
 
class  GUI
 
class  InputHandling
 
class  Mapcycle
 
class  MapItem
 
class  Maps
 
class  Minimap
 
struct  MsgBulletUpdateFromServer
 
struct  MsgCurrentWpnUpdateFromServer
 
struct  MsgDeathNotificationFromServer
 
struct  MsgGameSessionStateFromServer
 
struct  MsgMapChangeFromServer
 
struct  MsgMapItemUpdateFromServer
 
struct  MsgPlayerEventFromServer
 
struct  MsgServerInfoFromServer
 
struct  MsgUserCmdFromClient
 
struct  MsgUserNameChangeAndBootupDone
 
struct  MsgUserSetupFromServer
 
struct  MsgUserUpdateFromServer
 
struct  MsgWpnUpdateFromServer
 
class  Networking
 
class  Physics
 
class  Player
 
class  PlayerHandling
 
struct  PRooFPSappMsgId2ZStringPair
 
class  PRooFPSddPGE
 The customized game engine class. More...
 
class  Sounds
 
class  WeaponHandling
 
class  XHair
 Finally a dedicated class for crosshair was needed, because from PRooFPS-dd v0.2.5, the crosshair becomes smarter and smarter, and for the related functionalities we should keep some logic separate. More...
 

Enumerations

enum class  GameModeType { DeathMatch , TeamDeathMatch , TeamRoundGame }
 
enum class  MapItemType {
  ITEM_WPN_PISTOL , ITEM_WPN_MACHINEGUN , ITEM_WPN_BAZOOKA , ITEM_HEALTH ,
  ITEM_ARMOR
}
 
enum  PlayerEventId : pge_network::TByte { FallingFromHigh = 0 , Landed , ItemTake , JumppadActivated }
 
enum class  PRooFPSappMsgId : pge_network::MsgApp::TMsgId {
  ServerInfoFromServer = 0 , GameSessionStateFromServer , MapChangeFromServer , UserSetupFromServer ,
  UserNameChangeAndBootupDone , UserCmdFromClient , UserUpdateFromServer , BulletUpdateFromServer ,
  MapItemUpdateFromServer , WpnUpdateFromServer , CurrentWpnUpdateFromServer , DeathNotificationFromServer ,
  PlayerEventFromServer , LastMsgId
}
 
enum class  Strafe : std::uint8_t { NONE = 0 , LEFT , RIGHT }
 

Functions

std::ostream & operator<< (std::ostream &s, const MapItemType &eMapItemType)
 
std::string generateTestDumpFilename (bool bServer, unsigned long nPid, unsigned int nTickRate, unsigned int nClUpdateRate, unsigned int nPhysicsRateMin)
 

Variables

constexpr auto MapMsgAppId2String
 

Enumeration Type Documentation

◆ GameModeType

enum class proofps_dd::GameModeType
strong
Enumerator
DeathMatch 
TeamDeathMatch 
TeamRoundGame 

Definition at line 25 of file GameMode.h.

◆ MapItemType

enum class proofps_dd::MapItemType
strong
Enumerator
ITEM_WPN_PISTOL 
ITEM_WPN_MACHINEGUN 
ITEM_WPN_BAZOOKA 
ITEM_HEALTH 
ITEM_ARMOR 

Definition at line 21 of file MapItem.h.

◆ PlayerEventId

enum proofps_dd::PlayerEventId : pge_network::TByte
Enumerator
FallingFromHigh 
Landed 
ItemTake 
JumppadActivated 

Definition at line 32 of file Player.h.

◆ PRooFPSappMsgId

enum class proofps_dd::PRooFPSappMsgId : pge_network::MsgApp::TMsgId
strong
Enumerator
ServerInfoFromServer 
GameSessionStateFromServer 
MapChangeFromServer 
UserSetupFromServer 
UserNameChangeAndBootupDone 
UserCmdFromClient 
UserUpdateFromServer 
BulletUpdateFromServer 
MapItemUpdateFromServer 
WpnUpdateFromServer 
CurrentWpnUpdateFromServer 
DeathNotificationFromServer 
PlayerEventFromServer 
LastMsgId 

Definition at line 26 of file PRooFPS-dd-packet.h.

◆ Strafe

enum class proofps_dd::Strafe : std::uint8_t
strong
Enumerator
NONE 
LEFT 
RIGHT 

Definition at line 18 of file Strafe.h.

Function Documentation

◆ generateTestDumpFilename()

std::string proofps_dd::generateTestDumpFilename ( bool bServer,
unsigned long nPid,
unsigned int nTickRate,
unsigned int nClUpdateRate,
unsigned int nPhysicsRateMin )

Definition at line 16 of file SharedWithTest.cpp.

◆ operator<<()

std::ostream & proofps_dd::operator<< ( std::ostream & s,
const MapItemType & eMapItemType )

Definition at line 17 of file MapItem.cpp.

Variable Documentation

◆ MapMsgAppId2String

auto proofps_dd::MapMsgAppId2String
constexpr
Initial value:
= PFL::std_array_of<PRooFPSappMsgId2ZStringPair>
(
PRooFPSappMsgId2ZStringPair{ PRooFPSappMsgId::ServerInfoFromServer, "MsgServerInfoFromServer" },
PRooFPSappMsgId2ZStringPair{ PRooFPSappMsgId::GameSessionStateFromServer, "MsgGameSessionStateFromServer" },
PRooFPSappMsgId2ZStringPair{ PRooFPSappMsgId::MapChangeFromServer, "MsgMapChangeFromServer" },
PRooFPSappMsgId2ZStringPair{ PRooFPSappMsgId::UserSetupFromServer, "MsgUserSetupFromServer" },
PRooFPSappMsgId2ZStringPair{ PRooFPSappMsgId::UserNameChangeAndBootupDone, "MsgUserNameChangeAndBootupDone" },
PRooFPSappMsgId2ZStringPair{ PRooFPSappMsgId::UserCmdFromClient, "MsgUserCmdFromClient" },
PRooFPSappMsgId2ZStringPair{ PRooFPSappMsgId::UserUpdateFromServer, "MsgUserUpdateFromServer" },
PRooFPSappMsgId2ZStringPair{ PRooFPSappMsgId::BulletUpdateFromServer, "MsgBulletUpdateFromServer" },
PRooFPSappMsgId2ZStringPair{ PRooFPSappMsgId::MapItemUpdateFromServer, "MsgMapItemUpdateFromServer" },
PRooFPSappMsgId2ZStringPair{ PRooFPSappMsgId::WpnUpdateFromServer, "MsgWpnUpdateFromServer" },
PRooFPSappMsgId2ZStringPair{ PRooFPSappMsgId::CurrentWpnUpdateFromServer, "MsgCurrentWpnUpdateFromServer" },
PRooFPSappMsgId2ZStringPair{ PRooFPSappMsgId::DeathNotificationFromServer, "MsgDeathNotificationFromServer" },
PRooFPSappMsgId2ZStringPair{ PRooFPSappMsgId::PlayerEventFromServer, "MsgPlayerEventFromServer" }
)

Definition at line 50 of file PRooFPS-dd-packet.h.