home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume4
/
xgo
/
part04
/
xinit.c
< prev
next >
Wrap
C/C++ Source or Header
|
1988-04-08
|
1KB
|
51 lines
/*
* $Header: xinit.c,v 1.3 88/02/19 13:49:31 hale Exp $
*/
/*
Copyright 1987 Greg Hale
Permission to use, copy, modify, and distribute this
software and its documentation for any purpose and without
fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting
documentation. No representations are made about the
suitability of this software for any purpose. It is
provided "as is" without express or implied warranty.
*/
#include "xgo.h"
Init()
{
InitW();
InitBit();
fi = XOpenFont("vtsingle");
MAXX=dimensions; MAXY=dimensions;
hama[0]=0;
hama[1]=0;
InitBoard(&board);
InitLoop();
}
/*
* $Log: xinit.c,v $
* Revision 1.3 88/02/19 13:49:31 hale
* Added io changes for loading games.
* Load game is cleaned up. Variable board
* sizes and formats available in save game
* as well as printed comments.
*
* Revision 1.2 88/02/13 12:54:34 hale
* added logging.
*
*/