From 051ef1cc65bce8f0e3b11908942d6af6d3322720 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 19 Sep 2002 02:55:13 +0000 Subject: * Renamed MCU to armoury in keeping with the source --- ui/tremulous.txt | 6 ++-- ui/tremulous_humanarmoury.menu | 63 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 3 deletions(-) create mode 100644 ui/tremulous_humanarmoury.menu (limited to 'ui') diff --git a/ui/tremulous.txt b/ui/tremulous.txt index 1bb7b9d8..b38f6b24 100644 --- a/ui/tremulous.txt +++ b/ui/tremulous.txt @@ -8,9 +8,9 @@ loadMenu { "ui/tremulous_alienbuild.menu" } loadMenu { "ui/tremulous_humanbuild.menu" } - loadMenu { "ui/tremulous_humanmcu.menu" } - loadMenu { "ui/tremulous_humanmcubuy.menu" } - loadMenu { "ui/tremulous_humanmcusell.menu" } + loadMenu { "ui/tremulous_humanarmoury.menu" } + loadMenu { "ui/tremulous_humanarmourybuy.menu" } + loadMenu { "ui/tremulous_humanarmourysell.menu" } loadMenu { "ui/tremulous_alienbank.menu" } loadMenu { "ui/tremulous_humanbank.menu" } diff --git a/ui/tremulous_humanarmoury.menu b/ui/tremulous_humanarmoury.menu new file mode 100644 index 00000000..0fb8e0b8 --- /dev/null +++ b/ui/tremulous_humanarmoury.menu @@ -0,0 +1,63 @@ +#include "ui/menudef.h" + +{ + menuDef + { + name "tremulous_humanarmoury" + visible 0 + fullscreen 0 + outOfBoundsClick + rect 256 208 128 64 + focusColor 1 .75 0 1 + style 1 + popup + + itemDef + { + name window + rect 0 0 128 64 + style WINDOW_STYLE_FILLED + backcolor 0 0 0 1 + visible 1 + decoration + + border WINDOW_BORDER_FULL + borderSize 1.0 + borderColor 0.5 0.5 0.5 1 + } + + itemDef + { + name humanarmoury + text "Buy..." + type ITEM_TYPE_BUTTON + style WINDOW_STYLE_EMPTY + rect 8 8 56 56 + textalign ITEM_ALIGN_LEFT + textalignx 12 + textaligny 32 + textscale .4 + forecolor 1 1 1 1 + backcolor 0.0784314 0.14902 0.32549 .25 + visible 1 + action { close tremulous_humanarmoury; open tremulous_humanarmourybuy } + } + + itemDef + { + name humanarmoury + text "Sell..." + type ITEM_TYPE_BUTTON + style WINDOW_STYLE_EMPTY + rect 64 8 56 56 + textalign ITEM_ALIGN_LEFT + textalignx 12 + textaligny 32 + textscale .4 + forecolor 1 1 1 1 + backcolor 0.0784314 0.14902 0.32549 .25 + visible 1 + action { close tremulous_humanarmoury; open tremulous_humanarmourysell } + } + } +} -- cgit