Devilution
Diablo devolved - magic behind the 1996 computer game
Functions | Variables
nthread.h File Reference

Go to the source code of this file.

Functions

void nthread_terminate_game (const char *pszFcn)
 
DWORD nthread_send_and_recv_turn (DWORD cur_turn, int turn_delta)
 
BOOL nthread_recv_turns (BOOL *pfSendAsync)
 
void nthread_set_turn_upper_bit ()
 
void nthread_start (BOOL set_turn_upper_bit)
 
unsigned int nthread_handler (void *data)
 
void nthread_cleanup ()
 
void nthread_ignore_mutex (BOOL bStart)
 
BOOL nthread_has_500ms_passed (BOOL unused)
 

Variables

BYTE sgbNetUpdateRate
 
DWORD gdwMsgLenTbl [MAX_PLRS]
 
DWORD gdwDeltaBytesSec
 
BOOLEAN nthread_should_run
 
DWORD gdwTurnsInTransit
 
uintptr_t glpMsgTbl [MAX_PLRS]
 
SDL_threadID glpNThreadId
 
int turn_upper_bit
 
BOOLEAN sgbThreadIsRunning
 
DWORD gdwLargestMsgSize
 
DWORD gdwNormalMsgSize
 
int last_tick
 

Detailed Description

Interface of functions for managing game ticks.

Definition in file nthread.h.