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

  1. /*
  2.  * $Header: xgo.c,v 1.2 88/02/13 12:54:27 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.  
  24. main (argc, argv, envp)
  25. int argc;
  26. char **argv, **envp;
  27. {
  28.  
  29.     char name[MAXLINE];
  30.  
  31.  
  32.     if (argc <= 1) helpstart(argv);
  33.     parseline(argc,argv);
  34.  
  35.  
  36.     dis = XOpenDisplay(display);
  37.     if (dis == NULL) error("\nYou need to be running X to execute this program.\n");
  38.     sockmask[0]= 1 << dpyno();
  39.  
  40.     changes();
  41.  
  42.     main0(argc, argv, envp);
  43. }
  44.  
  45. /*
  46.  * $Log:    xgo.c,v $
  47.  * Revision 1.2  88/02/13  12:54:27  hale
  48.  * added logging.
  49.  * 
  50.  */
  51.  
  52.