
/* #Hikitu
$[
    1.063,
    ["respawnTool",[[0,0,1,1],0.025,0.04,"GUI_GRID"],0,1,0],
    [1800,"respawnGroupFrame",[1,"",["0.238065 * safezoneW + safezoneX","0.3174 * safezoneH + safezoneY","0.510469 * safezoneW","0.484 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [1500,"deadPlayersListBox",[1,"",["0.25147 * safezoneW + safezoneX","0.401 * safezoneH + safezoneY","0.139219 * safezoneW","0.308 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","1"],[]],
    [1501,"groupListBox",[1,"",["0.468031 * safezoneW + safezoneX","0.401 * safezoneH + safezoneY","0.20625 * safezoneW","0.308 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [1000,"waveRespawnTitle",[1,"Wave Respawn Tool",["0.247344 * safezoneW + safezoneX","0.313 * safezoneH + safezoneY","0.128906 * safezoneW","0.044 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [1600,"respawneMenuAddButton",[1,"Add",["0.407199 * safezoneW + safezoneX","0.4494 * safezoneH + safezoneY","0.04125 * safezoneW","0.055 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [1601,"respawnMenuRemoteButton",[1,"Remove",["0.407199 * safezoneW + safezoneX","0.5286 * safezoneH + safezoneY","0.04125 * safezoneW","0.055 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [1602,"respawnMenuSpawnButton",[1,"Spawn Group",["0.587656 * safezoneW + safezoneX","0.731 * safezoneH + safezoneY","0.0773437 * safezoneW","0.044 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [1603,"respawnMenuChangeRoleButton",[1,"Change Role",["0.684594 * safezoneW + safezoneX","0.445 * safezoneH + safezoneY","0.0567187 * safezoneW","0.055 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [1604,"respawnMenuChangeRankButton",[1,"Change Rank",["0.684594 * safezoneW + safezoneX","0.544 * safezoneH + safezoneY","0.0567187 * safezoneW","0.055 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [1001,"respawnMenuGroupNameText",[1,"INSERT_GROUP_NAME",["0.469062 * safezoneW + safezoneX","0.346 * safezoneH + safezoneY","0.108281 * safezoneW","0.033 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [1002,"respawnMenuMarkerName",[1,"INSERT_MARKER_NAME",["0.417509 * safezoneW + safezoneX","0.7376 * safezoneH + safezoneY","0.108281 * safezoneW","0.033 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [2800,"respawnMenuGroupMarkerCheckbox",[1,"Give group Marker",["0.381416 * safezoneW + safezoneX","0.742 * safezoneH + safezoneY","0.0103125 * safezoneW","0.022 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [1003,"respawnMenuSpawnMarkerText",[1,"Spawn with Marker?",["0.27623 * safezoneW + safezoneX","0.731 * safezoneH + safezoneY","0.113437 * safezoneW","0.044 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [2100,"respawnMenuSideCombo",[1,"Side",["0.5825 * safezoneW + safezoneX","0.335 * safezoneH + safezoneY","0.0876563 * safezoneW","0.022 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [1004,"respawnMenuPlayersText",[1,"Players in Spectator: 0",["0.2525 * safezoneW + safezoneX","0.368 * safezoneH + safezoneY","0.108281 * safezoneW","0.033 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [1605,"RscCloseButton",[1,"Close",["0.716563 * safezoneW + safezoneX","0.3196 * safezoneH + safezoneY","0.0309375 * safezoneW","0.022 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [2101,"",[1,"Side",["0.396792 * safezoneW + safezoneX","0.616422 * safezoneH + safezoneY","0.0670312 * safezoneW","0.022 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [2102,"",[1,"Side",["0.397248 * safezoneW + safezoneX","0.663533 * safezoneH + safezoneY","0.0670312 * safezoneW","0.022 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [1606,"respawnMenuVOIP",[1,"Toggle Spectator VOIP",["0.365937 * safezoneW + safezoneX","0.346 * safezoneH + safezoneY","0.0979687 * safezoneW","0.022 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"Toggles the spectator channel for you (ACRE/TFAR), so that you can talk to dead players if alive.","-1"],[]],
    [2103,"",[1,"Side",["0.5825 * safezoneW + safezoneX","0.368 * safezoneH + safezoneY","0.0876563 * safezoneW","0.022 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]],
    [2104,"",[1,"Side",["0.675312 * safezoneW + safezoneX","0.357 * safezoneH + safezoneY","0.0567187 * safezoneW","0.022 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]]
]
*/



class respawnMenuDialog {
    idd = 26893;
    movingEnable = 0;
    onLoad="['onLoad'] spawn tfd_respawn_fnc_handleRespawnUI;";
    class controlsBackground {};
    class objects {};
    class controls { 
        class respawnGroupFrame: respawnMenu_RscFrame {
            idc = -1;
            x = 0.238065 * safezoneW + safezoneX;
            y = 0.3174 * safezoneH + safezoneY;
            w = 0.510469 * safezoneW;
            h = 0.484 * safezoneH;
        };
        class deadPlayersListBox: respawnMenu_RscListbox {
            idc = 26891;
            x = 0.25147 * safezoneW + safezoneX;
            y = 0.401 * safezoneH + safezoneY;
            w = 0.139219 * safezoneW;
            h = 0.308 * safezoneH;
        };
        class groupListBox: respawnMenu_RscListbox {
            idc = 26892;
            x = 0.468031 * safezoneW + safezoneX;
            y = 0.401 * safezoneH + safezoneY;
            w = 0.20625 * safezoneW;
            h = 0.308 * safezoneH;
        };
        class waveRespawnTitle: respawnMenu_RscText {
            idc = 1000;
            text = "Wave Respawn Tool";
            x = 0.247344 * safezoneW + safezoneX;
            y = 0.313 * safezoneH + safezoneY;
            w = 0.128906 * safezoneW;
            h = 0.044 * safezoneH;
        };
        class respawnMenuAddButton: respawnMenu_RscButton {
            idc = 1600;
            text = "Add";
            x = 0.407199 * safezoneW + safezoneX;
            y = 0.467 * safezoneH + safezoneY;
            w = 0.04125 * safezoneW;
            h = 0.055 * safezoneH;
            action="['respawnMenuAddAction'] spawn tfd_respawn_fnc_handleRespawnUI";
        };
        class respawnMenuRemoveButton: respawnMenu_RscButton {
            idc = 1601;
            text = "Remove";
            x = 0.407199 * safezoneW + safezoneX;
            y = 0.544 * safezoneH + safezoneY;
            w = 0.04125 * safezoneW;
            h = 0.055 * safezoneH;
            action="['respawnMenuRemoveAction'] spawn tfd_respawn_fnc_handleRespawnUI";
        };
        class respawnMenuSpawnButton: respawnMenu_RscButton {
            idc = 1602;
            text = "Spawn Group";
            x = 0.641268 * safezoneW + safezoneX;
            y = 0.731 * safezoneH + safezoneY;
            w = 0.0773437 * safezoneW;
            h = 0.044 * safezoneH;
            action="['respawnMenuRespawnAction'] spawn tfd_respawn_fnc_handleRespawnUI";
        };
        class respawnMenuChangeRoleButton: respawnMenu_RscButton {
            idc = 1603;
            text = "Cycle Role";
            x = 0.684594 * safezoneW + safezoneX;
            y = 0.445 * safezoneH + safezoneY;
            w = 0.0567187 * safezoneW;
            h = 0.055 * safezoneH;
            action="['respawnMenuChangeRoleAction'] spawn tfd_respawn_fnc_handleRespawnUI";
        };
        class respawnMenuChangeRankButton: respawnMenu_RscButton {
            idc = 1604;
            text = "Cycle Rank";
            x = 0.684594 * safezoneW + safezoneX;
            y = 0.544 * safezoneH + safezoneY;
            w = 0.0567187 * safezoneW;
            h = 0.055 * safezoneH;
            action="['respawnMenuChangeRankAction'] spawn tfd_respawn_fnc_handleRespawnUI";
        };
        class respawnMenuGroupNameText: respawnMenu_RscEdit {
            idc = 26898;
            text = "INSERT_GROUP_NAME";
            x = 0.469062 * safezoneW + safezoneX;
            y = 0.346 * safezoneH + safezoneY;
            w = 0.108281 * safezoneW;
            h = 0.033 * safezoneH;
        };
        class respawnMenuMarkerName: respawnMenu_RscEdit {
            idc = 26899;
            text = "INSERT_MARKER_NAME";
            x = 0.376269 * safezoneW + safezoneX;
            y = 0.7354 * safezoneH + safezoneY;
            w = 0.108281 * safezoneW;
            h = 0.033 * safezoneH;
        };
        class respawnMenuGroupMarkerCheckbox: respawnMenu_RscCheckbox {
            idc = 26903;
            text = "Give group Marker";
            x = 0.352548 * safezoneW + safezoneX;
            y = 0.742 * safezoneH + safezoneY;
            w = 0.0103125 * safezoneW;
            h = 0.022 * safezoneH;
            action = "['respawnMenuToggleGroupCheckbox'] spawn tfd_respawn_fnc_handleRespawnUI";
        };
        class respawnMenuSpawnMarkerText: respawnMenu_RscText {
            idc = 1003;
            text = "Spawn with Marker?";
            x = 0.253548 * safezoneW + safezoneX;
            y = 0.731 * safezoneH + safezoneY;
            w = 0.113437 * safezoneW;
            h = 0.044 * safezoneH;
        };

        class respawnMenuPlayersText: respawnMenu_RscText {
            idc = 26895;
            text = "Players in Spectator: 0";
            x = 0.2525 * safezoneW + safezoneX;
            y = 0.368 * safezoneH + safezoneY;
            w = 0.108281 * safezoneW;
            h = 0.033 * safezoneH;
        };
        class respawnMenuCloseButton: respawnMenu_RscButton {
            idc = 26904;
            text = "Close";
            x = 0.716563 * safezoneW + safezoneX;
            y = 0.3196 * safezoneH + safezoneY;
            w = 0.0309375 * safezoneW;
            h = 0.022 * safezoneH;
            action = "closeDialog 26893";
        };
        class respawnMenuRscComboRole: respawnMenu_RscCombo {
            idc = 26896;
            text = "Role";
            x = 0.396792 * safezoneW + safezoneX;
            y = 0.616422 * safezoneH + safezoneY;
            w = 0.0670312 * safezoneW;
            h = 0.022 * safezoneH;
        };
        class respawnMenuRscComboRank: respawnMenu_RscCombo {
            idc = 26897;
            text = "Rank";
            x = 0.396792 * safezoneW + safezoneX;
            y = 0.663533 * safezoneH + safezoneY;
            w = 0.0670312 * safezoneW;
            h = 0.022 * safezoneH;
        };
        //Marker combo boxs
        class RscCombo_2103: respawnMenu_RscCombo {
            idc = 26900;
            text = "Side";
            x = 0.493103 * safezoneW + safezoneX;
            y = 0.742822 * safezoneH + safezoneY;
            w = 0.0567187 * safezoneW;
            h = 0.022 * safezoneH;
        };
        class RscCombo_2104: respawnMenu_RscCombo {
            idc = 26901;
            text = "Side";
            x = 0.569973 * safezoneW + safezoneX;
            y = 0.743052 * safezoneH + safezoneY;
            w = 0.0567187 * safezoneW;
            h = 0.022 * safezoneH;
        };
        class respawnMenuVOIP: respawnMenu_RscButton {
            idc = 26927;
            text = "Toggle Spectator VOIP";
            x = 0.365937 * safezoneW + safezoneX;
            y = 0.346 * safezoneH + safezoneY;
            w = 0.0979687 * safezoneW;
            h = 0.022 * safezoneH;
            tooltip = "Toggles the spectator channel for you (ACRE/TFAR), so that you can talk to dead players if alive.";
            action = "['toggleSpectator'] spawn tfd_respawn_fnc_handleRespawnUI";
        };
        class respawnMenuFactionCategoryCombo: respawnMenu_RscCombo {
            idc = 26894;
            text = "FactionCategory"; /*Formerly side */
            x = 0.5825 * safezoneW + safezoneX;
            y = 0.335 * safezoneH + safezoneY;
            w = 0.0876563 * safezoneW;
            h = 0.022 * safezoneH;
        };
        class respawnMenuFactionCombo: respawnMenu_RscCombo {
            idc = 26928;
            text = "Faction";
            x = 0.5825 * safezoneW + safezoneX;
            y = 0.368 * safezoneH + safezoneY;
            w = 0.0876563 * safezoneW;
            h = 0.022 * safezoneH;
        };
        class respawnMenuSideCombo: respawnMenu_RscCombo {
            idc = 26929;
            text = "Side";
            x = 0.675312 * safezoneW + safezoneX;
            y = 0.357 * safezoneH + safezoneY;
            w = 0.0567187 * safezoneW;
            h = 0.022 * safezoneH;
        };
    };
};

class RscMapControl;

class respawnMenuMapDialog {
    idd = 26950;
    movingEnable = 0;
    class controlsBackground { 
    };
    class objects { 
    };
    class controls { 
        class FullRespawnMap: RscMapControl {
            idc = 26902;
            type = 100;
            x = 0 * safezoneW + safezoneX;
            y = 0 * safezoneH + safezoneY;
            w = 1 * safezoneW;
            h = 1 * safezoneH;
            onDraw = "_this call tfd_respawn_fnc_respawnDrawMapIcons";
            onSetFocus = "['respawnMapLoaded'] spawn tfd_respawn_fnc_handleRespawnUI";
            onMouseButtonDown = "['respawnMap_onMouseButtonDown',_this] spawn tfd_respawn_fnc_handleRespawnUI";
            onKeyUp = "['respawnMap_keyUp',_this] spawn tfd_respawn_fnc_handleRespawnUI";
        };
    };
};