home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18091 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.5 KB  |  46 lines

  1. Path: sparky!uunet!littlei!hfglobe!chnews!sedona!pmeyer
  2. From: pmeyer@.intel.com (Paul Meyer)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Need source for Darkside fader in Think C
  5. Message-ID: <1debqtINNih1@chnews.intel.com>
  6. Date: 6 Nov 92 17:59:57 GMT
  7. Distribution: usa
  8. Organization: Intel Corp., Chandler, Arizona
  9. Lines: 33
  10. NNTP-Posting-Host: tramp.intel.com
  11. Originator: pmeyer@sedona
  12.  
  13.  
  14.     I'm new to writing code resources, and these may be stupid
  15. questions, so forgive me ahead of time.
  16.  
  17.     I just started looking at writing fader code resources for
  18. Darkside of the Mac, a screensaver by Tom Dowdy.  The source for a
  19. simple fader (invert) came with it, but it is for the MPW C environment.
  20. I have Think C 5.0.3, and I'm having real trouble getting it working.
  21.  
  22.     So, does anybody have source for a simple fader for Think C?
  23.  
  24. Some of the problems I had:
  25.  
  26.     Think C wouldn't build the code resource for me unless I put a
  27. dummy main(){} at the end (I had custom headers turned off).  
  28.  
  29.     It wasn't clear exactly what code resource options I needed to
  30. set in the Project Type dialog.  I tried interpreting the MPW makefile,
  31. but gave up.
  32.  
  33.  
  34.     There are six functions in each fader code resource that
  35. Darkside accesses.  The locations of these functions will obviously vary
  36. between faders.  There has to be some fixed location in the resource
  37. where Darkside looks to get pointers to the six functions.  How can I
  38. make Think C build a code resource in the correct format?  
  39.  
  40.     Any help will be appreciated.
  41.  
  42. -- 
  43. Paul Meyer
  44.  
  45. pmeyer@sedona.intel.com
  46.