From ba41d615a2af65a044460abe48b365f87bc7e735 Mon Sep 17 00:00:00 2001 From: Steve Date: Wed, 24 Feb 2016 07:25:17 +0000 Subject: [PATCH] Add debug / dev info. --- README_DEV.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 README_DEV.md diff --git a/README_DEV.md b/README_DEV.md new file mode 100644 index 0000000..9ce1c23 --- /dev/null +++ b/README_DEV.md @@ -0,0 +1,17 @@ +DEVELOPMENT / DEBUG Stuff + +You can run the game with + +./tbftss -debug + +to access some (rather crude) debugging and development stuff, activated by pressing certain keys on the keyboard. Press the following keys to toggle the states (see the console for output). Note to porters - you shouldn't distribute the game in this state (either as a hard compile or run script), as it could result in unexpected behaviour. + +[1] - Make the player immortal +[2] - Unlimited missiles +[3] - Prevent the AI from using weapons +[4] - Prevent the AI from taking any further actions +[5] - Make everything immortal +[6] - Immediately complete the current mission + +[9] - Show the current frames per second +[0] - Take a screenshot once per second. Assumes the existance of dev/screenshots/tmp relative to the game's binary