Nuclide
Software Development Kit for id Tech
crosshair.h File Reference

Go to the source code of this file.

Functions

vector Cross_GetPos (vector sizeXY)
 Returns the end-coordinates for a crosshair of a given size. More...
 
void Cross_Draw (string materialPath, vector sizeXY)
 Draws a crosshair on the screen with the desired material and size. More...
 
void Cross_DrawRGB (string materialPath, vector sizeXY, vector colorRGB)
 Draw a given crosshair on the screen, with variable color. More...
 
void Cross_DrawRGBA (string materialPath, vector sizeXY, vector colorRGB, float alphaValue)
 Draw a given crosshair on the screen, with variable color and alpha. More...
 
void Cross_DrawSub (string materialPath, vector sizeXY, vector sourcePosXY, vector sourceSizeXY)
 Draw a given crosshair on the screen, of only a section from a material. More...
 
void Cross_DrawSubRGB (string materialPath, vector sizeXY, vector sourcePosXY, vector sourceSizeXY, vector colorRGB)
 Draw a given crosshair on the screen, of only a section from a material, with variable color. More...
 
void Cross_DrawSubRGBA (string materialPath, vector sizeXY, vector sourcePosXY, vector sourceSizeXY, vector colorRGB, float alphaValue)
 Draw a given crosshair on the screen, of only a section from a material, with variable color/alpha. More...