diff options
author | M. Kristall <mkpdev@gmail.com> | 2010-02-26 22:25:18 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:28 +0000 |
commit | 9b23dbcd3a86aeca7685d779e9c8b70abf3fbc50 (patch) | |
tree | 42166eb39e4235951e7ac5403ce9ff9b09142558 /assets/ui | |
parent | e17c99932a785f0d1548f1b98c8ca93cc0c97eb6 (diff) |
* Separate namelog from admin
* Client to namelog mapping
* Merge mute, denybuild, ptr in namelog; remove ptr
Diffstat (limited to 'assets/ui')
-rw-r--r-- | assets/ui/ptrc.menu | 109 |
1 files changed, 0 insertions, 109 deletions
diff --git a/assets/ui/ptrc.menu b/assets/ui/ptrc.menu deleted file mode 100644 index f4785f33..00000000 --- a/assets/ui/ptrc.menu +++ /dev/null @@ -1,109 +0,0 @@ -#include "ui/menudef.h" - -{ - // PTRC POPUP MENU // - -#define W 280 -#define H 140 -#define BORDER 10 - -#define BUTT_H 25 -#define BUTT_W 45 - -#define INFO_W (W-(2*BORDER)) -#define INFO_H (H-((3*BORDER)+BUTT_H)) -#define INFO_X BORDER -#define INFO_Y BORDER - - menuDef - { - name "ptrc_popmenu" - visible MENU_FALSE - fullscreen MENU_FALSE - rect (320-(W/2)) (240-(H/2)) W H - focusColor 1 .75 0 1 - style WINDOW_STYLE_FILLED - border WINDOW_BORDER_FULL - popup - onESC - { - play "sound/misc/menu1.wav"; - close ptrc_popmenu - } - - - itemDef - { - name window - rect 0 0 W H - style WINDOW_STYLE_FILLED - backcolor 0 0 0 1 - visible MENU_TRUE - decoration - - border WINDOW_BORDER_FULL - borderSize 1.0 - borderColor 0.5 0.5 0.5 1 - } - - - // PTRC // - - itemDef - { - name confirm - type ITEM_TYPE_TEXT - text "It seems that you disconnected during this game. Would you like to be restored to your previous state?" - style WINDOW_STYLE_EMPTY - textscale .4 - textstyle WINDOW_STYLE_SHADER - rect INFO_X INFO_Y INFO_W INFO_H - textalign ALIGN_CENTER - textvalign VALIGN_CENTER - decoration - wrapped - forecolor 1 1 1 1 - visible MENU_TRUE - } - - itemDef - { - name yes - text "YES" - type ITEM_TYPE_BUTTON - textscale .4 - rect (W-((2*BORDER)+(2*BUTT_W))) (H-(BORDER+BUTT_H)) BUTT_W BUTT_H - textalign ALIGN_CENTER - textvalign VALIGN_CENTER - forecolor 1 1 1 1 - visible MENU_TRUE - action - { - play "sound/misc/menu4.wav"; - uiScript PTRCRestore; - close ptrc_popmenu - } - } - - - itemDef - { - name no - text "NO" - type ITEM_TYPE_BUTTON - textscale .4 - rect (W-(BORDER+BUTT_W)) (H-(BORDER+BUTT_H)) BUTT_W BUTT_H - textalign ALIGN_CENTER - textvalign VALIGN_CENTER - forecolor 1 1 1 1 - visible MENU_TRUE - action - { - play "sound/misc/menu1.wav"; - close ptrc_popmenu - } - } - } -} - - |