mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-26 22:44:30 -04:00
move secret message higher, don't disable crosshair (#1607)
This commit is contained in:
parent
e14506c312
commit
57c2b98999
@ -140,24 +140,26 @@ static hu_multiline_t w_rate;
|
|||||||
#define MAX_WIDGETS_D 5
|
#define MAX_WIDGETS_D 5
|
||||||
#define MAX_WIDGETS_B 12
|
#define MAX_WIDGETS_B 12
|
||||||
|
|
||||||
|
#define W_SECRET_Y ((SCREENHEIGHT - ST_HEIGHT) / 4)
|
||||||
|
|
||||||
static hu_widget_t doom_widgets[MAX_HUDS][MAX_WIDGETS_D] = {
|
static hu_widget_t doom_widgets[MAX_HUDS][MAX_WIDGETS_D] = {
|
||||||
{
|
{
|
||||||
{&w_title, align_direct, align_bottom, 0},
|
{&w_title, align_direct, align_bottom, 0},
|
||||||
{&w_message, align_direct, align_top, 0},
|
{&w_message, align_direct, align_top, 0},
|
||||||
{&w_chat, align_direct, align_top, 0},
|
{&w_chat, align_direct, align_top, 0},
|
||||||
{&w_secret, align_center, align_direct, 0, 84},
|
{&w_secret, align_center, align_direct, 0, W_SECRET_Y},
|
||||||
{NULL}
|
{NULL}
|
||||||
}, {
|
}, {
|
||||||
{&w_title, align_direct, align_bottom, 0},
|
{&w_title, align_direct, align_bottom, 0},
|
||||||
{&w_message, align_direct, align_top, 0},
|
{&w_message, align_direct, align_top, 0},
|
||||||
{&w_chat, align_direct, align_top, 0},
|
{&w_chat, align_direct, align_top, 0},
|
||||||
{&w_secret, align_center, align_direct, 0, 84},
|
{&w_secret, align_center, align_direct, 0, W_SECRET_Y},
|
||||||
{NULL}
|
{NULL}
|
||||||
}, {
|
}, {
|
||||||
{&w_title, align_direct, align_bottom, 0},
|
{&w_title, align_direct, align_bottom, 0},
|
||||||
{&w_message, align_direct, align_top, 0},
|
{&w_message, align_direct, align_top, 0},
|
||||||
{&w_chat, align_direct, align_top, 0},
|
{&w_chat, align_direct, align_top, 0},
|
||||||
{&w_secret, align_center, align_direct, 0, 84},
|
{&w_secret, align_center, align_direct, 0, W_SECRET_Y},
|
||||||
{NULL}
|
{NULL}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -1438,8 +1440,7 @@ void HU_DrawCrosshair(void)
|
|||||||
if (plr->playerstate != PST_LIVE ||
|
if (plr->playerstate != PST_LIVE ||
|
||||||
automapactive ||
|
automapactive ||
|
||||||
menuactive ||
|
menuactive ||
|
||||||
paused ||
|
paused)
|
||||||
secret_on)
|
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user