MCPcopy Create free account
hub / github.com/NBlood/NBlood / RectOverlap

Function RectOverlap

source/sw/src/border.cpp:224–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224SWBOOL RectOverlap(short tx1, short ty1, short bx1, short by1, short tx2, short ty2, short bx2, short by2)
225{
226 if (bx1 >= tx2)
227 if (tx1 <= bx2)
228 if (ty1 <= by2)
229 if (by1 >= ty2)
230 return TRUE;
231
232 return FALSE;
233}
234
235void DrawBorderShade(PLAYERp pp, short shade_num, short wx1, short wy1, short wx2, short wy2)
236{

Callers 3

DrawBorderShadeFunction · 0.85
DrawBorderFunction · 0.85
DrawPanelBorderSidesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected