]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/dialog_teamselect.qh
Merge branch 'master' into terencehill/scoreboard_panel_2
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_teamselect.qh
1 #pragma once
2
3 #include "rootdialog.qh"
4 CLASS(XonoticTeamSelectDialog, XonoticRootDialog)
5         METHOD(XonoticTeamSelectDialog, fill, void(entity));
6         METHOD(XonoticTeamSelectDialog, showNotify, void(entity));
7         ATTRIB(XonoticTeamSelectDialog, title, string, _("Team Selection"));
8         ATTRIB(XonoticTeamSelectDialog, color, vector, SKINCOLOR_DIALOG_TEAMSELECT);
9         ATTRIB(XonoticTeamSelectDialog, intendedWidth, float, 0.4);
10         ATTRIB(XonoticTeamSelectDialog, rows, float, 5);
11         ATTRIB(XonoticTeamSelectDialog, columns, float, 4);
12         ATTRIB(XonoticTeamSelectDialog, name, string, "TeamSelect");
13         ATTRIB(XonoticTeamSelectDialog, team1, entity);
14         ATTRIB(XonoticTeamSelectDialog, team2, entity);
15         ATTRIB(XonoticTeamSelectDialog, team3, entity);
16         ATTRIB(XonoticTeamSelectDialog, team4, entity);
17         ATTRIB(XonoticTeamSelectDialog, requiresConnection, float, true);
18 ENDCLASS(XonoticTeamSelectDialog)