Digital Paint Discussion Board

Development => Bugs, Feature Requests, and Feedback => Topic started by: Zorchenhimer on January 20, 2009, 06:30:37 AM

Title: Menu Reload (see inside)
Post by: Zorchenhimer on January 20, 2009, 06:30:37 AM
This is probably the easiest 'feature' to implement, so I didn't put this in the feature vote subforum.

Anyway, Jits, can you please add the following line to M_Init() in "client/menu.c"?
Code: [Select]
Cmd_AddCommand("m_reload", M_ReloadMenu);

I was messing around a bit tonight (started with the ingame serverlist) and I remembered that I couldn't finish my menus because the select widget wouldn't refresh.  I added this command, and to my surprise it worked the first try.  :P

If this gets put in, I can reduce the number of map menu files from 96 to about 4.
Title: Re: Menu Reload (see inside)
Post by: KnacK on January 20, 2009, 09:26:22 AM
/me loves the Zorchmeister
Title: Re: Menu Reload (see inside)
Post by: ViciouZ on January 20, 2009, 11:31:14 AM
Added, checked on linux and committed to CVS.
Title: Re: Menu Reload (see inside)
Post by: Zorchenhimer on January 20, 2009, 11:54:47 AM
<3
Title: Re: Menu Reload (see inside)
Post by: jitspoe on January 22, 2009, 04:08:18 PM
I would change this to menu_reload, since m_* is currently used for mouse stuff, I think.  Might be ambiguous.
Title: Re: Menu Reload (see inside)
Post by: Zorchenhimer on January 22, 2009, 10:49:31 PM
Oh, ok.  Yea, that makes sense.