Xonotic
dialog_multiplayer.qc
Go to the documentation of this file.
1 #include "dialog_multiplayer.qh"
2 
3 #include "tabcontroller.qh"
8 
10 {
11  entity mc, e;
12  mc = makeXonoticTabController(me.rows - 1);
13  me.TR(me);
14  me.TD(me, 1, 1, e = mc.makeTabButton_T(mc, _("Servers"), makeXonoticServerListTab(),
15  _("Find servers to play on")));
16  me.TD(me, 1, 1, e = mc.makeTabButton_T(mc, _("Create"), makeXonoticServerCreateTab(),
17  _("Host your own game")));
18  me.TD(me, 1, 1, e = mc.makeTabButton(mc, _("Media"), makeXonoticMediaTab()));
19  me.TD(me, 1, 1, e = mc.makeTabButton(mc, _("Profile"), makeXonoticProfileTab()));
20 
21  me.TR(me);
22  me.TD(me, me.rows - 1, me.columns, mc);
23 }
entity makeXonoticProfileTab()
entity() spawn
entity makeXonoticServerListTab()
entity makeXonoticServerCreateTab()
entity makeXonoticMediaTab()
void XonoticMultiplayerDialog_fill(entity me)
entity makeXonoticTabController(float theRows)
Definition: tabcontroller.qc:5