ftp://ftp.linux.ncsu.edu/mirror/ftp.redhat.com/pub/redhat/linux/enterprise/4/en/os...
[xscreensaver] / hacks / pacman_ai.h
1 /*-
2  * Copyright (c) 2002 by Edwin de Jong <mauddib@gmx.net>.
3  *
4  * Permission to use, copy, modify, and distribute this software and its
5  * documentation for any purpose and without fee is hereby granted,
6  * provided that the above copyright notice appear in all copies and that
7  * both that copyright notice and this permission notice appear in
8  * supporting documentation.
9  *
10  * This file is provided AS IS with no warranties of any kind.  The author
11  * shall have no liability with respect to the infringement of copyrights,
12  * trade secrets or any patents by this file or any part thereof.  In no
13  * event will the author be liable for any lost revenue or profits or
14  * other special, indirect and consequential damages.
15  *
16  * Revision History:
17  *  3-May-2002: Added AI to pacman and ghosts, slowed down ghosts.
18  * 26-Nov-2001: Random level generator added
19  * 01-Nov-2000: Allocation checks
20  * 04-Jun-1997: Compatible with xscreensaver
21  *
22  */
23
24 #ifndef __PACMAN_AI_H__
25 #define __PACMAN_AI_H__
26
27 extern void ghost_update(pacmangamestruct *pp, ghoststruct *g);
28 extern void pac_clear_trace(pacmanstruct *p);
29 extern void pac_update(ModeInfo * mi, pacmangamestruct *pp, 
30                        pacmanstruct *p);
31
32 #endif /* __PACMAN_AI_H__ */