home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR2 / CBUFF09.ZIP / SRC.ZIP / MACHINE.H < prev    next >
Text File  |  1993-11-16  |  2KB  |  63 lines

  1. /*  $Id$
  2.  *  
  3.  *  File    machine.h
  4.  *  Part of    ChessBase utilities file format (CBUFF)
  5.  *  Author    Anjo Anjewierden, anjo@swi.psy.uva.nl
  6.  *  Purpose    Machine dependencies
  7.  *  Works with    GNU CC 2.4.5
  8.  *  
  9.  *  Notice    Copyright (c) 1993  Anjo Anjewierden
  10.  *  
  11.  *  History    21/10/93  (Created)
  12.  *          10/11/93  (Last modified)
  13.  */ 
  14.  
  15.  
  16. /*------------------------------------------------------------
  17.  *  Description
  18.  *------------------------------------------------------------
  19.  *
  20.  *  This file contains machine dependencies (both hardware and
  21.  *  software).  It may be necessary to edit the values below
  22.  *  depending on the environment.
  23.  */
  24.  
  25.  
  26. /*  MAX_LEVEL_NESTING determines the maximum number of
  27.  *  "levels" in the comments.  The current value is a reasonable
  28.  *  limit (event suitable for GM Hubner).
  29.  */
  30. #define MAX_LEVEL_NESTING    50
  31.  
  32.  
  33. /*  MAX_FILE_NAME_SIZE determines the maximum length (in bytes)
  34.  *  of a file name.
  35.  */
  36. #define MAX_FILE_NAME_SIZE    256    /* Really depends on OS */
  37.  
  38.  
  39. /*  HAS_GETENV determines whether your software environment knows
  40.  *  about the getenv() call.  getenv() is used to determine the
  41.  *  the CBUFF directory which contains several ``standard files''.
  42.  */
  43. #define HAS_GETENV        1
  44.  
  45.  
  46. /*  MAX_NAME_SIZE is the maximum size (in characters) of a name.
  47.  *  This constant is mostly used to store names of players and
  48.  *  the source field.
  49.  */
  50. #define MAX_NAME_SIZE        100
  51.  
  52.  
  53. /*  MAX_LINE_SIZE is the maximum size of a line when reading an
  54.  *  ASCII file.
  55.  */
  56. #define MAX_LINE_SIZE        1024
  57.  
  58.  
  59. /*  If PROTECTED_GAMES is 1 then source code for checking a game
  60.  *  against the ChessBase user id is included.  The default is 0.
  61.  */
  62. #define PROTECTED_GAMES        0
  63.