]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_multiplayer_create.qh
Merge branch 'master' into Mario/waterjump_fix
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_multiplayer_create.qh
index 6f70f09beec2219624baeca92e2cd7deaa104fb4..e275522864a84ee9af820e0cb6f55f7323df9efb 100644 (file)
@@ -1 +1,19 @@
 #pragma once
+
+#include "tab.qh"
+CLASS(XonoticServerCreateTab, XonoticTab)
+       METHOD(XonoticServerCreateTab, fill, void(entity));
+       METHOD(XonoticServerCreateTab, gameTypeChangeNotify, void(entity));
+       METHOD(XonoticServerCreateTab, gameTypeSelectNotify, void(entity));
+       ATTRIB(XonoticServerCreateTab, intendedWidth, float, 0.9);
+       ATTRIB(XonoticServerCreateTab, rows, float, 23);
+       ATTRIB(XonoticServerCreateTab, columns, float, 6.2);  // added extra .2 for center space
+
+       ATTRIB(XonoticServerCreateTab, mapListBox, entity);
+       ATTRIB(XonoticServerCreateTab, sliderFraglimit, entity);
+       ATTRIB(XonoticServerCreateTab, sliderTeams, entity);
+       ATTRIB(XonoticServerCreateTab, sliderTimelimit, entity);
+       ATTRIB(XonoticServerCreateTab, labelFraglimit, entity);
+       ATTRIB(XonoticServerCreateTab, labelTeams, entity);
+ENDCLASS(XonoticServerCreateTab)
+entity makeXonoticServerCreateTab();