home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / ARASAN_S.ZIP / BOOKENTR.H < prev    next >
C/C++ Source or Header  |  1993-11-17  |  534b  |  28 lines

  1. // Copyright 1993 by Jon Dart.  All Rights Reserved.
  2.  
  3. #ifndef _BOOK_ENTRY_H
  4. #define _BOOK_ENTRY_H
  5.  
  6. #include "types.h"
  7.  
  8. #define INVALID 0xffff
  9.  
  10. struct Book_Entry
  11. {
  12.      Book_Entry()
  13.      {
  14.      }
  15.  
  16.      Book_Entry( unsigned long hc, byte rec, byte mv_indx, unsigned nxt );
  17.  
  18.      // two entries are equivalent if they have the same hash code bytes.
  19.      int operator == ( const Book_Entry & be) const;
  20.         
  21.      unsigned long hash_code;
  22.      byte recommend;
  23.      byte move_index;
  24.      uint16 next;
  25. };
  26.  
  27. #endif
  28.