home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #6 / amigaacscoverdisc1998-061998.iso / games / descent / source / main / slew.h < prev    next >
C/C++ Source or Header  |  1998-06-08  |  2KB  |  68 lines

  1. /*
  2. THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
  3. SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
  4. END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
  5. ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
  6. IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
  7. SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
  8. FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
  9. CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
  10. AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.  
  11. COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
  12. */
  13. /*
  14.  * $Source: f:/miner/source/main/rcs/slew.h $
  15.  * $Revision: 2.0 $
  16.  * $Author: john $
  17.  * $Date: 1995/02/27 11:33:05 $
  18.  * 
  19.  * Prototypes, etc., for slew system
  20.  * 
  21.  * $Log: slew.h $
  22.  * Revision 2.0  1995/02/27  11:33:05  john
  23.  * New version 2.0, which has no anonymous unions, builds with
  24.  * Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
  25.  * 
  26.  * Revision 1.5  1994/12/15  16:43:58  matt
  27.  * Made slew functions compile out for release versions
  28.  * 
  29.  * Revision 1.4  1994/02/17  11:32:41  matt
  30.  * Changes in object system
  31.  * 
  32.  * Revision 1.3  1994/01/05  10:53:42  john
  33.  * New object code by John.  
  34.  * 
  35.  * Revision 1.2  1993/12/05  22:48:57  matt
  36.  * Reworked include files in an attempt to cut down on build times
  37.  * 
  38.  * Revision 1.1  1993/12/05  20:20:16  matt
  39.  * Initial revision
  40.  * 
  41.  * 
  42.  */
  43.  
  44. #ifndef _SLEW_H
  45. #define _SLEW_H
  46.  
  47. #include "object.h"
  48.  
  49. //from slew.c
  50.  
  51. #ifndef RELEASE
  52.  
  53. void    slew_init(object *obj);                    //say this is slew obj
  54. int    slew_stop();                                // Stops object
  55. void    slew_reset_orient();                        // Resets orientation
  56. int    slew_frame(int dont_check_keys);        // Does slew frame
  57.  
  58. #else
  59.  
  60. #define slew_init(obj)
  61. #define slew_stop(obj)
  62. #define slew_reset_orient()
  63. //#define slew_frame(dont_check_keys) //KRB hack
  64. int    slew_frame(int dont_check_keys);        // Does slew frame
  65. #endif
  66.  
  67. #endif
  68.