summaryrefslogtreecommitdiff
path: root/ai/default
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-09-23 06:38:36 +0000
committertron <tron@openttd.org>2005-09-23 06:38:36 +0000
commit313fcfbd83e45f8b4d6041402306685ab787d42e (patch)
tree5d2878e24b0168d05734905fe6c5fde15a70fcd9 /ai/default
parentafcb9f0d602d6f26393efcdc638e64ecbb4b753b (diff)
downloadopenttd-313fcfbd83e45f8b4d6041402306685ab787d42e.tar.xz
(svn r2973) Move a function declaration somewhere where it belongs
Diffstat (limited to 'ai/default')
-rw-r--r--ai/default/default.c1
-rw-r--r--ai/default/default.h8
2 files changed, 9 insertions, 0 deletions
diff --git a/ai/default/default.c b/ai/default/default.c
index 0fb4a3817..8257b0026 100644
--- a/ai/default/default.c
+++ b/ai/default/default.c
@@ -17,6 +17,7 @@
#include "../../airport.h"
#include "../../depot.h"
#include "../../variables.h"
+#include "default.h"
// remove some day perhaps?
static Player *_cur_ai_player;
diff --git a/ai/default/default.h b/ai/default/default.h
new file mode 100644
index 000000000..d367d4a72
--- /dev/null
+++ b/ai/default/default.h
@@ -0,0 +1,8 @@
+/* $Id$ */
+
+#ifndef DEFAULT_H
+#define DEFAULT_H
+
+void AiDoGameLoop(Player*);
+
+#endif