X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_hudpanel_physics.qc;h=eabc93dab51021e7c44b1ac2cbe8dab9eda843ec;hb=111e272282e9e4239ad7ec7cb6784f769f9eaf23;hp=606f01aaab8e6ee3b0741b3166760780f22f0fa2;hpb=e090603a32c8cba598f2c54e355cdb5b32b0d986;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 606f01aaa..eabc93dab 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_physics.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_physics.qc @@ -1,20 +1,10 @@ -#ifndef DIALOG_HUDPANEL_PHYSICS_H -#define DIALOG_HUDPANEL_PHYSICS_H -#include "rootdialog.qc" -CLASS(XonoticHUDPhysicsDialog, 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; @@ -82,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