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

Function DRLG_SetPC

Source/gendung.cpp:233–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233void DRLG_SetPC()
234{
235 int i, j, x, y, w, h;
236
237 w = 2 * setpc_w;
238 h = 2 * setpc_h;
239 x = 2 * setpc_x + 16;
240 y = 2 * setpc_y + 16;
241
242 for (j = 0; j < h; j++) {
243 for (i = 0; i < w; i++) {
244 dFlags[i + x][j + y] |= 8;
245 }
246 }
247}
248
249#ifndef SPAWN
250void Make_SetPC(int x, int y, int w, int h)

Callers 4

CreateL5DungeonFunction · 0.85
CreateL4DungeonFunction · 0.85
CreateL2DungeonFunction · 0.85
CreateL3DungeonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected