ARCADE.H 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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/arcade.h $
  15. * $Revision: 2.0 $
  16. * $Author: john $
  17. * $Date: 1995/02/27 11:27:27 $
  18. *
  19. * Routines for arcade version.
  20. *
  21. * $Log: arcade.h $
  22. * Revision 2.0 1995/02/27 11:27:27 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/09/16 21:44:06 matt
  27. * Made arcade code based on #define
  28. *
  29. * Revision 1.3 1994/09/16 16:14:52 john
  30. * Added acrade sequencing.
  31. *
  32. * Revision 1.2 1994/09/16 11:51:01 john
  33. * Added first version of arcade joystick support;
  34. * Also fixed some bugs in kconfig.c, such as reading non-present
  35. * joysticks, which killed frame rate, and not reading key_down_time
  36. * when in slide mode or bank mode.
  37. *
  38. * Revision 1.1 1994/09/16 09:59:29 john
  39. * Initial revision
  40. *
  41. *
  42. */
  43. #ifndef _ARCADE_H
  44. #define _ARCADE_H
  45. #ifdef ARCADE
  46. extern int Arcade_mode;
  47. extern fix Arcade_timer;
  48. extern void arcade_init();
  49. extern void arcade_read_controls();
  50. #else
  51. #define Arcade_mode 0 //code gets optimized out
  52. #define arcade_init()
  53. #define arcade_read_controls()
  54. #endif
  55. #endif