home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / games / volume4 / xgo / part04 / xinit.c < prev    next >
C/C++ Source or Header  |  1988-04-08  |  1KB  |  51 lines

  1. /*
  2.  * $Header: xinit.c,v 1.3 88/02/19 13:49:31 hale Exp $
  3.  */
  4.  
  5. /*
  6.  
  7.         Copyright 1987      Greg Hale
  8.  
  9. Permission to use, copy, modify, and distribute this
  10. software and its documentation for any purpose and without
  11. fee is hereby granted, provided that the above copyright
  12. notice appear in all copies and that both that copyright
  13. notice and this permission notice appear in supporting
  14. documentation.  No representations are made about the
  15. suitability of this software for any purpose.  It is
  16. provided "as is" without express or implied warranty.
  17.  
  18. */
  19.  
  20.  
  21. #include "xgo.h"
  22.  
  23. Init()
  24. {
  25.     InitW();
  26.     InitBit();
  27.  
  28.     fi = XOpenFont("vtsingle");
  29.  
  30.     MAXX=dimensions; MAXY=dimensions;
  31.     hama[0]=0;
  32.     hama[1]=0;
  33.  
  34.     InitBoard(&board);
  35.     InitLoop();
  36. }
  37.  
  38. /*
  39.  * $Log:    xinit.c,v $
  40.  * Revision 1.3  88/02/19  13:49:31  hale
  41.  * Added io changes for loading games.
  42.  * Load game is cleaned up.  Variable board
  43.  * sizes and formats available in save game
  44.  * as well as printed comments.
  45.  * 
  46.  * Revision 1.2  88/02/13  12:54:34  hale
  47.  * added logging.
  48.  * 
  49.  */
  50.  
  51.