OpenSelection Code (pascal source)

Offscreen Toys is a stand-alone sprite animation demo with full source code.
(Please don't confuse it with Offscreen Toys SAT, which looks the same but
uses Sprite Animation Toolkit.) I wrote this as a simple sprite demo, though
I got a bit over-ambitious, putting in a lot of not entirely trivial things.

You will find the following:
- The standard Mac event loop and event handling.
- Setting up GWorlds.
- Using CopyBits between GWorlds.
- Preloading graphics to GWorlds.
- Animation.
- Using BitMapToRegion to create a mask region for CopyBits.
- Collision detection.
- Collision handling.

Think and Metrowerks Pascal source-code.

/Ingemar Ragnemalm

#### TEXT open-selection-pas.txt ****

Date: 11 Sep 92 17:11:08 GMT

Here's the code to have the finder open a control panel.
Just pass the control panel's fsspec to the openselection
function and it should open it. Actually I think it will
open any valid fsspec but I wouldn't bet on it. I haven't
stressed this code so there are probably some bugs in it.

Matt

--------------------------------------------
{ OpenSelection.p ported by Matthew Xavier Mora}
{ ported from C.K. Han's openselection.c code }
{ 09-11-92 }

unit openSelection;
interface

Path: /www/exparrot/files.tidbits.com/info-mac/dev/src/offscreen-toys-13-demo-p.hqx

AttachmentSize
File offscreen-toys-13-demo-p.hqx34.7 KB
Architecture: 
File Type: 
License: 
Year: 
Archive: