summaryrefslogtreecommitdiffstats
path: root/hacks/pacman_ai.h
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/pacman_ai.h')
-rw-r--r--hacks/pacman_ai.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/hacks/pacman_ai.h b/hacks/pacman_ai.h
new file mode 100644
index 0000000..2488600
--- /dev/null
+++ b/hacks/pacman_ai.h
@@ -0,0 +1,32 @@
+/*-
+ * Copyright (c) 2002 by Edwin de Jong <mauddib@gmx.net>.
+ *
+ * Permission to use, copy, modify, and distribute this software and its
+ * documentation for any purpose and without fee is hereby granted,
+ * provided that the above copyright notice appear in all copies and that
+ * both that copyright notice and this permission notice appear in
+ * supporting documentation.
+ *
+ * This file is provided AS IS with no warranties of any kind. The author
+ * shall have no liability with respect to the infringement of copyrights,
+ * trade secrets or any patents by this file or any part thereof. In no
+ * event will the author be liable for any lost revenue or profits or
+ * other special, indirect and consequential damages.
+ *
+ * Revision History:
+ * 3-May-2002: Added AI to pacman and ghosts, slowed down ghosts.
+ * 26-Nov-2001: Random level generator added
+ * 01-Nov-2000: Allocation checks
+ * 04-Jun-1997: Compatible with xscreensaver
+ *
+ */
+
+#ifndef __PACMAN_AI_H__
+#define __PACMAN_AI_H__
+
+extern void pacman_ghost_update (pacmangamestruct * pp, ghoststruct * g);
+extern void pacman_clear_trace (pacmanstruct * p);
+extern void pacman_update (ModeInfo * mi, pacmangamestruct * pp,
+ pacmanstruct * p);
+
+#endif /* __PACMAN_AI_H__ */