home *** CD-ROM | disk | FTP | other *** search
-
- /**************************************************************************
- *
- * AESFAST PD utilties.
- *
- * Object-related utilities 2...
- * obj_flchange
- * obj_stchange
- *************************************************************************/
-
- #include <gemfast.h>
-
- /*-------------------------------------------------------------------------
- * obj_xywh - Return object's GRECT, not adjusted to screen coordinates.
- *-----------------------------------------------------------------------*/
-
- void
- obj_xywh(ptree, object, prect)
- OBJECT *ptree;
- int object;
- GRECT *prect;
- {
- rc_copy( &(ptree[object].ob_x), prect );
- }
-
-
- /*-------------------------------------------------------------------------
- * obj_offxywh - Return object's GRECT, adjusted to screen coordinates.
- *-----------------------------------------------------------------------*/
-
- void
- obj_offxywh(ptree, object, prect)
- OBJECT *ptree;
- int object;
- GRECT *prect;
- {
- rc_copy( &(ptree[object].ob_x), prect );
- objc_offset(ptree, object, &(prect->g_x), &(prect->g_y));
- }
-
-
-