XenevaOS
Loading...
Searching...
No Matches
net_client.h
Go to the documentation of this file.
1//
2// Copyright(C) 2005-2014 Simon Howard
3//
4// This program is free software; you can redistribute it and/or
5// modify it under the terms of the GNU General Public License
6// as published by the Free Software Foundation; either version 2
7// of the License, or (at your option) any later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// Network client code
15//
16
17#ifndef NET_CLIENT_H
18#define NET_CLIENT_H
19
20#include "doomtype.h"
21#include "d_ticcmd.h"
22#include "sha1.h"
23#include "net_defs.h"
24
27void NET_CL_Run(void);
28void NET_CL_Init(void);
31void NET_CL_SendTiccmd(ticcmd_t *ticcmd, int maketic);
33void NET_Init(void);
34
36
37extern boolean net_client_connected;
40extern boolean net_waiting_for_launch;
41extern char *net_player_name;
42
45extern unsigned int net_server_is_freedoom;
48extern unsigned int net_local_is_freedoom;
49
50extern boolean drone;
51
52#endif /* #ifndef NET_CLIENT_H */
byte sha1_digest_t[20]
Definition sha1.h:24
void * data
Definition kthread.h:30
void NET_BindVariables(void)
void NET_Init(void)
void NET_CL_Init(void)
boolean NET_CL_GetSettings(net_gamesettings_t *_settings)
unsigned int net_local_is_freedoom
void NET_CL_Disconnect(void)
sha1_digest_t net_server_wad_sha1sum
void NET_CL_StartGame(net_gamesettings_t *settings)
void NET_CL_Run(void)
boolean net_client_received_wait_data
boolean drone
Definition dummy.c:29
char * net_player_name
boolean net_client_connected
Definition dummy.c:27
void NET_CL_SendTiccmd(ticcmd_t *ticcmd, int maketic)
unsigned int net_server_is_freedoom
sha1_digest_t net_server_deh_sha1sum
net_waitdata_t net_client_wait_data
boolean net_waiting_for_launch
void NET_CL_LaunchGame(void)
sha1_digest_t net_local_wad_sha1sum
sha1_digest_t net_local_deh_sha1sum
boolean NET_CL_Connect(net_addr_t *addr, net_connect_data_t *data)
Definition net_defs.h:96
Definition net_defs.h:148
Definition net_defs.h:164
Definition net_defs.h:234
Definition d_ticcmd.h:33