home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #6 / amigaacscoverdisc1998-061998.iso / games / descent / source / main / victor.h < prev    next >
Text File  |  1998-06-08  |  2KB  |  64 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/victor.h $
  15.  * $Revision: 2.0 $
  16.  * $Author: john $
  17.  * $Date: 1995/02/27 11:27:31 $
  18.  * 
  19.  * Prototypes for the VictorMaxx VR helment.
  20.  * 
  21.  * $Log: victor.h $
  22.  * Revision 2.0  1995/02/27  11:27:31  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.4  1994/11/12  14:46:55  john
  27.  * Added support for victor head tracking.
  28.  * 
  29.  * Revision 1.3  1994/07/21  21:31:12  john
  30.  * First cheapo version of VictorMaxx tracking.
  31.  * 
  32.  * Revision 1.2  1994/07/20  21:04:32  john
  33.  * Add VictorMax VR helment support.
  34.  * 
  35.  * Revision 1.1  1994/07/20  20:49:19  john
  36.  * Initial revision
  37.  * 
  38.  * 
  39.  */
  40.  
  41.  
  42.  
  43. #ifndef _VICTOR_H
  44. #define _VICTOR_H
  45.  
  46. #include "fix.h"
  47.  
  48. // Sets up the victor card.
  49. void victor_init_graphics(); 
  50.  
  51. extern int Victor_headset_installed;        // Set to one if init_tracking has been called successfully
  52.  
  53. // Initializes VictorMaxx headset tracking on serial port 1 or 2
  54. extern void victor_init_tracking(int serial_port);
  55. // Stops reading victormaxx
  56. extern void victor_close_tracking();
  57.  
  58. // Reads headset... Returns 3 values, yaw=0-360, roll & pitch=-45 to 45
  59. extern void victor_read_headset( fix *yaw, fix *pitch, fix *roll );
  60. extern void victor_read_headset_filtered( fix *yaw, fix *pitch, fix *roll );
  61.  
  62. #endif
  63. 
  64.