home *** CD-ROM | disk | FTP | other *** search
- ==============================================================================
- WIPEDEMO v2.0
- ==============================================================================
-
- To show how this program works, I wrote a little script that works with the
- DeluxePaint II Art Disk. From CLI, type ARUN WIPEDEMO, or double-click the
- icon from Workbench. This program displays a series of lo-res files in
- sequence using fadeouts and 35 different screen wipes. It can also be
- programmed to wait in between each picture and to use the narrator device.
- The script file, WIPEDEMO.S, can be changed or rewritten to suit your needs.
- Read the script file to see how the commands work. You can use this program
- in any software, commercial or otherwise, as long as you give me a bit of
- credit somewhere. If you modify it, do not distribute the modified software.
- To show your appreciation, send me $15 or so, and I'll give it to you along
- with the MicroEd demo disk that it was originally designed for. Another way
- to show your appreciation is to buy lots of MicroEd educational programs.
-
- Paul Falstad
- 5415 Abbott Place
- Edina, MN 55410
- CIS: 70016,1355
- GEnie: P.FALSTAD
-
- MicroEd, Inc.
- P.O. Box 24750
- Edina, MN 55424
- (612) 929-2242
-
-
- ========================================================================
- COMMANDS
- ========================================================================
-
- Run program as follows:
-
- <ARUN> WIPEDEMO <script_file>
-
- If <script_file> is not specified, it defaults to WIPEDEMO.S. You might try
- using a CON: window as a script file to test out the wipes.
-
- Here are the commands used in the script file:
-
- SHOW <filename> Shows a picture with wipes
- WAIT <num> Waits a specified number of seconds
- RANDOM Uses random selection of wipes
- SELECT <num> Select a certain wipe
- FADES ON Turns on random fadeouts
- FADES OFF Turns off random fadeouts
- LOOP Goes back to beginning of script
- # Denotes comment
-
- If you use your own pictures with this demo, do not make color 1 white. You
- may notice a little white flicker in showing the DPaint II pictures; this is
- because of the bright color 1.
-
- ========================================================================
- WIPE NUMBERS
- ========================================================================
-
- 0 UpAndDownPanel 1 Random
- 2 LeftLinePanel 3 Dice
- 4 GrowBoxes 5 SideToSide
- 6 TwoClock 7 OneClock
- 8 RandomOut 9 Spiral
- 10 ExpandBox 11 Doors
- 12 WipeUp 13 WipeDown
- 14 WipeLeft 15 WipeRight
- 16 WipeDiag 17 TwoBox
- 18 Shades 19 RandomShade
- 20 SymArr 21 FourSweep
- 22 FourLines 23 HexSweep
- 24 DiagSplit 25 Xes
- 26 SlideBoxes 27 Cannon
- 28 Drip 29 MovingWindow
- 30 Sun 31 Monolith
- 32 Rain 33 MergeWindows
- 34 Slides
-
-
- =========================================================================
- ADDING YOUR OWN
- =========================================================================
-
- If you have ideas for wipes, add one and send the code fragment to me.
- Here is a typical wipe subroutine:
-
- WipeDown(rp,step)
- struct RastPort *rp; /* RastPort for mask bitmap */
- int step; /* step = 0-63 */
- {
- RectFill(rp,0L,0L,319L,(step*199L)/63L);
- }
-
- You receive a pointer to a RastPort structure one bitplane thick. The FgPen
- will be set to 1. You simply draw with color 1 on the bitmap where you want
- the new picture to show through, and draw with color 0 where you want the
- old picture. Check the 35 examples.
-
- If I get a lot of good wipes, I will use them all in the next version. Send
- me a code fragment like the one above, with just the subroutine.
-
- =========================================================================
-