devilutionX/Source/dthread.h
Anders Jenbo cfbe27f3b8 Clean up (#568)
* Clean up mana checks

* Don't expose static globals
2019-01-15 10:15:48 +01:00

20 lines
597 B
C

//HEADER_GOES_HERE
#ifndef __DTHREAD_H__
#define __DTHREAD_H__
extern unsigned int glpDThreadId; // idb
extern BOOLEAN dthread_running;
void __cdecl dthread_init_mutex();
void __cdecl dthread_cleanup_mutex_atexit();
void __cdecl dthread_cleanup_mutex(void);
void __fastcall dthread_remove_player(int pnum);
void __fastcall dthread_send_delta(int pnum, char cmd, void *pbSrc, int dwLen);
void __cdecl dthread_start();
unsigned int __stdcall dthread_handler(void *unused);
void __cdecl dthread_cleanup();
/* data */
extern int dthread_inf; // weak
#endif /* __DTHREAD_H__ */