Add help information for the :benchmark command.
This commit is contained in:
parent
03f97be0c2
commit
cbd0d6bd9a
2 changed files with 4 additions and 1 deletions
|
@ -678,6 +678,9 @@ It is not possible to remove add-ons for which there is publishing information (
|
|||
title= _ "General Commands"
|
||||
text= _ "These commands can either be issued via the command line by prefixing them with ':' (as shown here) or via the chat by prefixing them with '/' (press 'm' first to open the chat line).
|
||||
|
||||
" + "<header>text=':benchmark'</header>" + _ "
|
||||
Similar to the 'fps' command, but also forces everything to redraw instead of only things that have changed.
|
||||
|
||||
" + "<header>text=':clear'</header>" + _ "
|
||||
Clear chat messages.
|
||||
|
||||
|
|
|
@ -1244,7 +1244,7 @@ protected:
|
|||
register_command(
|
||||
"layers", &console_handler::do_layers, _("Debug layers from terrain under the mouse."), "", "D");
|
||||
register_command("fps", &console_handler::do_fps, _("Display and log fps (Frames Per Second)."));
|
||||
register_command("benchmark", &console_handler::do_benchmark);
|
||||
register_command("benchmark", &console_handler::do_benchmark, _("Similar to the 'fps' command, but also forces everything to redraw instead of only things that have changed."));
|
||||
register_command("save", &console_handler::do_save, _("Save game."));
|
||||
register_alias("save", "w");
|
||||
register_command("quit", &console_handler::do_quit, _("Quit game."));
|
||||
|
|
Loading…
Add table
Reference in a new issue