Ok I am working on a fps that I am going to opensource and try to get some cool functions, but I need help, first things first Is there a way I can mask an image if its outside of lets say a cricle or rectangle? Second thing I have a somewhat working minimap and i need help, i want it to be realated to the map ( say object id is 99) and my camera ( object id 0) and that the top left is the top left of the map ( bsp ). Thanks in advance...
Minimap:
void updateHUD ()
{
//MAP
dbPasteImage (7, dbScreenWidth( ) / 2 - 290 , dbScreenHeight( ) / 2 + 100 , 1 );
dbPasteImage (8, dbScreenWidth( ) / 2 - dbGetImageWidth(7) - 145 - dbCameraPositionX(0), dbScreenHeight( ) / 2 + dbGetImageHeight(7) + 50 + dbCameraPositionZ(0) , 1 );
}
Rendetion a farcry from DarkGDK