Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
dialog_multiplayer_join_serverinfotab.qc File Reference
Include dependency graph for dialog_multiplayer_join_serverinfotab.qc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

entity makeXonoticServerInfoTab ()
void XonoticServerInfoTab_fill (entity me)

Function Documentation

◆ makeXonoticServerInfoTab()

entity makeXonoticServerInfoTab ( )

Definition at line 12 of file dialog_multiplayer_join_serverinfotab.qc.

13{
14 entity me;
16 me.configureDialog(me);
17 return me;
18}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define NEW(cname,...)
Definition oo.qh:117

References entity(), and NEW.

Referenced by XonoticServerInfoTab::ATTRIB(), and XonoticServerInfoDialog_fill().

◆ XonoticServerInfoTab_fill()

void XonoticServerInfoTab_fill ( entity me)

Definition at line 20 of file dialog_multiplayer_join_serverinfotab.qc.

21{
22 entity e;
23 me.TR(me);
24 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Hostname:")));
25 me.TD(me, 1, 4.6, e = makeXonoticTextLabel(0.5, ""));
26 e.colorL = SKINCOLOR_SERVERINFO_NAME;
27 e.allowCut = true;
28 me.nameLabel = e;
29 me.TR(me);
30 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Address:")));
31 me.TD(me, 1, 4.6, e = makeXonoticTextLabel(0.5, ""));
32 e.colorL = SKINCOLOR_SERVERINFO_IP;
33 e.allowCut = true;
34 me.cnameLabel = e;
35
36 me.TR(me);
37 me.TR(me);
38 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Gametype:")));
39 me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, ""));
40 e.allowCut = true;
41 me.typeLabel = e;
42 me.TR(me);
43 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Map:")));
44 me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, ""));
45 e.allowCut = true;
46 me.mapLabel = e;
47 me.TR(me);
48 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Mod:")));
49 me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, ""));
50 e.allowCut = true;
51 me.modLabel = e;
52 me.TR(me);
53 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Version:")));
54 me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, ""));
55 e.allowCut = true;
56 me.versionLabel = e;
57 me.TR(me);
58 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Settings:")));
59 me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, ""));
60 e.allowCut = true;
61 me.pureLabel = e;
62
63 me.TR(me);
64 me.TR(me);
65 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Players:")));
66 me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, ""));
67 e.allowCut = true;
68 me.numPlayersLabel = e;
69 me.TR(me);
70 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Bots:")));
71 me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, ""));
72 e.allowCut = true;
73 me.numBotsLabel = e;
74 me.TR(me);
75 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Free slots:")));
76 me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, ""));
77 e.allowCut = true;
78 me.numFreeSlotsLabel = e;
79
80 me.gotoRC(me, me.rows - 5, 0);
81 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Encryption:")));
82 me.TD(me, 1, 5.4, e = makeXonoticTextLabel(0, ""));
83 e.allowCut = true;
84 me.encryptLabel = e;
85 me.TR(me);
86 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("ID:")));
87 me.TD(me, 1, 5.4, e = makeXonoticTextLabel(0, ""));
88 e.allowCut = true;
89 me.keyLabel = e;
90 me.TR(me);
91 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Key:")));
92 me.TD(me, 1, 5.4, e = makeXonoticTextLabel(0, ""));
93 e.allowCut = true;
94 me.idLabel = e;
95 me.TR(me);
96 me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Stats:")));
97 me.TD(me, 1, 5.4, e = makeXonoticTextLabel(0, ""));
98 e.allowCut = true;
99 me.statsLabel = e;
100
101 me.gotoRC(me, 2, 2.2); me.setFirstColumn(me, me.currentColumn);
102 me.TD(me, 1, 3, e = makeXonoticTextLabel(0, _("Players:")));
103 me.TR(me);
104 me.TD(me, me.rows - 8, 4, e = makeXonoticPlayerList());
105 me.rawPlayerList = e;
106}
entity makeXonoticPlayerList()
Definition playerlist.qc:11
entity makeXonoticTextLabel(float theAlign, string theText)
Definition textlabel.qc:3

References entity(), makeXonoticPlayerList(), and makeXonoticTextLabel().