IConsoleAlias Struct Reference

--Aliases-- Aliases are like shortcuts for complex functions, variable assignments, etc. More...

#include <console.h>


Data Fields

char * name
 name of the alias
IConsoleAliasnext
 next alias in list
char * cmdline
 command(s) that is/are being aliased


Detailed Description

--Aliases-- Aliases are like shortcuts for complex functions, variable assignments, etc.

You can use a simple alias to rename a longer command (eg 'lv' for 'list_vars' for example), or concatenate more commands into one (eg. 'ng' for 'load A; unpause; debug_level 5'). Aliases can parse the arguments given to them in the command line.

Definition at line 98 of file console.h.


The documentation for this struct was generated from the following file:

Generated on Wed Oct 1 17:03:38 2008 for openttd by  doxygen 1.5.6