mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-04 12:50:57 +00:00
SW: Draw the crosshair actually centered
Thanks to Striker for the tip. git-svn-id: https://svn.eduke32.com/eduke32@8524 1a8010ca-5511-0410-912e-c29ae57300e0 # Conflicts: # source/sw/src/draw.cpp
This commit is contained in:
parent
91cbaa1491
commit
ae94566fb5
1 changed files with 2 additions and 3 deletions
|
@ -1633,10 +1633,9 @@ void DrawCrosshair(PLAYERp pp)
|
||||||
|
|
||||||
{
|
{
|
||||||
//NORMALXHAIR:
|
//NORMALXHAIR:
|
||||||
rotatesprite(CrosshairX, CrosshairY, (1 << 16), 0,
|
rotatesprite(160<<16, 100<<16, (1 << 16), 0,
|
||||||
2326, 10, 0,
|
2326, 10, 0,
|
||||||
//ROTATE_SPRITE_VIEW_CLIP|ROTATE_SPRITE_CORNER, 0, 0, xdim - 1, ydim - 1);
|
ROTATE_SPRITE_VIEW_CLIP, windowxy1.x, windowxy1.y, windowxy2.x, windowxy2.y);
|
||||||
ROTATE_SPRITE_SCREEN_CLIP|ROTATE_SPRITE_CORNER, 0, 0, xdim - 1, ydim - 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//#define TITLE_ROT_FLAGS (ROTATE_SPRITE_CORNER|ROTATE_SPRITE_SCREEN_CLIP|ROTATE_SPRITE_NON_MASK)
|
//#define TITLE_ROT_FLAGS (ROTATE_SPRITE_CORNER|ROTATE_SPRITE_SCREEN_CLIP|ROTATE_SPRITE_NON_MASK)
|
||||||
|
|
Loading…
Reference in a new issue