SLEW.H 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. #ifndef _SLEW_H
  44. #define _SLEW_H
  45. #include "object.h"
  46. //from slew.c
  47. #ifndef RELEASE
  48. void slew_init(object *obj); //say this is slew obj
  49. int slew_stop(); // Stops object
  50. void slew_reset_orient(); // Resets orientation
  51. int slew_frame(int dont_check_keys); // Does slew frame
  52. #else
  53. #define slew_init(obj)
  54. #define slew_stop(obj)
  55. #define slew_reset_orient()
  56. //#define slew_frame(dont_check_keys) //KRB hack
  57. int slew_frame(int dont_check_keys); // Does slew frame
  58. #endif
  59. #endif