summaryrefslogtreecommitdiff
path: root/console_cmds.h
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-11 19:18:30 +0000
committerdarkvater <darkvater@openttd.org>2004-09-11 19:18:30 +0000
commitd03afadad23fced4bbb11df12a01f26cdbaf6844 (patch)
tree9e1cc9f279d8bed981616951fb82a23051f9d21d /console_cmds.h
parentfe8c317d3ce5b399611ea9d7445b6c0870b041e5 (diff)
downloadopenttd-d03afadad23fced4bbb11df12a01f26cdbaf6844.tar.xz
(svn r206) -Fix: [1001540] i lost all wagons. Half-assed fix for lost wagons. But now users can at least fix this problem. Consolecommand: "resetengines"
Diffstat (limited to 'console_cmds.h')
-rw-r--r--console_cmds.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/console_cmds.h b/console_cmds.h
new file mode 100644
index 000000000..28346ac81
--- /dev/null
+++ b/console_cmds.h
@@ -0,0 +1,13 @@
+#ifndef CONSOLE_CMDS_H
+#define CONSOLE_CMDS_H
+
+/* Console_CMDS.h is the placeholder of all the console commands
+ * that will be added to the game. Register the command in
+ * * console.c IConsoleStdLibRegister;
+ * then put the command in the appropiate place (eg. where it belongs, stations
+ * stuff in station_cmd.c, etc.), and add the function decleration here.
+ */
+
+_iconsole_var * IConsoleResetEngines(byte argc, byte* argv[], byte argt[]);
+
+#endif /* CONSOLE_CMDS_H */