src/console_func.h
author Tero Marttila <terom@fixme.fi>
Tue, 22 Jul 2008 21:51:14 +0300
changeset 11180 982e9f814f97
parent 10790 9f507561b6a5
permissions -rw-r--r--
scan for tarfiles in CACHE_DIR, remember what Subdirectory a tar was found in, set the GCF_FLAG on GRFs loaded from there, and hide those in the NewGRF GUI
2186
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 1827
diff changeset
     1
/* $Id$ */
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 1827
diff changeset
     2
10684
7cc2278c2ac0 (svn r13228) -Codechange: split console.h.
rubidium
parents: 10429
diff changeset
     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
7cc2278c2ac0 (svn r13228) -Codechange: split console.h.
rubidium
parents: 10429
diff changeset
     5
#ifndef CONSOLE_FUNC_H
7cc2278c2ac0 (svn r13228) -Codechange: split console.h.
rubidium
parents: 10429
diff changeset
     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
7cc2278c2ac0 (svn r13228) -Codechange: split console.h.
rubidium
parents: 10429
diff changeset
     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
7624f942237f (svn r9050) -Codechange: Foo(void) -> Foo()
rubidium
parents: 6449
diff changeset
    14
void IConsoleInit();
7624f942237f (svn r9050) -Codechange: Foo(void) -> Foo()
rubidium
parents: 6449
diff changeset
    15
void IConsoleFree();
7624f942237f (svn r9050) -Codechange: Foo(void) -> Foo()
rubidium
parents: 6449
diff changeset
    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
7cc2278c2ac0 (svn r13228) -Codechange: split console.h.
rubidium
parents: 10429
diff changeset
    28
#endif /* CONSOLE_FUNC_H */