XEROX Pac-Man-Idle 2 4 1 Pac-Man-Idle 1 4 By: smL (Lanning.pa@xerox.com) INTRODUCTION The package Pac-Man-Idle defines two new IDLE functions, "Pac Man" and "Slow Fade". Like most other IDLE functions, they turn your screen black except for some random, moving form. Unlike most other IDLE functions, they don't turn black immediately. Instead, they slowly eat away at your display until it is as black as certain holes in Calcutta. (Pac-Man-Idle window) [Function] The Pac-Man-Idle function starts a little pac-man icon eating away at your screen. It always moves in the direction of the most food (= white pixels) within its horizon. It takes about 15 or 20 mins to eat away at the entire screen. You will be left with a rather hungry pacÿÿï$man icon waÿndering around your screen. (Pac-Man-Eat-Window window) [Function] This is the subfunction of Pac-Man-Idle that actually runs the hungry little guy around a window looking for food. You can use it yourself, on a window of your choice. pacManEatMask [Global Variable] pacManIcon [Global Variable] pacManMask [Global Variable] These three variables define the image of the pac-man icon. pacManEatMask is the mask of bits that will be consumed out of the background when the pac-man stops to eat. pacManIcon and pacManMask are the icon image and mask that describe the appearance of the pac-man. These variables are defined as INITVARS in the file, so you can override the defaults before (or after) loading the file. (Slow-Fade window) [Function] The Slow-Fade function degrades the entire screen by bltÿÿï$ÿing a random texture onto the window. After a while you are left with nothing. Slow-Fade then drops into the standard "Bouncing Box" idle function. Default-Slow-Fade-Idle-Function [Global Variable] The idle function that Slow-Fade will run when it is done fading to black. The default value is the chosen idle function at the time the file is loaded. This default is defined in an INITVARS expression, so you can override it either before or after loading the file. (LIST ((PAGE NIL (FOLIOINFO (ARABIC) STARTINGPAGE# 1) (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM) FORMATINFO (ARABIC)) (174 36 288 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))) (PAGE NIL NIL (0 0 612 792) (( FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (282 42 72 36) NIL) (HEADING NIL ( HEADINGTYPE RUNNINGHEAD) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))) (PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (282 42 72 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL)))))(È1È È1È ¼È(ŠŠ8(È (ŠŠ8DÈÈ PAGEHEADING RUNNINGHEAD HELVETICA MODERN MODERN MODERN MODERNMODERN LOGO  HRULE.GETFNMODERN  HRULE.GETFNMODERN  HRULE.GETFNMODERN   HRULE.GETFNMODERN  HRULE.GETFNMODERN   _  ©  ‰  8˜"Ozº