PACMAN
You are Pacman, and you are supposed to eat all the small dots to get to the next level. You are also supposed to keep away from the ghosts, if they take you, you lose one life, unless you have eaten a large dot, then you can, for a limited amount of time, chase and eat the ghosts. There is also bonus available, for a limited amount of time. An X gives just points, but a little pacman gives an extra life.
You use either keyboard or mouse. Default from start is keyboard.
Keyboard mode: To move use arrows, to quit, press q, to use mouse, press m
Mouse mode: To move, move mouse, to quit, press RButton, to use
keyboard, press LButton
Details: When pacman has moved to a new place, if you want it to change
it's moving direction, hit key/move mouse until it has moved.
STARTUP BW/COLOURS
Colouring is default, it may alse work on grey monitors
If it don't work, and you got to use grey, write pacman grey
NOTE
(The mentioned #defines is in basis.h.)
The pacman window puts itself on top, comment out #define RAISE if you
don't like it.
The pacman program can deal with exposing, that is, redrawing itself
after overlapping with other windows, but it's naive, primitive and
far from perfect, comment out #define XPOSSE if you don't need it.
If you want the game to run smooth, don't use a loaded machine/server.
And if you want a larger window, uncomment #define DOUBLE (you can also
do the same by uncommenting in the Imakefile).
COMPILING
UNIX:
Two possibilities: use xmkmf or configure:
xmkmf:
xmkmf -a # this makes the Makefile and the dependencies
# continue and
# try ordinary make even if xmkmf gives errors
configure:
configure understands --enable-doublesize to make it higher and wider.
make; make install; make clean
#this uses Imakefile, which I am very fresh at...
gen:
#Program gen uses makeg to make the makefile.
#then use ordinary make.
#It may have to be customized because of
#individual compiler configurations.
gen
make
VMS:
do
rename *.cc *.cxx
mms/ignore=warning
Name Revised Size Description
ALPHA/ 11-Jul-2008 11:39 512 subdirectory
CXX_REPOSITORY/ 11-Jul-2008 11:39 512 subdirectory
ACLOCAL.M4 11-Jul-2008 11:46 3,838
ARG.CC 11-Jul-2008 11:46 148
ARG.H 11-Jul-2008 11:46 247 C header
AUTHORS 11-Jul-2008 11:46 0 plain text
BASIS.H 11-Jul-2008 11:46 153 C header
BLANK.CC 11-Jul-2008 11:46 59
BLANK.H 11-Jul-2008 11:46 229 C header
BOARD.CC 11-Jul-2008 11:46 24,001
BOARD.H 11-Jul-2008 11:46 1,842 C header
BONUS.CC 11-Jul-2008 11:46 461
BONUS.H 11-Jul-2008 11:46 558 C header
BONUSLIF.CC 11-Jul-2008 11:46 219
BONUSLIF.H 11-Jul-2008 11:46 220 C header
BONUSPNT.CC 11-Jul-2008 11:46 236
BONUSPNT.H 11-Jul-2008 11:46 225 C header
BUILD_VMS.COM 11-Jul-2008 11:46 2,150 DCL procedure
CHANGELOG 11-Jul-2008 11:46 151 plain text
COLOUR.CC 11-Jul-2008 11:46 9,398
COLOUR.H 11-Jul-2008 11:46 1,860 C header
CONFIG.GUESS 11-Jul-2008 11:46 24,549
CONFIG.SUB 11-Jul-2008 11:46 19,762
CONFIGURE 11-Jul-2008 11:46 67,533 plain text
CONFIGURE.IN 11-Jul-2008 11:46 1,092
COPYING 11-Jul-2008 11:46 17,976 plain text
CORNER.CC 11-Jul-2008 11:46 21
CORNER.H 11-Jul-2008 11:46 117 C header
CORNER1.CC 11-Jul-2008 11:46 127
CORNER1.H 11-Jul-2008 11:46 169 C header
CORNER2.CC 11-Jul-2008 11:46 127
CORNER2.H 11-Jul-2008 11:46 169 C header
CORNER3.CC 11-Jul-2008 11:46 127
CORNER3.H 11-Jul-2008 11:46 169 C header
CORNER4.CC 11-Jul-2008 11:46 127
CORNER4.H 11-Jul-2008 11:46 169 C header
CROSS.CC 11-Jul-2008 11:46 120
CROSS.H 11-Jul-2008 11:46 164 C header
DESCRIP.MMS 11-Jul-2008 11:46 733 Module Management System rules
DIREC.CC 11-Jul-2008 11:46 298
DIREC.H 11-Jul-2008 11:46 222 C header
DYNAMIEL.CC 11-Jul-2008 11:46 266
DYNAMIEL.H 11-Jul-2008 11:46 524 C header
E0.CC 11-Jul-2008 11:46 106
E0.H 11-Jul-2008 11:46 140 C header
E180.CC 11-Jul-2008 11:46 114
E180.H 11-Jul-2008 11:46 148 C header
E270.CC 11-Jul-2008 11:46 114
E270.H 11-Jul-2008 11:46 148 C header
E90.CC 11-Jul-2008 11:46 109
E90.H 11-Jul-2008 11:46 144 C header
EDIBLE.H 11-Jul-2008 11:46 130 C header
ELEMENT.CC 11-Jul-2008 11:46 189
ELEMENT.H 11-Jul-2008 11:46 460 C header
ENDWALL.H 11-Jul-2008 11:46 165 C header
FOOD.CC 11-Jul-2008 11:46 38
FOOD.H 11-Jul-2008 11:46 189 C header
FREEWARE_README.TXT 11-Jul-2008 11:46 76 plain text
GAMEDATA.CC 11-Jul-2008 11:46 1,802
GAMEDATA.H 11-Jul-2008 11:46 1,069 C header
GBLANK.CC 11-Jul-2008 11:46 122
GBLANK.H 11-Jul-2008 11:46 161 C header
GBOARD.CC 11-Jul-2008 11:46 4,797
GBOARD.H 11-Jul-2008 11:46 1,737 C header
GBONLIFE.CC 11-Jul-2008 11:46 144
GBONLIFE.H 11-Jul-2008 11:46 146 C header
GBONPNT.CC 11-Jul-2008 11:46 149
GBONPNT.H 11-Jul-2008 11:46 148 C header
GBONUS.H 11-Jul-2008 11:46 158 C header
GDYNELEM.CC 11-Jul-2008 11:46 80
GDYNELEM.H 11-Jul-2008 11:46 202 C header
GEDIBLE.H 11-Jul-2008 11:46 139 C header
GFOOD.CC 11-Jul-2008 11:46 123
GFOOD.H 11-Jul-2008 11:46 147 C header
GGHOST.CC 11-Jul-2008 11:46 623
GGHOST.H 11-Jul-2008 11:46 324 C header
GHOST.CC 11-Jul-2008 11:46 8,447
GHOST.H 11-Jul-2008 11:46 1,629 C header
GMOVEABL.H 11-Jul-2008 11:46 155 C header
GPACMAN.CC 11-Jul-2008 11:46 1,898
GPACMAN.H 11-Jul-2008 11:46 544 C header
GRAPHELE.CC 11-Jul-2008 11:46 5,015
GRAPHELE.H 11-Jul-2008 11:46 1,055 C header
GSPECWAL.CC 11-Jul-2008 11:46 143
GSPECWAL.H 11-Jul-2008 11:46 199 C header
GSTATELE.H 11-Jul-2008 11:46 128 C header
GSUPFOOD.CC 11-Jul-2008 11:46 145
GSUPFOOD.H 11-Jul-2008 11:46 154 C header
GUNMOVEL.H 11-Jul-2008 11:46 182 C header
GWALLS.H 11-Jul-2008 11:46 122 C header
HORIWALL.CC 11-Jul-2008 11:46 143
HORIWALL.H 11-Jul-2008 11:46 182 C header
IMAKEFILE 11-Jul-2008 11:46 1,369 plain text
INSTALL-SH 11-Jul-2008 11:46 5,584 plain text
INSTALL 11-Jul-2008 11:46 7,831 plain text
MAKEFILE.AM 11-Jul-2008 11:46 2,316
MAKEFILE.IN 11-Jul-2008 11:46 21,018
MISSING 11-Jul-2008 11:46 6,274 plain text
MKINSTALLDIRS 11-Jul-2008 11:46 732 plain text
MOVEABLE.H 11-Jul-2008 11:46 333 C header
NEWS 11-Jul-2008 11:46 0 plain text
OBJECT.H 11-Jul-2008 11:46 84 C header
PAC.CC 11-Jul-2008 11:46 8,675
PAC.H 11-Jul-2008 11:46 1,248 C header
PACMAN.CC 11-Jul-2008 11:46 2,739
PACMAN.H 11-Jul-2008 11:46 936 C header
PACMAN.OPT 11-Jul-2008 11:46 29 VMS linker options
POINT.CC 11-Jul-2008 11:46 253
POINT.H 11-Jul-2008 11:46 336 C header
README 11-Jul-2008 11:46 2,045 plain text
SHAPES.H 11-Jul-2008 11:46 11,679 C header
SIZES.H 11-Jul-2008 11:46 1,045 C header
SPECWALL.CC 11-Jul-2008 11:46 56
SPECWALL.H 11-Jul-2008 11:46 231 C header
STATICEL.H 11-Jul-2008 11:46 156 C header
STRAWALL.H 11-Jul-2008 11:46 172 C header
SUPEFOOD.CC 11-Jul-2008 11:46 50
SUPEFOOD.H 11-Jul-2008 11:46 202 C header
SYSTSPEC.H 11-Jul-2008 11:46 433 C header
T0.CC 11-Jul-2008 11:46 106
T0.H 11-Jul-2008 11:46 137 C header
T180.CC 11-Jul-2008 11:46 114
T180.H 11-Jul-2008 11:46 145 C header
T270.CC 11-Jul-2008 11:46 114
T270.H 11-Jul-2008 11:46 145 C header
T90.CC 11-Jul-2008 11:46 111
T90.H 11-Jul-2008 11:46 141 C header
TIMING.CC 11-Jul-2008 11:46 4,022
TIMING.H 11-Jul-2008 11:46 519 C header
TWALL.H 11-Jul-2008 11:46 160 C header
TYPES.H 11-Jul-2008 11:46 195 C header
UNMOVELE.H 11-Jul-2008 11:46 175 C header
USRINTER.CC 11-Jul-2008 11:46 19,239
USRINTER.H 11-Jul-2008 11:46 3,888 C header
VERTWALL.CC 11-Jul-2008 11:46 139
VERTWALL.H 11-Jul-2008 11:46 178 C header
WALLS.CC 11-Jul-2008 11:46 41
WALLS.H 11-Jul-2008 11:46 193 C header