-#ifdef INTERFACE
-CLASS(XonoticGameModelSettingsTab) EXTENDS(XonoticTab)
- //METHOD(XonoticGameModelSettingsTab, toString, string(entity))
+#ifndef DIALOG_SETTINGS_GAME_MODEL_H
+#define DIALOG_SETTINGS_GAME_MODEL_H
+#include "tab.qc"
+CLASS(XonoticGameModelSettingsTab, XonoticTab)
METHOD(XonoticGameModelSettingsTab, fill, void(entity))
METHOD(XonoticGameModelSettingsTab, showNotify, void(entity))
- ATTRIB(XonoticGameModelSettingsTab, title, string, _("Model"))
ATTRIB(XonoticGameModelSettingsTab, intendedWidth, float, 0.9)
ATTRIB(XonoticGameModelSettingsTab, rows, float, 13)
ATTRIB(XonoticGameModelSettingsTab, columns, float, 5)
entity makeXonoticGameModelSettingsTab()
{
entity me;
- me = spawnXonoticGameModelSettingsTab();
+ me = NEW(XonoticGameModelSettingsTab);
me.configureDialog(me);
return me;
}
{
entity e;
//float i;
-
+
// Note that this is pretty terrible currently due to the lack of options for this tab...
// There is really not many other decent places for these options, additionally
// later I would like quite a few more options in this tab.