From ce4dfd02633cfb1fa82b603f3d7af1a89a0fcb97 Mon Sep 17 00:00:00 2001 From: Michael Levin Date: Sat, 3 Oct 2009 11:21:01 +0000 Subject: * Started updating infopanes with Badger, need to do more * Fixed a bug where regular Basilisk would not heal faster by a booster sometimes (found thanks to new GUI indicator!) * Un-reverted Lucifer Cannon sound heard by others, with Norf's blessing * Added a Help menu listing mod changes and other stuff (ESC -> Help), edit ui/help.txt * Human HUD item list will now wrap around so that it never hides items, also made it a little wider GUI cross changes: * Human GUI health cross glows when medkit is active * Alien GUI health cross glows when on creep * Double, triple healing rates show as multiple crosses --- ui/ingame.menu | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) (limited to 'ui/ingame.menu') diff --git a/ui/ingame.menu b/ui/ingame.menu index 90b4cf12..2c8981fa 100644 --- a/ui/ingame.menu +++ b/ui/ingame.menu @@ -1,9 +1,9 @@ #include "ui/menudef.h" { -#define BUTT_BAR_X 35 +#define BUTT_BAR_X 50 #define BUTT_BAR_Y 0 -#define BUTT_BAR_W 235 +#define BUTT_BAR_W 150 #define BUTT_BAR_H 56 #define BUTT_W (BUTT_BAR_W/3) #define BUTT_H BUTT_BAR_H @@ -68,7 +68,7 @@ rect BUTT_BAR_X BUTT_BAR_Y BUTT_W BUTT_H type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY - textalign ALIGN_RIGHT + textalign ALIGN_CENTER textvalign VALIGN_CENTER textalignx -BUTT_TEXT_S textscale .4 @@ -103,11 +103,31 @@ itemDef { name leave - text "Exit" + text "Help" type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY rect (BUTT_BAR_X+(2*BUTT_W)) BUTT_BAR_Y BUTT_W BUTT_H - textalign ALIGN_LEFT + textalign ALIGN_CENTER + textvalign VALIGN_CENTER + textalignx BUTT_TEXT_S + textscale .4 + forecolor 1 1 1 1 + visible MENU_TRUE + action + { + play "sound/misc/menu1.wav"; + open ingame_help + } + } + + itemDef + { + name leave + text "Exit" + type ITEM_TYPE_BUTTON + style WINDOW_STYLE_EMPTY + rect (BUTT_BAR_X+(3*BUTT_W)) BUTT_BAR_Y BUTT_W BUTT_H + textalign ALIGN_CENTER textvalign VALIGN_CENTER textalignx BUTT_TEXT_S textscale .4 -- cgit