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{
15 me.configureDialog(me);
16 return me;
17}
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 19 of file dialog_multiplayer_join_serverinfotab.qc.

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

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