X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fmainwindow.qc;h=244d6b2b206ecf55a047a2223391063341bd4d87;hb=c89dfaa4d0342b98c320621557973a65114fbdf4;hp=7af6e9363d3ce440dbc60d944a55b400c77d3475;hpb=fc2be4c1e7547ae97301f7966333e4dc858baf92;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/mainwindow.qc b/qcsrc/menu/xonotic/mainwindow.qc index 7af6e9363..244d6b2b2 100644 --- a/qcsrc/menu/xonotic/mainwindow.qc +++ b/qcsrc/menu/xonotic/mainwindow.qc @@ -2,8 +2,8 @@ #define MAINWINDOW_H #include "../item/modalcontroller.qc" CLASS(MainWindow, ModalController) - METHOD(MainWindow, configureMainWindow, void(entity)) - METHOD(MainWindow, draw, void(entity)) + METHOD(MainWindow, configureMainWindow, void(entity)); + METHOD(MainWindow, draw, void(entity)); ATTRIB(MainWindow, firstRunDialog, entity, NULL) ATTRIB(MainWindow, advancedDialog, entity, NULL) ATTRIB(MainWindow, mutatorsDialog, entity, NULL) @@ -128,10 +128,13 @@ void MainWindow_configureMainWindow(entity me) i.configureDialog(i); me.addItemRightCentered(me, i, i.intendedWidth * eX + i.intendedHeight * eY, SKINALPHAS_MAINMENU_z); - i = NEW(XonoticHUDBuffsDialog); + i = NEW(XonoticHUDItemsTimeDialog); i.configureDialog(i); - me.addItemRightCentered(me, i, i.intendedWidth * eX + i.intendedHeight * eY, SKINALPHAS_MAINMENU_z); + me.addItemCentered(me, i, i.intendedWidth * eX + i.intendedHeight * eY, SKINALPHAS_MAINMENU_z); + i = NEW(XonoticHUDQuickMenuDialog); + i.configureDialog(i); + me.addItemRightCentered(me, i, i.intendedWidth * eX + i.intendedHeight * eY, SKINALPHAS_MAINMENU_z); // dialogs used by settings me.userbindEditDialog = i = NEW(XonoticUserbindEditDialog);