X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=cmd.h;h=c8bf80ca4b6a1647040d8d716805c2b362b4b22d;hb=55362d4d9e0a2acc1285497ec91c5b389a5c8894;hp=cb96abaada65098ccce99692c2eeb6cc5efe2362;hpb=b1a8aaaee6d26247423e17d2a2ba8ea1cc9692a8;p=xonotic%2Fdarkplaces.git diff --git a/cmd.h b/cmd.h index cb96abaa..c8bf80ca 100644 --- a/cmd.h +++ b/cmd.h @@ -61,6 +61,8 @@ void Cbuf_InsertText (const char *text); * \note Do not call inside a command function! */ void Cbuf_Execute (void); +/*! Performs deferred commands and runs Cbuf_Execute, called by Host_Main */ +void Cbuf_Frame (void); //=========================================================================== @@ -142,7 +144,7 @@ int Cmd_CheckParm (const char *parm); /// Parses a single line of text into arguments and tries to execute it. /// The text can come from the command buffer, a remote client, or stdin. -void Cmd_ExecuteString (const char *text, cmd_source_t src); +void Cmd_ExecuteString (const char *text, cmd_source_t src, qboolean lockmutex); /// adds the string as a clc_stringcmd to the client message. /// (used when there is no reason to generate a local command to do it) @@ -165,5 +167,7 @@ void Cmd_Print(const char *text); /// enclosing quote marks are also put. qboolean Cmd_QuoteString(char *out, size_t outlen, const char *in, const char *quoteset, qboolean putquotes); +void Cmd_ClearCsqcFuncs (void); + #endif