teamplay and plugin stuff.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@273 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-09-30 22:49:01 +00:00
parent 0c6d688751
commit 37a8fd5056

View file

@ -1237,7 +1237,7 @@ void Cmd_RemoveCommand (char *cmd_name)
cmd = *back; cmd = *back;
if (!cmd) if (!cmd)
{ {
Con_Printf ("Cmd_RemoveCommand: %s not added\n", cmd_name); // Con_Printf ("Cmd_RemoveCommand: %s not added\n", cmd_name);
return; return;
} }
if (!strcmp (cmd_name, cmd->name)) if (!strcmp (cmd_name, cmd->name))
@ -1660,8 +1660,10 @@ void Cmd_ExecuteString (char *text, int level)
return; return;
} }
#ifdef PLUGINS
if (Plugin_ExecuteString()) if (Plugin_ExecuteString())
return; return;
#endif
#ifndef CLIENTONLY #ifndef CLIENTONLY
if (sv.state) if (sv.state)
@ -2222,6 +2224,7 @@ void Cvar_Inc_f (void)
} }
////////////////////////// //////////////////////////
/*
typedef struct msg_trigger_s { typedef struct msg_trigger_s {
char *match; char *match;
char *command; char *command;
@ -2503,7 +2506,7 @@ qboolean Cmd_FilterMessage (char *message, qboolean sameteam) //returns true if
return true; //not on our list of allowed. return true; //not on our list of allowed.
} }
*/
void Cmd_WriteConfig_f(void) void Cmd_WriteConfig_f(void)
{ {
FILE *f; FILE *f;
@ -2577,8 +2580,8 @@ void Cmd_Init (void)
Cmd_AddCommand ("aliaslevel", Cmd_AliasLevel_f); Cmd_AddCommand ("aliaslevel", Cmd_AliasLevel_f);
#endif #endif
Cmd_AddCommand ("msg_trigger", Cmd_Msg_Trigger_f); // Cmd_AddCommand ("msg_trigger", Cmd_Msg_Trigger_f);
Cmd_AddCommand ("filter", Cmd_Msg_Filter_f); // Cmd_AddCommand ("filter", Cmd_Msg_Filter_f);
Cmd_AddCommand ("set", Cmd_set_f); Cmd_AddCommand ("set", Cmd_set_f);