FTEQW
Documentation of the FTE engine source tree.
q3gamecode_s Struct Reference

#include <q3api.h>

Public Attributes

struct {
   void(*   SendAuthPacket )(struct ftenet_connections_s
      *socket, netadr_t *gameserver)
 
   void(*   SendConnectPacket )(struct ftenet_connections_s
      *socket, netadr_t *to, int
      challenge, int qport,
       infobuf_t *userinfo)
 
   void(*   Established )(void)
 
   void(*   SendCmd )(struct ftenet_connections_s
      *socket, struct usercmd_s *cmd,
       unsigned int movesequence,
       double gametime)
 
   int(*   ParseServerMessage )(sizebuf_t *msg)
 
   void(*   Disconnect )(struct ftenet_connections_s
      *socket)
 
cl
 
struct {
   void(*   VideoRestarted )(void)
 
   int(*   Redraw )(double time)
 
   qboolean(*   ConsoleCommand )(void)
 
   qboolean(*   KeyPressed )(int key, int unicode, int down)
 
   unsigned int(*   GatherLoopingSounds )(vec3_t *positions, unsigned
      int *entnums, struct sfx_s
      **sounds, unsigned int max)
 
cg
 
struct {
   qboolean(*   IsRunning )(void)
 
   qboolean(*   ConsoleCommand )(void)
 
   void(*   Start )(void)
 
   qboolean(*   OpenMenu )(void)
 
   void(*   Reset )(void)
 
ui
 
struct {
   void(*   ShutdownGame )(qboolean restart)
 
   qboolean(*   InitGame )(struct server_static_s
      *server_state_static, struct
      server_s *server_state,
       qboolean restart)
 
   qboolean(*   ConsoleCommand )(void)
 
   qboolean(*   PrefixedConsoleCommand )(void)
 
   qboolean(*   HandleClient )(netadr_t *from, sizebuf_t *msg)
 
   void(*   DirectConnect )(netadr_t *from, sizebuf_t *msg)
 
   void(*   NewMapConnects )(void)
 
   void(*   DropClient )(struct client_s *cl)
 
   void(*   RunFrame )(void)
 
   void(*   SendMessage )(struct client_s *client)
 
   qboolean(*   RestartGamecode )(void)
 
   void(*   ServerinfoChanged )(const char *key)
 
sv
 

Member Data Documentation

◆ 

struct { ... } q3gamecode_s::cg

◆ 

struct { ... } q3gamecode_s::cl

◆ ConsoleCommand

qboolean(* q3gamecode_s::ConsoleCommand) (void) ( void  )

◆ DirectConnect

void(* q3gamecode_s::DirectConnect) (netadr_t *from, sizebuf_t *msg)

◆ Disconnect

void(* q3gamecode_s::Disconnect) (struct ftenet_connections_s *socket)

◆ DropClient

void(* q3gamecode_s::DropClient) (struct client_s *cl)

◆ Established

void(* q3gamecode_s::Established) (void)

◆ GatherLoopingSounds

unsigned int(* q3gamecode_s::GatherLoopingSounds) (vec3_t *positions, unsigned int *entnums, struct sfx_s **sounds, unsigned int max)

◆ HandleClient

qboolean(* q3gamecode_s::HandleClient) (netadr_t *from, sizebuf_t *msg)

◆ InitGame

qboolean(* q3gamecode_s::InitGame) (struct server_static_s *server_state_static, struct server_s *server_state, qboolean restart)

◆ IsRunning

qboolean(* q3gamecode_s::IsRunning) (void)

◆ KeyPressed

qboolean(* q3gamecode_s::KeyPressed) (int key, int unicode, int down)

◆ NewMapConnects

void(* q3gamecode_s::NewMapConnects) (void)

◆ OpenMenu

qboolean(* q3gamecode_s::OpenMenu) (void)

◆ ParseServerMessage

int(* q3gamecode_s::ParseServerMessage) (sizebuf_t *msg)

◆ PrefixedConsoleCommand

qboolean(* q3gamecode_s::PrefixedConsoleCommand) (void)

◆ Redraw

int(* q3gamecode_s::Redraw) (double time)

◆ Reset

void(* q3gamecode_s::Reset) (void)

◆ RestartGamecode

qboolean(* q3gamecode_s::RestartGamecode) (void)

◆ RunFrame

void(* q3gamecode_s::RunFrame) (void)

◆ SendAuthPacket

void(* q3gamecode_s::SendAuthPacket) (struct ftenet_connections_s *socket, netadr_t *gameserver)

◆ SendCmd

void(* q3gamecode_s::SendCmd) (struct ftenet_connections_s *socket, struct usercmd_s *cmd, unsigned int movesequence, double gametime)

◆ SendConnectPacket

void(* q3gamecode_s::SendConnectPacket) (struct ftenet_connections_s *socket, netadr_t *to, int challenge, int qport, infobuf_t *userinfo)

◆ SendMessage

void(* q3gamecode_s::SendMessage) (struct client_s *client)

◆ ServerinfoChanged

void(* q3gamecode_s::ServerinfoChanged) (const char *key)

◆ ShutdownGame

void(* q3gamecode_s::ShutdownGame) (qboolean restart)

◆ Start

void(* q3gamecode_s::Start) (void)

◆ 

struct { ... } q3gamecode_s::sv

◆ 

struct { ... } q3gamecode_s::ui

◆ VideoRestarted

void(* q3gamecode_s::VideoRestarted) (void)

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