home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!littlei!hfglobe!chnews!sedona!pmeyer
- From: pmeyer@.intel.com (Paul Meyer)
- Newsgroups: comp.sys.mac.programmer
- Subject: Need source for Darkside fader in Think C
- Message-ID: <1debqtINNih1@chnews.intel.com>
- Date: 6 Nov 92 17:59:57 GMT
- Distribution: usa
- Organization: Intel Corp., Chandler, Arizona
- Lines: 33
- NNTP-Posting-Host: tramp.intel.com
- Originator: pmeyer@sedona
-
-
- I'm new to writing code resources, and these may be stupid
- questions, so forgive me ahead of time.
-
- I just started looking at writing fader code resources for
- Darkside of the Mac, a screensaver by Tom Dowdy. The source for a
- simple fader (invert) came with it, but it is for the MPW C environment.
- I have Think C 5.0.3, and I'm having real trouble getting it working.
-
- So, does anybody have source for a simple fader for Think C?
-
- Some of the problems I had:
-
- Think C wouldn't build the code resource for me unless I put a
- dummy main(){} at the end (I had custom headers turned off).
-
- It wasn't clear exactly what code resource options I needed to
- set in the Project Type dialog. I tried interpreting the MPW makefile,
- but gave up.
-
-
- There are six functions in each fader code resource that
- Darkside accesses. The locations of these functions will obviously vary
- between faders. There has to be some fixed location in the resource
- where Darkside looks to get pointers to the six functions. How can I
- make Think C build a code resource in the correct format?
-
- Any help will be appreciated.
-
- --
- Paul Meyer
-
- pmeyer@sedona.intel.com
-