home *** CD-ROM | disk | FTP | other *** search
- IFF2PCS 1.0, 21-Nov-87, by Ali T. Ozer
- USMail: Box 7703, Stanford, CA 94305
- ARPA: ali@Score.Stanford.Edu
- ------------------------------------------------------------
- IFF2PCS (IFF-to-pieces) is an interactive puzzle program. In
- IFF2PCS, the user's goal is to put a picture back together
- from square pieces. The picture can be created from any IFF
- program, and can have upto 16 colors. Several sample
- pictures and the source code (in Manx C, 3.40b) are included
- with the distribution.
-
- IFF2PCS can be started one of three ways:
-
- * From the CLI, by typing
- 1> iff2pcs IFF-FILE
- (where IFF-FILE is the name of an IFF picture file)
-
- * From the Workbench, by double-clicking on the icon of an
- IFF picture file, provided the "default tool" is set to
- IFF2PCS. (The icons for the sample IFF pictures provided
- with the program are all configured this way.)
-
- * From the Workbench, by
- first clicking once on the IFF2PCS icon,
- then double-clicking on the icon of any IFF picture
- file, while holding down the SHIFT key.
-
- This last method (a standard way to specify arguments to
- Workbench programs) allows you to start IFF2PCS up with
- any IFF picture, even if its default tool is not set to
- IFF2PCS.
-
- Once IFF2PCS starts up, it provides you with a choice of
- three difficulty levels. You can start the game by clicking
- on the appropriate choice:
-
- * REAL EASY 64x64 bit pieces
- * NOT SO EASY 32x32 bit pieces
- * DIFFICULT 16x16 bit pieces --- real killer!
-
- The picture and the difficulty level cannot be changed
- during the program.
-
- IFF2PCS uses a pop-up menu (which is operated just like a
- standard Amiga menu, except that you do not have to move the
- mouse to the top of the screen). The menu commands are:
-
- * SHOW Shows the completed picture.
- * CHECK Combines what you have with the actual picture to
- give you an idea of how close you are. Pieces
- that are in the correct place will appear as
- blanks, while pieces that are placed incorrectly
- will appear messed up. CHECK will also tell you the
- time that has elapsed since you started the puzzle,
- and will let you know if the puzzle is solved.
- * HELP Provides some minimal help. (This command might not
- work if the system is low on chip-memory.)
- * QUIT Quits...
-
- Pieces are grabbed by clicking the left mouse button and
- rotated by clicking the right mouse button once the piece is
- grabbed. Pieces can be rotated 90 degrees clockwise only;
- you might need to click the right mouse button twice or
- three times to get the correct orientation.
-
- IFF2PCS is a chip-memory hog. It will attempt to open an
- interlaced screen as large as the user's Workbench, and with
- a 16-color picture, it might use more than 200K of chip
- memory.
-
- Possible future enhancements to IFF2PCS include:
- * True jigsaw-puzzle pieces (IFF2PCS started off this way
- and ended up with square pieces)
- * Faster piece-pickup (possible with backup bitmaps for
- pieces, which of course will use up more memory)
- ------------------------------------------------------------
- Many thanks go to D. John Hodgson, Tom Rokicki, and Helene
- (Lee) Taran, whose code fragments I used in IFF2PCS. Many
- thanks also go to the various artists whose wonderful IFF
- pictures I included as samples. Anyone wishing to use code
- fragments from IFF2PCS sources can do so (although most
- of the code is probably not general enough to be used
- elsewhere).
-
- IFF2PCS is Copyright 1987, Ali Turgut Ozer.
- IFF2PCS is freely distributable.
-
-