From 9b23dbcd3a86aeca7685d779e9c8b70abf3fbc50 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Fri, 26 Feb 2010 22:25:18 +0000 Subject: * Separate namelog from admin * Client to namelog mapping * Merge mute, denybuild, ptr in namelog; remove ptr --- assets/ui/ptrc.menu | 109 ---------------------------------------------------- 1 file changed, 109 deletions(-) delete mode 100644 assets/ui/ptrc.menu (limited to 'assets') 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 - } - } - } -} - - -- cgit