diff options
author | dominik <dominik@openttd.org> | 2004-08-24 08:34:28 +0000 |
---|---|---|
committer | dominik <dominik@openttd.org> | 2004-08-24 08:34:28 +0000 |
commit | e2f627a22ed2a38542b63ac65a73499a2d9f32aa (patch) | |
tree | 92d0709632554e6421d9d731ecdb6e8bf9bdc631 /docs | |
parent | 7efcc84512bd2161f4c68fdbdd06b8d1519137df (diff) | |
download | openttd-e2f627a22ed2a38542b63ac65a73499a2d9f32aa.tar.xz |
(svn r127) New feature: ingame console. (sign_de)
Press tab to open the console, more info in docs/console.txt
Diffstat (limited to 'docs')
-rw-r--r-- | docs/console.txt | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/console.txt b/docs/console.txt new file mode 100644 index 000000000..eee70ac18 --- /dev/null +++ b/docs/console.txt @@ -0,0 +1,46 @@ +OPENTTD INGAME CONSOLE DOCUMENTATION +==================================== + +HOTKEY: TAB + +COMMANDS: +--------- + +list_cmds [filter] +list_vars [filter] +echo [string] +echoc [color-code] [string] +printf [formatstring] [var] [var] [var].... +printfc [color-code] [formatstring] [var] [var] [var].... +screenshot ["big"] +debug_level [0-9] +exit + + +VARIABLES: +---------- +*developer +-> 0 = no output +-> 1 = console error output [like command not found] +-> 2 = console error and debug output + +*cursor_rate +-> 1-12 = defines the cursor blink interval + + +VARIABLE HANDLING: +------------------ + +*developer = 0 +*developer ++ + +*temp_string = test +*temp_string = "my little" + +printf "%s world" *temp_string + + +--------------------------------------------------- +feel free to add more commands and use this in-game +console for your debugging / enhancements + |