mirror of https://github.com/OpenTTD/OpenTTD.git
parent
ebc451b071
commit
f26de0d2f9
|
@ -2105,6 +2105,11 @@ DEF_CONSOLE_CMD(ConListSettings)
|
|||
|
||||
DEF_CONSOLE_CMD(ConGamelogPrint)
|
||||
{
|
||||
if (argc == 0) {
|
||||
IConsolePrint(CC_HELP, "Print logged fundamental changes to the game since the start. Usage: 'gamelog'.");
|
||||
return true;
|
||||
}
|
||||
|
||||
_gamelog.PrintConsole();
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/** @file gamelog.cpp Definition of functions used for logging of important changes in the game */
|
||||
/** @file gamelog.cpp Definition of functions used for logging of fundamental changes to the game */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "saveload/saveload.h"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/** @file gamelog.h Functions to be called to log possibly unsafe game events */
|
||||
/** @file gamelog.h Functions to be called to log fundamental changes to the game */
|
||||
|
||||
#ifndef GAMELOG_H
|
||||
#define GAMELOG_H
|
||||
|
|
Loading…
Reference in New Issue