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

Function Make_SetPC

Source/gendung.cpp:250–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248
249#ifndef SPAWN
250void Make_SetPC(int x, int y, int w, int h)
251{
252 int i, j, dx, dy, dh, dw;
253
254 dw = 2 * w;
255 dh = 2 * h;
256 dx = 2 * x + 16;
257 dy = 2 * y + 16;
258
259 for (j = 0; j < dh; j++) {
260 for (i = 0; i < dw; i++) {
261 dFlags[i + dx][j + dy] |= 8;
262 }
263 }
264}
265
266BOOL DRLG_WillThemeRoomFit(int floor, int x, int y, int minSize, int maxSize, int *width, int *height)
267{

Callers 1

DRLG_L4Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected