| 222 | } |
| 223 | |
| 224 | SWBOOL 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 | |
| 235 | void DrawBorderShade(PLAYERp pp, short shade_num, short wx1, short wy1, short wx2, short wy2) |
| 236 | { |
no outgoing calls
no test coverage detected