summaryrefslogtreecommitdiffstats
path: root/hacks/pacman_ai.c
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:23:46 +0200
committerSimon Rettberg2021-04-06 14:23:46 +0200
commit26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9 (patch)
treea51e1637554bcd84e63cccb1cb220c898a2c4ee8 /hacks/pacman_ai.c
parent5.44 (diff)
downloadxscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.gz
xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.xz
xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.zip
xscreensaver 6.00
Diffstat (limited to 'hacks/pacman_ai.c')
-rw-r--r--hacks/pacman_ai.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hacks/pacman_ai.c b/hacks/pacman_ai.c
index b85bd96..8cf9cf0 100644
--- a/hacks/pacman_ai.c
+++ b/hacks/pacman_ai.c
@@ -17,12 +17,14 @@
/* this file handles the AI of the ghosts and the pacman. */
-#include <math.h>
-#include <assert.h>
+#include "xlockmoreI.h"
#include "pacman.h"
#include "pacman_ai.h"
#include "pacman_level.h"
+#include <math.h>
+#include <assert.h>
+
#define MI_DISPLAY(MI) ((MI)->dpy)
#define MI_WINDOW(MI) ((MI)->window)
#define MI_WIDTH(MI) ((MI)->xgwa.width)