1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 04:29:09 +00:00

(svn r127) New feature: ingame console. (sign_de)

Press tab to open the console, more info in docs/console.txt
This commit is contained in:
dominik
2004-08-24 08:34:28 +00:00
parent 7efcc84512
commit e2f627a22e
11 changed files with 992 additions and 19 deletions

46
docs/console.txt Normal file
View File

@@ -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