Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | List of all members
game::hideandseekclientmode Struct Reference

#include <hideandseek_client.hpp>

Inheritance diagram for game::hideandseekclientmode:
game::clientmode hideandseekmode

Public Member Functions

void setup () override
 
void drawblip (fpsent *d, float x, float y, float s, const vec &pos, float size_factor)
 
void drawhud (fpsent *d, int w, int h) override
 
bool isinvisible (fpsent *d) override
 
void rendergame () override
 
void renderscoreboard (g3d_gui &g, scoregroup &sg, int fgcolor, int bgcolor) override
 
void killed (fpsent *d, fpsent *actor) override
 
void respawned (fpsent *d) override
 
void pickspawn (fpsent *d) override
 
bool hidefrags () override
 
bool parse_network_message (int type, ucharbuf &p) override
 Parse game mode specific network messages. More...
 
virtual void preload ()
 
virtual int clipconsole (int w, int h)
 
virtual void checkitems (fpsent *d)
 
virtual int respawnwait (fpsent *d)
 
virtual void senditems (packetbuf &p)
 
virtual void addplayer (fpsent *d)
 
virtual void removeplayer (fpsent *d)
 
virtual void gameover ()
 
virtual int getteamscore (const char *team)
 
virtual void getteamscores (vector< teamscore > &scores)
 
virtual void aifind (fpsent *d, ai::aistate &b, vector< ai::interest > &interests)
 
virtual bool aicheck (fpsent *d, ai::aistate &b)
 
virtual bool aidefend (fpsent *d, ai::aistate &b)
 
virtual bool aipursue (fpsent *d, ai::aistate &b)
 
virtual void gameconnect (fpsent *d)
 

Static Public Attributes

static constexpr int STARTINVISIBLESECS = 30
 

Member Function Documentation

virtual void game::clientmode::addplayer ( fpsent d)
inlinevirtualinherited
virtual bool game::clientmode::aicheck ( fpsent d,
ai::aistate b 
)
inlinevirtualinherited
virtual bool game::clientmode::aidefend ( fpsent d,
ai::aistate b 
)
inlinevirtualinherited

Reimplemented in game::ctfclientmode, and game::captureclientmode.

Referenced by ai::dodefend().

virtual void game::clientmode::aifind ( fpsent d,
ai::aistate b,
vector< ai::interest > &  interests 
)
inlinevirtualinherited
virtual bool game::clientmode::aipursue ( fpsent d,
ai::aistate b 
)
inlinevirtualinherited
virtual void game::clientmode::checkitems ( fpsent d)
inlinevirtualinherited
virtual int game::clientmode::clipconsole ( int  w,
int  h 
)
inlinevirtualinherited
void game::hideandseekclientmode::drawblip ( fpsent d,
float  x,
float  y,
float  s,
const vec pos,
float  size_factor 
)
void game::hideandseekclientmode::drawhud ( fpsent d,
int  w,
int  h 
)
overridevirtual
virtual void game::clientmode::gameconnect ( fpsent d)
inlinevirtualinherited

Reimplemented in game::bombclientmode.

virtual void game::clientmode::gameover ( )
inlinevirtualinherited

Referenced by game::timeupdate().

virtual int game::clientmode::getteamscore ( const char *  team)
inlinevirtualinherited

Referenced by game::groupplayers().

virtual void game::clientmode::getteamscores ( vector< teamscore > &  scores)
inlinevirtualinherited

Referenced by game::getbestteams().

bool game::hideandseekclientmode::hidefrags ( )
inlineoverridevirtual

Reimplemented from game::clientmode.

bool game::hideandseekclientmode::isinvisible ( fpsent d)
overridevirtual
void game::hideandseekclientmode::killed ( fpsent d,
fpsent actor 
)
inlineoverridevirtual

Reimplemented from game::clientmode.

bool game::hideandseekclientmode::parse_network_message ( int  type,
ucharbuf p 
)
inlineoverridevirtual

Parse game mode specific network messages.

Returns
true if message got handled.

Implements game::clientmode.

void game::hideandseekclientmode::pickspawn ( fpsent d)
inlineoverridevirtual

Reimplemented from game::clientmode.

References findplayerspawn(), and game::player1.

virtual void game::clientmode::preload ( )
inlinevirtualinherited
virtual void game::clientmode::removeplayer ( fpsent d)
inlinevirtualinherited

Reimplemented in game::ctfclientmode.

Referenced by game::clientdisconnected().

void game::hideandseekclientmode::rendergame ( )
inlineoverridevirtual

Reimplemented from game::clientmode.

void game::hideandseekclientmode::renderscoreboard ( g3d_gui g,
scoregroup sg,
int  fgcolor,
int  bgcolor 
)
inlineoverridevirtual

Reimplemented from game::clientmode.

void game::hideandseekclientmode::respawned ( fpsent d)
inlineoverridevirtual

Reimplemented from game::clientmode.

virtual int game::clientmode::respawnwait ( fpsent d)
inlinevirtualinherited
virtual void game::clientmode::senditems ( packetbuf p)
inlinevirtualinherited
void game::hideandseekclientmode::setup ( )
inlineoverridevirtual

Reimplemented from game::clientmode.

Member Data Documentation

constexpr int game::hideandseekclientmode::STARTINVISIBLESECS = 30
static

Referenced by isinvisible().


The documentation for this struct was generated from the following files: