forked from q3df/cgame_proxymod
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcg_consolecmds.c
38 lines (29 loc) · 1.24 KB
/
cg_consolecmds.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
==============================
Written by id software, nightmare and hk of mdd
This file is part of mdd client proxymod.
mdd client proxymod is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
mdd client proxymod is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with mdd client proxymod. If not, see <http://www.gnu.org/licenses/>.
==============================
Note: mdd client proxymod contains large quantities from the quake III arena source code
*/
#include "cg_local.h"
#include "cg_consolecmds.h"
// STUB
qboolean *CG_ConsoleCommand( void ) {
// char cmdBuffer[256];
// uint32_t argc;
// argc = g_syscall( CG_ARGC );
// g_syscall( CG_ARGV, 0, cmdBuffer, sizeof(cmdBuffer) );
// g_syscall( CG_PRINT, vaf("^6%s^7\n", cmdBuffer) );
// TODO: check if the player uses one of our commands
return qfalse; // not a command
}