]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/dialog_teamselect.qh
Merge branch 'master' into terencehill/dynamic_hud
[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, NULL)
14         ATTRIB(XonoticTeamSelectDialog, team2, entity, NULL)
15         ATTRIB(XonoticTeamSelectDialog, team3, entity, NULL)
16         ATTRIB(XonoticTeamSelectDialog, team4, entity, NULL)
17         ATTRIB(XonoticTeamSelectDialog, requiresConnection, float, true)
18 ENDCLASS(XonoticTeamSelectDialog)