]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
stuff
authorRudolf Polzer <divverent@xonotic.org>
Tue, 17 Sep 2013 19:43:32 +0000 (21:43 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Tue, 17 Sep 2013 19:43:32 +0000 (21:43 +0200)
qcsrc/dpdefs/menudefs.qc
qcsrc/menu/menu.qc
qcsrc/menu/xonotic/slider_resolution.c

index 4885f2916c70641ca7488b9fedd016fa7e144551..af5b41aee04bb227b27088d7c280173fdc97a72a 100644 (file)
@@ -15,7 +15,7 @@ void          end_sys_fields;
 
 void() m_init;
 void(float keynr, float ascii) m_keydown;
-void() m_draw;
+void(float width, float height) m_draw;
 void(float mode) m_toggle;
 void() m_shutdown;
 
index fd4fced57db0aa0d2a1a3c6fb2f970def7baf1b9..fcf80e3a4b11aace6e97fa262a93a0c586d16b43 100644 (file)
@@ -79,7 +79,6 @@ void m_init()
        updateCompression();
        if(ddsload != cvar("r_texture_dds_load") || texcomp != cvar("gl_texturecompression"))
                localcmd("\nr_restart\n");
-       initConwidths();
 
        if(!restarting)
        {
index a4fe7de873c9142f11782564b143c1062b45dedd..f29b35e173af6dde24a961735857fd0be95fd7ad 100644 (file)
@@ -6,7 +6,7 @@ CLASS(XonoticResolutionSlider) EXTENDS(XonoticTextSlider)
        METHOD(XonoticResolutionSlider, saveCvars, void(entity))
 ENDCLASS(XonoticResolutionSlider)
 entity makeXonoticResolutionSlider();
-void initConwidths();
+void initConwidths(float width, float height);
 void updateConwidths();
 #endif