home *** CD-ROM | disk | FTP | other *** search
/ Dream 48 / Amiga_Dream_48.iso / Atari / c / libs / gemfast / gemfut15.lzh / AESUTRS3.C < prev    next >
C/C++ Source or Header  |  1989-08-26  |  740b  |  29 lines

  1.  
  2. /**************************************************************************
  3.  *
  4.  * AESFAST PD utilties.
  5.  *
  6.  *  Resource-related utilities 3...
  7.  *   rsc_treefix
  8.  *************************************************************************/
  9.  
  10. #include <gemfast.h>
  11.  
  12. /*-------------------------------------------------------------------------
  13.  * rsc_treefix - Do object x/y fixup for all objects in a tree.
  14.  *-----------------------------------------------------------------------*/
  15.  
  16. void
  17. rsc_treefix(ptree)
  18.     register OBJECT *ptree;
  19. {
  20.     register int    objcounter;
  21.  
  22.     objcounter = -1;
  23.     do  {
  24.         objcounter++;
  25.         rsrc_obfix(ptree, objcounter);
  26.     } while (!(ptree[objcounter].ob_flags & LASTOB));
  27. }
  28.  
  29.