Files
@ r3016:b28a60dfd364
Branch filter:
Location: cpp/openttd-patchpack/source/docs/console.txt - annotation
r3016:b28a60dfd364
1.1 KiB
text/plain
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
This increases the execution speed a lot since GCC can't detect the OTTD macro as an endian conversion
while Apple's code uses the instruction to convert endian instead of a series of instructions to produce the same result
Since we don't have that many endian conversions in the game, overall performance should not increase noteworthy
This increases the execution speed a lot since GCC can't detect the OTTD macro as an endian conversion
while Apple's code uses the instruction to convert endian instead of a series of instructions to produce the same result
Since we don't have that many endian conversions in the game, overall performance should not increase noteworthy
r126:ddfe1cb69359 r126:ddfe1cb69359 r288:0bae6295cc67 r141:ed23912abdee r126:ddfe1cb69359 r799:ec8bd4b9c241 r799:ec8bd4b9c241 r799:ec8bd4b9c241 r799:ec8bd4b9c241 r186:d94944c1735d r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r141:ed23912abdee r141:ed23912abdee r141:ed23912abdee r141:ed23912abdee r141:ed23912abdee r141:ed23912abdee r126:ddfe1cb69359 r126:ddfe1cb69359 r141:ed23912abdee r141:ed23912abdee r141:ed23912abdee r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r141:ed23912abdee r141:ed23912abdee r141:ed23912abdee r141:ed23912abdee r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r799:ec8bd4b9c241 r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r543:efdb197f91ad r543:efdb197f91ad r126:ddfe1cb69359 r543:efdb197f91ad r543:efdb197f91ad r126:ddfe1cb69359 r543:efdb197f91ad r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 r126:ddfe1cb69359 | OPENTTD INGAME CONSOLE DOCUMENTATION
====================================
http://wiki.openttd.org/index.php/OpenTTDDevBlackBook
for detailed information
*** WARNING **
This document is out of date
*** WARNING **
HOTKEY: BACKQUOTE (aka tilde, the key left to "1")
COMMANDS:
---------
echo [string]
echoc [color-code] [string]
exit
debug_level [0-9]
dump_vars [filter]
help
list_cmds [filter]
list_vars [filter]
printf [formatstring] [var] [var] [var]....
printfc [color-code] [formatstring] [var] [var] [var]....
quit
random
screenshot ["big"/"no_con"]
VARIABLES:
----------
*con_developer
-> true = console debugging info
-> false = no output
*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
|