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

Function DRLG_RectTrans

Source/gendung.cpp:176–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void DRLG_RectTrans(int x1, int y1, int x2, int y2)
177{
178 int i, j;
179
180 for (j = y1; j <= y2; j++) {
181 for (i = x1; i <= x2; i++) {
182 dTransVal[i][j] = TransVal;
183 }
184 }
185 TransVal++;
186}
187
188void DRLG_CopyTrans(int sx, int sy, int dx, int dy)
189{

Callers 4

DrawButcherFunction · 0.85
DRLG_ListTransFunction · 0.85
DRLG_AreaTransFunction · 0.85
DRLG_PlaceThemeRoomsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected