Devilution
Diablo devolved - magic behind the 1996 computer game
msg.h
Go to the documentation of this file.
1 
6 #ifndef __MSG_H__
7 #define __MSG_H__
8 
9 extern BOOL deltaload;
10 extern BYTE gbBufferMsgs;
11 extern int dwRecCount;
12 
13 void msg_send_drop_pkt(int pnum, int reason);
14 void msg_send_packet(int pnum, const void *packet, DWORD dwSize);
15 void msg_get_next_packet();
16 BOOL msg_wait_resync();
17 void msg_free_packets();
18 int msg_wait_for_turns();
19 void run_delta_info();
20 void msg_pre_packet();
21 void DeltaExportData(int pnum);
22 BYTE *DeltaExportItem(BYTE *dst, TCmdPItem *src);
23 BYTE *DeltaExportObject(BYTE *dst, DObjectStr *src);
24 BYTE *DeltaExportMonster(BYTE *dst, DMonsterStr *src);
25 BYTE *DeltaExportJunk(BYTE *dst);
26 int msg_comp_level(BYTE *buffer, BYTE *end);
27 void delta_init();
28 void delta_kill_monster(int mi, BYTE x, BYTE y, BYTE bLevel);
29 void delta_monster_hp(int mi, int hp, BYTE bLevel);
30 void delta_sync_monster(const TSyncMonster *pSync, BYTE bLevel);
31 void delta_sync_golem(TCmdGolem *pG, int pnum, BYTE bLevel);
32 void delta_leave_sync(BYTE bLevel);
33 BOOL delta_portal_inited(int i);
34 BOOL delta_quest_inited(int i);
35 void DeltaAddItem(int ii);
36 void DeltaSaveLevel();
37 void DeltaLoadLevel();
38 void NetSendCmd(BOOL bHiPri, BYTE bCmd);
39 void NetSendCmdGolem(BYTE mx, BYTE my, BYTE dir, BYTE menemy, int hp, BYTE cl);
40 void NetSendCmdLoc(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y);
41 void NetSendCmdLocParam1(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y, WORD wParam1);
42 void NetSendCmdLocParam2(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y, WORD wParam1, WORD wParam2);
43 void NetSendCmdLocParam3(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y, WORD wParam1, WORD wParam2, WORD wParam3);
44 void NetSendCmdParam1(BOOL bHiPri, BYTE bCmd, WORD wParam1);
45 void NetSendCmdParam2(BOOL bHiPri, BYTE bCmd, WORD wParam1, WORD wParam2);
46 void NetSendCmdParam3(BOOL bHiPri, BYTE bCmd, WORD wParam1, WORD wParam2, WORD wParam3);
47 void NetSendCmdQuest(BOOL bHiPri, BYTE q);
48 void NetSendCmdGItem(BOOL bHiPri, BYTE bCmd, BYTE mast, BYTE pnum, BYTE ii);
49 void NetSendCmdGItem2(BOOL usonly, BYTE bCmd, BYTE mast, BYTE pnum, TCmdGItem *p);
50 BOOL NetSendCmdReq2(BYTE bCmd, BYTE mast, BYTE pnum, TCmdGItem *p);
51 void NetSendCmdExtra(TCmdGItem *p);
52 void NetSendCmdPItem(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y);
53 void NetSendCmdChItem(BOOL bHiPri, BYTE bLoc);
54 void NetSendCmdDelItem(BOOL bHiPri, BYTE bLoc);
55 void NetSendCmdDItem(BOOL bHiPri, int ii);
56 void NetSendCmdDamage(BOOL bHiPri, BYTE bPlr, DWORD dwDam);
57 void NetSendCmdString(int pmask, const char *pszStr);
58 void delta_close_portal(int pnum);
59 DWORD ParseCmd(int pnum, TCmd *pCmd);
60 DWORD On_DLEVEL(int pnum, TCmd *pCmd);
61 void DeltaImportData(BYTE cmd, DWORD recv_offset);
62 BYTE *DeltaImportItem(BYTE *src, TCmdPItem *dst);
63 BYTE *DeltaImportObject(BYTE *src, DObjectStr *dst);
64 BYTE *DeltaImportMonster(BYTE *src, DMonsterStr *dst);
65 void DeltaImportJunk(BYTE *src);
66 DWORD On_SYNCDATA(TCmd *pCmd, int pnum);
67 DWORD On_WALKXY(TCmd *pCmd, int pnum);
68 DWORD On_ADDSTR(TCmd *pCmd, int pnum);
69 DWORD On_ADDMAG(TCmd *pCmd, int pnum);
70 DWORD On_ADDDEX(TCmd *pCmd, int pnum);
71 DWORD On_ADDVIT(TCmd *pCmd, int pnum);
72 DWORD On_SBSPELL(TCmd *pCmd, int pnum);
73 void msg_errorf(const char *pszFmt, ...);
74 DWORD On_GOTOGETITEM(TCmd *pCmd, int pnum);
75 DWORD On_REQUESTGITEM(TCmd *pCmd, int pnum);
76 BOOL i_own_level(int nReqLevel);
77 DWORD On_GETITEM(TCmd *pCmd, int pnum);
78 BOOL delta_get_item(TCmdGItem *pI, BYTE bLevel);
79 DWORD On_GOTOAGETITEM(TCmd *pCmd, int pnum);
80 DWORD On_REQUESTAGITEM(TCmd *pCmd, int pnum);
81 DWORD On_AGETITEM(TCmd *pCmd, int pnum);
82 DWORD On_ITEMEXTRA(TCmd *pCmd, int pnum);
83 DWORD On_PUTITEM(TCmd *pCmd, int pnum);
84 void delta_put_item(TCmdPItem *pI, int x, int y, BYTE bLevel);
85 void check_update_plr(int pnum);
86 DWORD On_SYNCPUTITEM(TCmd *pCmd, int pnum);
87 DWORD On_RESPAWNITEM(TCmd *pCmd, int pnum);
88 DWORD On_ATTACKXY(TCmd *pCmd, int pnum);
89 DWORD On_SATTACKXY(TCmd *pCmd, int pnum);
90 DWORD On_RATTACKXY(TCmd *pCmd, int pnum);
91 DWORD On_SPELLXYD(TCmd *pCmd, int pnum);
92 DWORD On_SPELLXY(TCmd *pCmd, int pnum);
93 DWORD On_TSPELLXY(TCmd *pCmd, int pnum);
94 DWORD On_OPOBJXY(TCmd *pCmd, int pnum);
95 DWORD On_DISARMXY(TCmd *pCmd, int pnum);
96 DWORD On_OPOBJT(TCmd *pCmd, int pnum);
97 DWORD On_ATTACKID(TCmd *pCmd, int pnum);
98 DWORD On_ATTACKPID(TCmd *pCmd, int pnum);
99 DWORD On_RATTACKID(TCmd *pCmd, int pnum);
100 DWORD On_RATTACKPID(TCmd *pCmd, int pnum);
101 DWORD On_SPELLID(TCmd *pCmd, int pnum);
102 DWORD On_SPELLPID(TCmd *pCmd, int pnum);
103 DWORD On_TSPELLID(TCmd *pCmd, int pnum);
104 DWORD On_TSPELLPID(TCmd *pCmd, int pnum);
105 DWORD On_KNOCKBACK(TCmd *pCmd, int pnum);
106 DWORD On_RESURRECT(TCmd *pCmd, int pnum);
107 DWORD On_HEALOTHER(TCmd *pCmd, int pnum);
108 DWORD On_TALKXY(TCmd *pCmd, int pnum);
109 DWORD On_NEWLVL(TCmd *pCmd, int pnum);
110 DWORD On_WARP(TCmd *pCmd, int pnum);
111 DWORD On_MONSTDEATH(TCmd *pCmd, int pnum);
112 DWORD On_KILLGOLEM(TCmd *pCmd, int pnum);
113 DWORD On_AWAKEGOLEM(TCmd *pCmd, int pnum);
114 DWORD On_MONSTDAMAGE(TCmd *pCmd, int pnum);
115 DWORD On_PLRDEAD(TCmd *pCmd, int pnum);
116 DWORD On_PLRDAMAGE(TCmd *pCmd, int pnum);
117 DWORD On_OPENDOOR(TCmd *pCmd, int pnum);
118 void delta_sync_object(int oi, BYTE bCmd, BYTE bLevel);
119 DWORD On_CLOSEDOOR(TCmd *pCmd, int pnum);
120 DWORD On_OPERATEOBJ(TCmd *pCmd, int pnum);
121 DWORD On_PLROPOBJ(TCmd *pCmd, int pnum);
122 DWORD On_BREAKOBJ(TCmd *pCmd, int pnum);
123 DWORD On_CHANGEPLRITEMS(TCmd *pCmd, int pnum);
124 DWORD On_DELPLRITEMS(TCmd *pCmd, int pnum);
125 DWORD On_PLRLEVEL(TCmd *pCmd, int pnum);
126 DWORD On_DROPITEM(TCmd *pCmd, int pnum);
127 DWORD On_SEND_PLRINFO(TCmd *pCmd, int pnum);
128 DWORD On_ACK_PLRINFO(TCmd *pCmd, int pnum);
129 DWORD On_PLAYER_JOINLEVEL(TCmd *pCmd, int pnum);
130 DWORD On_ACTIVATEPORTAL(TCmd *pCmd, int pnum);
131 void delta_open_portal(int pnum, BYTE x, BYTE y, BYTE bLevel, BYTE bLType, BYTE bSetLvl);
132 DWORD On_DEACTIVATEPORTAL(TCmd *pCmd, int pnum);
133 DWORD On_RETOWN(TCmd *pCmd, int pnum);
134 DWORD On_SETSTR(TCmd *pCmd, int pnum);
135 DWORD On_SETDEX(TCmd *pCmd, int pnum);
136 DWORD On_SETMAG(TCmd *pCmd, int pnum);
137 DWORD On_SETVIT(TCmd *pCmd, int pnum);
138 DWORD On_STRING(TCmd *pCmd, int pnum);
139 DWORD On_STRING2(int pnum, TCmd *pCmd);
140 DWORD On_SYNCQUEST(TCmd *pCmd, int pnum);
141 DWORD On_ENDSHIELD(TCmd *pCmd, int pnum);
142 DWORD On_CHEAT_EXPERIENCE(TCmd *pCmd, int pnum);
143 DWORD On_CHEAT_SPELL_LEVEL(TCmd *pCmd, int pnum);
144 DWORD On_DEBUG(TCmd *pCmd, int pnum);
145 DWORD On_NOVA(TCmd *pCmd, int pnum);
146 DWORD On_SETSHIELD(TCmd *pCmd, int pnum);
147 DWORD On_REMSHIELD(TCmd *pCmd, int pnum);
148 
149 #endif /* __MSG_H__ */
On_PLROPOBJ
DWORD On_PLROPOBJ(TCmd *pCmd, int pnum)
Definition: msg.cpp:2244
NetSendCmdDamage
void NetSendCmdDamage(BOOL bHiPri, BYTE bPlr, DWORD dwDam)
Definition: msg.cpp:952
On_ENDSHIELD
DWORD On_ENDSHIELD(TCmd *pCmd, int pnum)
Definition: msg.cpp:2532
NetSendCmdPItem
void NetSendCmdPItem(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y)
Definition: msg.cpp:851
NetSendCmdParam1
void NetSendCmdParam1(BOOL bHiPri, BYTE bCmd, WORD wParam1)
Definition: msg.cpp:698
NetSendCmdGItem
void NetSendCmdGItem(BOOL bHiPri, BYTE bCmd, BYTE mast, BYTE pnum, BYTE ii)
Definition: msg.cpp:752
On_SETMAG
DWORD On_SETMAG(TCmd *pCmd, int pnum)
Definition: msg.cpp:2477
ParseCmd
DWORD ParseCmd(int pnum, TCmd *pCmd)
Definition: msg.cpp:982
On_KILLGOLEM
DWORD On_KILLGOLEM(TCmd *pCmd, int pnum)
Definition: msg.cpp:2091
On_OPOBJT
DWORD On_OPOBJT(TCmd *pCmd, int pnum)
Definition: msg.cpp:1851
On_SETSTR
DWORD On_SETSTR(TCmd *pCmd, int pnum)
Definition: msg.cpp:2453
TCmdGolem
Definition: structs.h:760
NetSendCmdParam3
void NetSendCmdParam3(BOOL bHiPri, BYTE bCmd, WORD wParam1, WORD wParam2, WORD wParam3)
Definition: msg.cpp:723
NetSendCmdLocParam1
void NetSendCmdLocParam1(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y, WORD wParam1)
Definition: msg.cpp:653
DeltaSaveLevel
void DeltaSaveLevel()
Definition: msg.cpp:451
On_REMSHIELD
DWORD On_REMSHIELD(TCmd *pCmd, int pnum)
Definition: msg.cpp:2603
NetSendCmdDelItem
void NetSendCmdDelItem(BOOL bHiPri, BYTE bLoc)
Definition: msg.cpp:904
On_HEALOTHER
DWORD On_HEALOTHER(TCmd *pCmd, int pnum)
Definition: msg.cpp:2024
On_DROPITEM
DWORD On_DROPITEM(TCmd *pCmd, int pnum)
Definition: msg.cpp:2310
delta_sync_object
void delta_sync_object(int oi, BYTE bCmd, BYTE bLevel)
Definition: msg.cpp:2206
On_GOTOGETITEM
DWORD On_GOTOGETITEM(TCmd *pCmd, int pnum)
Definition: msg.cpp:1392
DeltaExportItem
BYTE * DeltaExportItem(BYTE *dst, TCmdPItem *src)
Definition: msg.cpp:216
On_ADDSTR
DWORD On_ADDSTR(TCmd *pCmd, int pnum)
Definition: msg.cpp:1310
msg_pre_packet
void msg_pre_packet()
Definition: msg.cpp:158
DeltaAddItem
void DeltaAddItem(int ii)
Definition: msg.cpp:411
On_RETOWN
DWORD On_RETOWN(TCmd *pCmd, int pnum)
Definition: msg.cpp:2438
msg_send_packet
void msg_send_packet(int pnum, const void *packet, DWORD dwSize)
Definition: msg.cpp:39
On_WARP
DWORD On_WARP(TCmd *pCmd, int pnum)
Definition: msg.cpp:2059
On_PLAYER_JOINLEVEL
DWORD On_PLAYER_JOINLEVEL(TCmd *pCmd, int pnum)
Definition: msg.cpp:2339
msg_free_packets
void msg_free_packets()
Definition: msg.cpp:106
On_DLEVEL
DWORD On_DLEVEL(int pnum, TCmd *pCmd)
Definition: msg.cpp:1147
On_DISARMXY
DWORD On_DISARMXY(TCmd *pCmd, int pnum)
Definition: msg.cpp:1835
On_MONSTDAMAGE
DWORD On_MONSTDAMAGE(TCmd *pCmd, int pnum)
Definition: msg.cpp:2132
NetSendCmdLoc
void NetSendCmdLoc(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y)
Definition: msg.cpp:640
On_DELPLRITEMS
DWORD On_DELPLRITEMS(TCmd *pCmd, int pnum)
Definition: msg.cpp:2286
On_BREAKOBJ
DWORD On_BREAKOBJ(TCmd *pCmd, int pnum)
Definition: msg.cpp:2259
On_OPERATEOBJ
DWORD On_OPERATEOBJ(TCmd *pCmd, int pnum)
Definition: msg.cpp:2229
delta_close_portal
void delta_close_portal(int pnum)
Definition: msg.cpp:976
On_TSPELLID
DWORD On_TSPELLID(TCmd *pCmd, int pnum)
Definition: msg.cpp:1958
On_SPELLPID
DWORD On_SPELLPID(TCmd *pCmd, int pnum)
Definition: msg.cpp:1938
deltaload
BOOL deltaload
Definition: msg.cpp:25
On_AWAKEGOLEM
DWORD On_AWAKEGOLEM(TCmd *pCmd, int pnum)
Definition: msg.cpp:2106
NetSendCmdExtra
void NetSendCmdExtra(TCmdGItem *p)
Definition: msg.cpp:841
On_ADDDEX
DWORD On_ADDDEX(TCmd *pCmd, int pnum)
Definition: msg.cpp:1334
NetSendCmdLocParam3
void NetSendCmdLocParam3(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y, WORD wParam1, WORD wParam2, WORD wParam3)
Definition: msg.cpp:682
run_delta_info
void run_delta_info()
Definition: msg.cpp:148
On_REQUESTGITEM
DWORD On_REQUESTGITEM(TCmd *pCmd, int pnum)
Definition: msg.cpp:1405
NetSendCmdChItem
void NetSendCmdChItem(BOOL bHiPri, BYTE bLoc)
Definition: msg.cpp:887
NetSendCmdDItem
void NetSendCmdDItem(BOOL bHiPri, int ii)
Definition: msg.cpp:916
NetSendCmdQuest
void NetSendCmdQuest(BOOL bHiPri, BYTE q)
Definition: msg.cpp:737
delta_get_item
BOOL delta_get_item(TCmdGItem *pI, BYTE bLevel)
Definition: msg.cpp:1469
delta_quest_inited
BOOL delta_quest_inited(int i)
Definition: msg.cpp:406
On_AGETITEM
DWORD On_AGETITEM(TCmd *pCmd, int pnum)
Definition: msg.cpp:1564
On_SYNCQUEST
DWORD On_SYNCQUEST(TCmd *pCmd, int pnum)
Definition: msg.cpp:2517
delta_leave_sync
void delta_leave_sync(BYTE bLevel)
Definition: msg.cpp:373
On_RATTACKPID
DWORD On_RATTACKPID(TCmd *pCmd, int pnum)
Definition: msg.cpp:1905
On_PLRDEAD
DWORD On_PLRDEAD(TCmd *pCmd, int pnum)
Definition: msg.cpp:2154
delta_open_portal
void delta_open_portal(int pnum, BYTE x, BYTE y, BYTE bLevel, BYTE bLType, BYTE bSetLvl)
Definition: msg.cpp:2414
On_SETSHIELD
DWORD On_SETSHIELD(TCmd *pCmd, int pnum)
Definition: msg.cpp:2595
On_SATTACKXY
DWORD On_SATTACKXY(TCmd *pCmd, int pnum)
Definition: msg.cpp:1727
On_KNOCKBACK
DWORD On_KNOCKBACK(TCmd *pCmd, int pnum)
Definition: msg.cpp:1998
NetSendCmdString
void NetSendCmdString(int pmask, const char *pszStr)
Definition: msg.cpp:965
On_SETVIT
DWORD On_SETVIT(TCmd *pCmd, int pnum)
Definition: msg.cpp:2489
NetSendCmdReq2
BOOL NetSendCmdReq2(BYTE bCmd, BYTE mast, BYTE pnum, TCmdGItem *p)
Definition: msg.cpp:819
DeltaImportMonster
BYTE * DeltaImportMonster(BYTE *src, DMonsterStr *dst)
Definition: msg.cpp:1238
On_TALKXY
DWORD On_TALKXY(TCmd *pCmd, int pnum)
Definition: msg.cpp:2034
msg_send_drop_pkt
void msg_send_drop_pkt(int pnum, int reason)
Definition: msg.cpp:29
DeltaImportItem
BYTE * DeltaImportItem(BYTE *src, TCmdPItem *dst)
Definition: msg.cpp:1214
On_WALKXY
DWORD On_WALKXY(TCmd *pCmd, int pnum)
Definition: msg.cpp:1297
DeltaImportObject
BYTE * DeltaImportObject(BYTE *src, DObjectStr *dst)
Definition: msg.cpp:1232
delta_init
void delta_init()
Definition: msg.cpp:301
On_GETITEM
DWORD On_GETITEM(TCmd *pCmd, int pnum)
Definition: msg.cpp:1442
TCmdGItem
Definition: structs.h:778
On_OPENDOOR
DWORD On_OPENDOOR(TCmd *pCmd, int pnum)
Definition: msg.cpp:2191
On_ITEMEXTRA
DWORD On_ITEMEXTRA(TCmd *pCmd, int pnum)
Definition: msg.cpp:1591
On_ACTIVATEPORTAL
DWORD On_ACTIVATEPORTAL(TCmd *pCmd, int pnum)
Definition: msg.cpp:2382
On_CHEAT_SPELL_LEVEL
DWORD On_CHEAT_SPELL_LEVEL(TCmd *pCmd, int pnum)
Definition: msg.cpp:2562
NetSendCmdParam2
void NetSendCmdParam2(BOOL bHiPri, BYTE bCmd, WORD wParam1, WORD wParam2)
Definition: msg.cpp:710
On_SEND_PLRINFO
DWORD On_SEND_PLRINFO(TCmd *pCmd, int pnum)
Definition: msg.cpp:2322
On_OPOBJXY
DWORD On_OPOBJXY(TCmd *pCmd, int pnum)
Definition: msg.cpp:1819
delta_kill_monster
void delta_kill_monster(int mi, BYTE x, BYTE y, BYTE bLevel)
Definition: msg.cpp:310
delta_monster_hp
void delta_monster_hp(int mi, int hp, BYTE bLevel)
Definition: msg.cpp:324
delta_portal_inited
BOOL delta_portal_inited(int i)
Definition: msg.cpp:401
On_SBSPELL
DWORD On_SBSPELL(TCmd *pCmd, int pnum)
Definition: msg.cpp:1358
NetSendCmd
void NetSendCmd(BOOL bHiPri, BYTE bCmd)
Definition: msg.cpp:615
On_TSPELLXY
DWORD On_TSPELLXY(TCmd *pCmd, int pnum)
Definition: msg.cpp:1798
NetSendCmdLocParam2
void NetSendCmdLocParam2(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y, WORD wParam1, WORD wParam2)
Definition: msg.cpp:667
DeltaExportJunk
BYTE * DeltaExportJunk(BYTE *dst)
Definition: msg.cpp:258
TSyncMonster
Definition: structs.h:883
i_own_level
BOOL i_own_level(int nReqLevel)
Definition: msg.cpp:1427
NetSendCmdGItem2
void NetSendCmdGItem2(BOOL usonly, BYTE bCmd, BYTE mast, BYTE pnum, TCmdGItem *p)
Definition: msg.cpp:793
msg_comp_level
int msg_comp_level(BYTE *buffer, BYTE *end)
Definition: msg.cpp:290
On_SPELLXY
DWORD On_SPELLXY(TCmd *pCmd, int pnum)
Definition: msg.cpp:1777
On_MONSTDEATH
DWORD On_MONSTDEATH(TCmd *pCmd, int pnum)
Definition: msg.cpp:2076
msg_wait_resync
BOOL msg_wait_resync()
Definition: msg.cpp:74
On_SPELLXYD
DWORD On_SPELLXYD(TCmd *pCmd, int pnum)
Definition: msg.cpp:1755
On_RATTACKXY
DWORD On_RATTACKXY(TCmd *pCmd, int pnum)
Definition: msg.cpp:1741
On_STRING2
DWORD On_STRING2(int pnum, TCmd *pCmd)
Definition: msg.cpp:2506
On_GOTOAGETITEM
DWORD On_GOTOAGETITEM(TCmd *pCmd, int pnum)
Definition: msg.cpp:1529
On_PLRLEVEL
DWORD On_PLRLEVEL(TCmd *pCmd, int pnum)
Definition: msg.cpp:2298
gbBufferMsgs
BYTE gbBufferMsgs
Definition: msg.cpp:26
On_SYNCDATA
DWORD On_SYNCDATA(TCmd *pCmd, int pnum)
Definition: msg.cpp:1292
msg_wait_for_turns
int msg_wait_for_turns()
Definition: msg.cpp:115
On_ADDVIT
DWORD On_ADDVIT(TCmd *pCmd, int pnum)
Definition: msg.cpp:1346
On_ATTACKID
DWORD On_ATTACKID(TCmd *pCmd, int pnum)
Definition: msg.cpp:1863
On_RESURRECT
DWORD On_RESURRECT(TCmd *pCmd, int pnum)
Definition: msg.cpp:2010
TCmd
Definition: structs.h:708
On_DEBUG
DWORD On_DEBUG(TCmd *pCmd, int pnum)
Definition: msg.cpp:2573
delta_sync_monster
void delta_sync_monster(const TSyncMonster *pSync, BYTE bLevel)
Definition: msg.cpp:336
On_ACK_PLRINFO
DWORD On_ACK_PLRINFO(TCmd *pCmd, int pnum)
Definition: msg.cpp:2334
On_ADDMAG
DWORD On_ADDMAG(TCmd *pCmd, int pnum)
Definition: msg.cpp:1322
DeltaExportObject
BYTE * DeltaExportObject(BYTE *dst, DObjectStr *src)
Definition: msg.cpp:234
On_TSPELLPID
DWORD On_TSPELLPID(TCmd *pCmd, int pnum)
Definition: msg.cpp:1978
msg_get_next_packet
void msg_get_next_packet()
Definition: msg.cpp:59
On_NOVA
DWORD On_NOVA(TCmd *pCmd, int pnum)
Definition: msg.cpp:2578
delta_sync_golem
void delta_sync_golem(TCmdGolem *pG, int pnum, BYTE bLevel)
Definition: msg.cpp:357
On_DEACTIVATEPORTAL
DWORD On_DEACTIVATEPORTAL(TCmd *pCmd, int pnum)
Definition: msg.cpp:2424
On_SPELLID
DWORD On_SPELLID(TCmd *pCmd, int pnum)
Definition: msg.cpp:1918
NetSendCmdGolem
void NetSendCmdGolem(BYTE mx, BYTE my, BYTE dir, BYTE menemy, int hp, BYTE cl)
Definition: msg.cpp:626
On_CLOSEDOOR
DWORD On_CLOSEDOOR(TCmd *pCmd, int pnum)
Definition: msg.cpp:2214
DMonsterStr
Definition: structs.h:910
On_RATTACKID
DWORD On_RATTACKID(TCmd *pCmd, int pnum)
Definition: msg.cpp:1892
On_SYNCPUTITEM
DWORD On_SYNCPUTITEM(TCmd *pCmd, int pnum)
Definition: msg.cpp:1673
On_ATTACKPID
DWORD On_ATTACKPID(TCmd *pCmd, int pnum)
Definition: msg.cpp:1879
DObjectStr
Definition: structs.h:919
DeltaExportData
void DeltaExportData(int pnum)
Definition: msg.cpp:190
TCmdPItem
Definition: structs.h:799
DeltaLoadLevel
void DeltaLoadLevel()
Definition: msg.cpp:465
On_CHEAT_EXPERIENCE
DWORD On_CHEAT_EXPERIENCE(TCmd *pCmd, int pnum)
Definition: msg.cpp:2549
On_REQUESTAGITEM
DWORD On_REQUESTAGITEM(TCmd *pCmd, int pnum)
Definition: msg.cpp:1542
dwRecCount
int dwRecCount
Definition: msg.cpp:27
msg_errorf
void msg_errorf(const char *pszFmt,...)
Definition: msg.cpp:1375
On_RESPAWNITEM
DWORD On_RESPAWNITEM(TCmd *pCmd, int pnum)
Definition: msg.cpp:1696
On_NEWLVL
DWORD On_NEWLVL(TCmd *pCmd, int pnum)
Definition: msg.cpp:2047
DeltaImportJunk
void DeltaImportJunk(BYTE *src)
Definition: msg.cpp:1256
DeltaImportData
void DeltaImportData(BYTE cmd, DWORD recv_offset)
Definition: msg.cpp:1190
On_STRING
DWORD On_STRING(TCmd *pCmd, int pnum)
Definition: msg.cpp:2501
check_update_plr
void check_update_plr(int pnum)
Definition: msg.cpp:1667
On_PLRDAMAGE
DWORD On_PLRDAMAGE(TCmd *pCmd, int pnum)
Definition: msg.cpp:2168
delta_put_item
void delta_put_item(TCmdPItem *pI, int x, int y, BYTE bLevel)
Definition: msg.cpp:1633
On_CHANGEPLRITEMS
DWORD On_CHANGEPLRITEMS(TCmd *pCmd, int pnum)
Definition: msg.cpp:2274
On_PUTITEM
DWORD On_PUTITEM(TCmd *pCmd, int pnum)
Definition: msg.cpp:1606
On_ATTACKXY
DWORD On_ATTACKXY(TCmd *pCmd, int pnum)
Definition: msg.cpp:1713
DeltaExportMonster
BYTE * DeltaExportMonster(BYTE *dst, DMonsterStr *src)
Definition: msg.cpp:240
On_SETDEX
DWORD On_SETDEX(TCmd *pCmd, int pnum)
Definition: msg.cpp:2465