summaryrefslogtreecommitdiff
path: root/ui/ingame.menu
diff options
context:
space:
mode:
authorMichael Levin <risujin@fastmail.fm>2009-10-03 11:21:01 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:14:54 +0000
commitce4dfd02633cfb1fa82b603f3d7af1a89a0fcb97 (patch)
tree103e783cd11e6bbdb0a77b9b6d7532b9f5820362 /ui/ingame.menu
parent8a36ffb80b9ee398a6b21f6e1f937f2527ae9cce (diff)
* 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
Diffstat (limited to 'ui/ingame.menu')
-rw-r--r--ui/ingame.menu30
1 files changed, 25 insertions, 5 deletions
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