1
0
Fork 0
forked from fte/fteqw

Removed qplaque.lmp and p_option.lmp from appearing on connected clients (only fteqw clients saw these) which blocked the menu text.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3875 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2011-07-15 12:51:05 +00:00
parent be91ec36e2
commit 1a5cb4add5

View file

@ -2610,6 +2610,11 @@ guimenu:
shownheader = false;
/*
I've removed the following from this function as it covered the menu (~Moodles):
"menupic 0 4 gfx/qplaque.lmp\n"
"menupic 96 4 gfx/p_option.lmp\n"
*/
QW_StuffcmdToViewer(v,
"alias menucallback\n"
@ -2630,8 +2635,6 @@ guimenu:
"}\n"
"conmenu menucallback\n"
"menupic 0 4 gfx/qplaque.lmp\n"
"menupic 96 4 gfx/p_option.lmp\n"
"menuedit 48 36 \"Óåòöåòº\" \"_server\"\n"
@ -2697,6 +2700,11 @@ guidemos:
start = atoi(args); //FIXME
QW_SetMenu(v, MENU_NONE);
/*
I've removed the following from this function as it covered the menu (~Moodles):
"menupic 0 4 gfx/qplaque.lmp\n"
"menupic 96 4 gfx/p_option.lmp\n"
*/
QW_StuffcmdToViewer(v,
"alias menucallback\n"
@ -2710,9 +2718,7 @@ guidemos:
"{\necho Changing stream\nsay .$option\n}\n"
"}\n"
"conmenu menucallback\n"
"menupic 0 4 gfx/qplaque.lmp\n"
"menupic 96 4 gfx/p_option.lmp\n",
"conmenu menucallback\n",
start - maxshowndemos, start + maxshowndemos
);
@ -2766,6 +2772,11 @@ tuidemos:
guiadmin:
if (!*cluster->adminpassword)
{
/*
I've removed the following from this function as it covered the menu (~Moodles):
"menupic 16 4 gfx/qplaque.lmp\n"
"menupic - 4 gfx/p_option.lmp\n"
*/
QW_StuffcmdToViewer(v,
"alias menucallback\n"
@ -2774,8 +2785,6 @@ guiadmin:
"}\n"
"conmenu menucallback\n"
"menupic 16 4 gfx/qplaque.lmp\n"
"menupic - 4 gfx/p_option.lmp\n"
"menutext 72 48 \"No admin password is set\"\n"
"menutext 72 56 \"Admin access is prohibited\"\n"
@ -2786,6 +2795,11 @@ guiadmin:
QW_SetMenu(v, MENU_ADMIN);
else
{
/*
I've removed the following from this function as it covered the menu (~Moodles):
"menupic 16 4 gfx/qplaque.lmp\n"
"menupic - 4 gfx/p_option.lmp\n"
*/
QW_StuffcmdToViewer(v,
"alias menucallback\n"
@ -2797,8 +2811,6 @@ guiadmin:
"}\n"
"conmenu menucallback\n"
"menupic 16 4 gfx/qplaque.lmp\n"
"menupic - 4 gfx/p_option.lmp\n"
"menuedit 16 32 \" Password\" \"_password\"\n"