Devilution
Diablo devolved - magic behind the 1996 computer game
sync.h
Go to the documentation of this file.
1 //HEADER_GOES_HERE
2 #ifndef __SYNC_H__
3 #define __SYNC_H__
4 
5 extern WORD sync_word_6AA708[MAXMONSTERS];
6 extern int sgnMonsters;
7 extern WORD sgwLRU[MAXMONSTERS];
8 extern int sgnSyncItem;
9 
10 DWORD sync_all_monsters(const BYTE *pbBuf, DWORD dwMaxLen);
11 void sync_one_monster();
13 void sync_monster_pos(TSyncMonster *p, int ndx);
15 void SyncPlrInv(TSyncHeader *pHdr);
16 DWORD sync_update(int pnum, const BYTE *pbBuf);
17 void sync_monster(int pnum, const TSyncMonster *p);
18 void sync_init();
19 
20 #endif /* __SYNC_H__ */
TSyncHeader
Definition: structs.h:857
sgnMonsters
int sgnMonsters
Definition: sync.cpp:6
sgwLRU
WORD sgwLRU[MAXMONSTERS]
Definition: sync.cpp:7
sync_word_6AA708
WORD sync_word_6AA708[MAXMONSTERS]
Definition: sync.cpp:5
sync_monster
void sync_monster(int pnum, const TSyncMonster *p)
Definition: sync.cpp:225
sync_monster_active
BOOL sync_monster_active(TSyncMonster *p)
Definition: sync.cpp:69
sgnSyncItem
int sgnSyncItem
Definition: sync.cpp:8
sync_one_monster
void sync_one_monster()
Definition: sync.cpp:54
TSyncMonster
Definition: structs.h:883
sync_init
void sync_init()
Definition: sync.cpp:283
sync_all_monsters
DWORD sync_all_monsters(const BYTE *pbBuf, DWORD dwMaxLen)
Definition: sync.cpp:11
sync_monster_active2
BOOL sync_monster_active2(TSyncMonster *p)
Definition: sync.cpp:105
SyncPlrInv
void SyncPlrInv(TSyncHeader *pHdr)
Definition: sync.cpp:133
MAXMONSTERS
#define MAXMONSTERS
Definition: defs.h:31
sync_monster_pos
void sync_monster_pos(TSyncMonster *p, int ndx)
Definition: sync.cpp:93
sync_update
DWORD sync_update(int pnum, const BYTE *pbBuf)
Definition: sync.cpp:191