Files
@ r10031:f42fea05eb07
Branch filter:
Location: cpp/openttd-patchpack/source/src/console_func.h - annotation
r10031:f42fea05eb07
698 B
text/x-c
(svn r14190) -Codechange: use alloc instead of malloc+free when the allocated memory shouldn't be used after the function ended.
r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9337:eae33d9f73f5 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9337:eae33d9f73f5 r9337:eae33d9f73f5 r9336:b3c601814650 r9426:3751599964ec r9426:3751599964ec r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 r9336:b3c601814650 | /* $Id$ */
/** @file console_func.h Console functions used outside of the console code. */
#ifndef CONSOLE_FUNC_H
#define CONSOLE_FUNC_H
#include "console_type.h"
/* console modes */
extern IConsoleModes _iconsole_mode;
/* console functions */
void IConsoleInit();
void IConsoleFree();
void IConsoleClose();
/* console output */
void IConsolePrint(ConsoleColour color_code, const char *string);
void CDECL IConsolePrintF(ConsoleColour color_code, const char *s, ...);
void IConsoleDebug(const char *dbg, const char *string);
void IConsoleWarning(const char *string);
void IConsoleError(const char *string);
/* Parser */
void IConsoleCmdExec(const char *cmdstr);
#endif /* CONSOLE_FUNC_H */
|