devilutionX/Source/dthread.h
Robin Eklind dce389599e dthread: add parameter name to dthread_handler
This fixes a build error in dthread_handler when compiling as C.

	Source/dthread.cpp:92:46: error: parameter name omitted
	unsigned int __stdcall dthread_handler(void *)
																^
2020-03-08 18:12:09 +01:00

20 lines
480 B
C

/**
* @file dthread.h
*
* Interface of functions for updating game state from network commands.
*/
#ifndef __DTHREAD_H__
#define __DTHREAD_H__
extern unsigned int glpDThreadId;
extern BOOLEAN dthread_running;
void dthread_remove_player(int pnum);
void dthread_send_delta(int pnum, char cmd, void *pbSrc, int dwLen);
void dthread_start();
unsigned int __stdcall dthread_handler(void *data);
void dthread_cleanup();
/* data */
#endif /* __DTHREAD_H__ */