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

Function PlaceMonster

Source/monster.cpp:540–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538}
539
540void PlaceMonster(int i, int mtype, int x, int y)
541{
542 int rd;
543
544 dMonster[x][y] = i + 1;
545
546 rd = random_(90, 8);
547 InitMonster(i, rd, mtype, x, y);
548}
549
550#ifndef SPAWN
551void PlaceUniqueMonst(int uniqindex, int miniontype, int unpackfilesize)

Callers 3

PlaceUniqueMonstFunction · 0.85
PlaceGroupFunction · 0.85
SetMapMonstersFunction · 0.85

Calls 2

random_Function · 0.85
InitMonsterFunction · 0.85

Tested by

no test coverage detected