author | belugas |
Sun, 15 Jun 2008 02:48:25 +0000 | |
changeset 10965 | a2b5f6f9be0c |
parent 10790 | 9f507561b6a5 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
10684 | 3 |
/** @file console_func.h Console functions used outside of the console code. */ |
289
1e1102dd2a62
(svn r295) -Fix: Rewrite and fix of console stuff, including marking (XXX) of areas that require further investigation (Tron)
darkvater
parents:
248
diff
changeset
|
4 |
|
10684 | 5 |
#ifndef CONSOLE_FUNC_H |
6 |
#define CONSOLE_FUNC_H |
|
1739
4f3082735fbc
(svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'.
Darkvater
parents:
1397
diff
changeset
|
7 |
|
10684 | 8 |
#include "console_type.h" |
220
dc1710f96b39
(svn r221) -Feature: console command and variable hooking
signde
parents:
205
diff
changeset
|
9 |
|
10685
955ddec7961e
(svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums.
rubidium
parents:
10684
diff
changeset
|
10 |
/* console modes */ |
8764
65746a5248ec
(svn r11832) -Codechange: get rid of (quite) some VARDEFs.
rubidium
parents:
8602
diff
changeset
|
11 |
extern IConsoleModes _iconsole_mode; |
141
29cc31c87ede
(svn r142) -Feature development: [1016299] Console Rev #3 allowes variable references and has a new commandline buffer (sign_de)
darkvater
parents:
136
diff
changeset
|
12 |
|
4432
33631ac88c40
(svn r6195) -Codechange: do not use '//' in '/* ... */' style comments and '/*' or '*/' in '//' style comments.
rubidium
parents:
3900
diff
changeset
|
13 |
/* console functions */ |
6573 | 14 |
void IConsoleInit(); |
15 |
void IConsoleFree(); |
|
16 |
void IConsoleClose(); |
|
135
638fb31434eb
(svn r136) -Feature/Fix: Console Rev #2 and WKC_BACKQUOTE this patch adds new features to the ingame console and inserts a new keymanagement for windows pcs... (sign_de)
darkvater
parents:
126
diff
changeset
|
17 |
|
4432
33631ac88c40
(svn r6195) -Codechange: do not use '//' in '/* ... */' style comments and '/*' or '*/' in '//' style comments.
rubidium
parents:
3900
diff
changeset
|
18 |
/* console output */ |
10685
955ddec7961e
(svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums.
rubidium
parents:
10684
diff
changeset
|
19 |
void IConsolePrint(ConsoleColour color_code, const char *string); |
955ddec7961e
(svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums.
rubidium
parents:
10684
diff
changeset
|
20 |
void CDECL IConsolePrintF(ConsoleColour color_code, const char *s, ...); |
5568
75f13d7bfaed
(svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
Darkvater
parents:
5143
diff
changeset
|
21 |
void IConsoleDebug(const char *dbg, const char *string); |
10790
9f507561b6a5
(svn r13341) -Codechange: make most of the network settings configurable via the patch command.
rubidium
parents:
10685
diff
changeset
|
22 |
void IConsoleWarning(const char *string); |
9f507561b6a5
(svn r13341) -Codechange: make most of the network settings configurable via the patch command.
rubidium
parents:
10685
diff
changeset
|
23 |
void IConsoleError(const char *string); |
135
638fb31434eb
(svn r136) -Feature/Fix: Console Rev #2 and WKC_BACKQUOTE this patch adds new features to the ingame console and inserts a new keymanagement for windows pcs... (sign_de)
darkvater
parents:
126
diff
changeset
|
24 |
|
4432
33631ac88c40
(svn r6195) -Codechange: do not use '//' in '/* ... */' style comments and '/*' or '*/' in '//' style comments.
rubidium
parents:
3900
diff
changeset
|
25 |
/* Parser */ |
1739
4f3082735fbc
(svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'.
Darkvater
parents:
1397
diff
changeset
|
26 |
void IConsoleCmdExec(const char *cmdstr); |
220
dc1710f96b39
(svn r221) -Feature: console command and variable hooking
signde
parents:
205
diff
changeset
|
27 |
|
10684 | 28 |
#endif /* CONSOLE_FUNC_H */ |