summaryrefslogtreecommitdiffstats
path: root/hacks/pacman_ai.c
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:43:39 +0200
committerSimon Rettberg2021-04-07 13:38:37 +0200
commit38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch)
tree9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /hacks/pacman_ai.c
parentMaybe not remove, but ... (diff)
downloadxscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.gz
xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.xz
xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.zip
xscreensaver 6.00v28r1openslx
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)