VICTOR.H 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. #ifndef _VICTOR_H
  41. #define _VICTOR_H
  42. #include "fix.h"
  43. // Sets up the victor card.
  44. void victor_init_graphics();
  45. extern int Victor_headset_installed; // Set to one if init_tracking has been called successfully
  46. // Initializes VictorMaxx headset tracking on serial port 1 or 2
  47. extern void victor_init_tracking(int serial_port);
  48. // Stops reading victormaxx
  49. extern void victor_close_tracking();
  50. // Reads headset... Returns 3 values, yaw=0-360, roll & pitch=-45 to 45
  51. extern void victor_read_headset( fix *yaw, fix *pitch, fix *roll );
  52. extern void victor_read_headset_filtered( fix *yaw, fix *pitch, fix *roll );
  53. #endif
  54.