UFO: Alien Invasion
e_server.cpp File Reference

Events that are send from the client to the server. More...

#include "e_server.h"
#include "../../client.h"
#include "../cl_hud.h"
Include dependency graph for e_server.cpp:

Go to the source code of this file.

Functions

static void CL_NextRound_f (void)
 Finishes the current turn of the player in battlescape and starts the turn for the next team. More...
 
void CL_ServerEventsInit (void)
 

Detailed Description

Events that are send from the client to the server.

Definition in file e_server.cpp.

Function Documentation

◆ CL_NextRound_f()

static void CL_NextRound_f ( void  )
static

Finishes the current turn of the player in battlescape and starts the turn for the next team.

Definition at line 32 of file e_server.cpp.

References _, CL_BattlescapeRunning(), clc_endround, cls, HUD_DisplayMessage(), client_static_t::isOurRound(), NET_WriteByte(), NET_WriteMsg(), and client_static_t::netStream.

Referenced by CL_ServerEventsInit().

◆ CL_ServerEventsInit()

void CL_ServerEventsInit ( void  )

Definition at line 50 of file e_server.cpp.

References CL_NextRound_f(), Cmd_AddCommand(), and N_.

Referenced by CL_InitLocal().