home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / programs / emulaton / at2600 / !v2600 / h / collision < prev    next >
Text File  |  1997-03-24  |  1KB  |  50 lines

  1. /*****************************************************************************
  2.  
  3.    This file is part of x2600, the Atari 2600 Emulator
  4.    ===================================================
  5.    
  6.    Copyright 1996 Alex Hornby. For contributions see the file CREDITS.
  7.  
  8.    This software is distributed under the terms of the GNU General Public
  9.    License. This is free software with ABSOLUTELY NO WARRANTY.
  10.    
  11.    See the file COPYING for details.
  12.    
  13.    $Id: collision.h,v 1.5 1996/08/29 16:03:24 ahornby Exp $
  14. ******************************************************************************/
  15.  
  16. /*
  17.   Defines for the hardware collision detection.
  18.   */
  19.  
  20. #ifndef COLLISION_H
  21. #define COLLISION_H
  22.  
  23. #include "col_mask.h"
  24.  
  25. /* The collsion vector */
  26. extern BYTE* colvect;
  27.  
  28. /* The collision lookup table */
  29. extern unsigned short col_table[256];
  30.  
  31. /* The collision state */
  32. extern unsigned short col_state;
  33.  
  34. extern void
  35. init_collisions(void);
  36.  
  37. extern void 
  38. reset_collisions(void);
  39.  
  40. extern int
  41. set_collisions(BYTE b); 
  42.  
  43. #endif
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.