MCPcopy Create free account
hub / github.com/diasurgical/devilution / NetSendCmdGolem

Function NetSendCmdGolem

Source/msg.cpp:623–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621}
622
623void NetSendCmdGolem(BYTE mx, BYTE my, BYTE dir, BYTE menemy, int hp, BYTE cl)
624{
625 TCmdGolem cmd;
626
627 cmd.bCmd = CMD_AWAKEGOLEM;
628 cmd._mx = mx;
629 cmd._my = my;
630 cmd._mdir = dir;
631 cmd._menemy = menemy;
632 cmd._mhitpoints = hp;
633 cmd._currlevel = cl;
634 NetSendLoPri((BYTE *)&cmd, sizeof(cmd));
635}
636
637void NetSendCmdLoc(BOOL bHiPri, BYTE bCmd, BYTE x, BYTE y)
638{

Callers 1

SpawnGolumFunction · 0.85

Calls 1

NetSendLoPriFunction · 0.85

Tested by

no test coverage detected