X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_hudpanel_physics.qc;h=eabc93dab51021e7c44b1ac2cbe8dab9eda843ec;hb=d3dda8d5a2d99b9eecf5784fe4727aa37f21a03d;hp=6e4917d93c0f8bb75be6906680c94c54d2faae28;hpb=ea48961feb50159e05ef56f38b7fd0ebc15cc64e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_physics.qc b/qcsrc/menu/xonotic/dialog_hudpanel_physics.qc index 6e4917d93..eabc93dab 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_physics.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_physics.qc @@ -1,18 +1,10 @@ -#ifdef INTERFACE -CLASS(XonoticHUDPhysicsDialog) EXTENDS(XonoticRootDialog) - METHOD(XonoticHUDPhysicsDialog, fill, void(entity)) - ATTRIB(XonoticHUDPhysicsDialog, title, string, _("Physics Panel")) - ATTRIB(XonoticHUDPhysicsDialog, color, vector, SKINCOLOR_DIALOG_TEAMSELECT) - ATTRIB(XonoticHUDPhysicsDialog, intendedWidth, float, 0.4) - ATTRIB(XonoticHUDPhysicsDialog, rows, float, 15) - ATTRIB(XonoticHUDPhysicsDialog, columns, float, 4) - ATTRIB(XonoticHUDPhysicsDialog, name, string, "HUDphysics") - ATTRIB(XonoticHUDPhysicsDialog, sliderTopspeedTime, entity, NULL) - ATTRIB(XonoticHUDPhysicsDialog, requiresConnection, float, true) -ENDCLASS(XonoticHUDPhysicsDialog) -#endif +#include "dialog_hudpanel_physics.qh" + +#include "textlabel.qh" +#include "textslider.qh" +#include "checkbox.qh" +#include "slider.qh" -#ifdef IMPLEMENTATION void XonoticHUDPhysicsDialog_fill(entity me) { entity e; @@ -80,4 +72,3 @@ void XonoticHUDPhysicsDialog_fill(entity me) // me.TD(me, 1, 0.6, e = makeXonoticInputBox(1, "hud_panel_physics_acceleration_max")); // setDependent(e, "hud_panel_physics_progressbar", 1, 1); } -#endif