I know there is a way around the GL DrawRect, but is there a way around the DX7 graphicmode???
Also if there a way to do a RectOverlap?? like there was in Blitz3D??
Function RectsCol:Int (x1:Int , y1:Int , w1:Int , h1:Int , x2:Int , y2:Int , w2:Int , h2:Int )
If x1+w1>x2 And x1<x2+w2
If y1+h1>y2 And y1<y2+h2
Return True
EndIf
EndIf
Return False
End Function
Or:
Function RectOverlap:Int ( Image:Timage, X:Int, Y:Int, Image2:TImage, X2:Int, Y2:Int )
If X>X2-1 and Y>Y2-1
If X<X2+ImageWidth( Image2 ) and Y<Y2+ImageHeight( Image2 ) then Return True
Endif
Return False
End Function