Author Topic: Menu Reload (see inside)  (Read 1770 times)

Zorchenhimer

  • Autococker
  • Posts: 2614
Menu Reload (see inside)
« on: January 20, 2009, 05: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.

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Menu Reload (see inside)
« Reply #1 on: January 20, 2009, 08:26:22 AM »
* KnacK loves the Zorchmeister

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Menu Reload (see inside)
« Reply #2 on: January 20, 2009, 10:31:14 AM »
Added, checked on linux and committed to CVS.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Menu Reload (see inside)
« Reply #3 on: January 20, 2009, 10:54:47 AM »
<3

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Menu Reload (see inside)
« Reply #4 on: January 22, 2009, 03:08:18 PM »
I would change this to menu_reload, since m_* is currently used for mouse stuff, I think.  Might be ambiguous.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Menu Reload (see inside)
« Reply #5 on: January 22, 2009, 09:49:31 PM »
Oh, ok.  Yea, that makes sense.