home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #6 / amigaacscoverdisc1998-061998.iso / games / descent / source / main / arcade.h < prev    next >
C/C++ Source or Header  |  1998-06-08  |  2KB  |  67 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/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.  
  44.  
  45.  
  46. #ifndef _ARCADE_H
  47. #define _ARCADE_H
  48.  
  49. #ifdef ARCADE
  50.  
  51. extern int Arcade_mode;
  52. extern fix Arcade_timer;
  53.  
  54. extern void arcade_init();
  55. extern void arcade_read_controls();
  56.  
  57. #else
  58.  
  59. #define Arcade_mode 0        //code gets optimized out
  60.  
  61. #define arcade_init()
  62. #define arcade_read_controls()
  63.  
  64. #endif
  65.  
  66. #endif
  67.