ftp.nice.ch/pub/next/games/network/NeXTGo.2.7.NIHS.bs.gnutar.gz#/NeXTGo/GoApp.h

This is GoApp.h in view mode; [Download] [Up]

#include "comment.header"

/* Generated by Interface Builder */

/* $Id: GoApp.h,v 1.3 1997/07/06 19:38:21 ergo Exp $ */

/*
 * $Log: GoApp.h,v $
 * Revision 1.3  1997/07/06 19:38:21  ergo
 * actual version
 *
 * Revision 1.4  1997/05/30 18:44:14  ergo
 * Added an Inspector
 *
 * Revision 1.3  1997/05/04 18:57:17  ergo
 * added time control for moves
 *
 */

#import <appkit/Application.h>
#include "history.h"
#include "smartgo.h"
#include "igs.h"
#include "godict.h"
#include "GoServer.h"
#import "Controller.h"

extern unsigned char p[19][19], l[19][19], ma[19][19], ml[19][19];
extern char special_characters[19][19];
extern int hist[19][19], currentMoveNumber;
extern int rd, lib, play, pass, handicap, whiteSide, blackSide, MAXX, MAXY;
extern int currentStone, opposingStone, blackCaptured, whiteCaptured;
extern int blackTerritory, whiteTerritory, SmartGoGameFlag, initialization;
extern float black_Score, white_Score;
extern int blackCapturedKoI, blackCapturedKoJ, whiteCapturedKoI, whiteCapturedKoJ;
extern int bothSides, neitherSide, blackPassed, whitePassed, manualScoring, manScoreTemp;
extern int typeOfScoring, AGAScoring;
extern int opn[9];                               // opening pattern flag
extern int gameType;
extern BOOL finished;
extern gameHistory gameMoves[500];
extern int lastMove;
extern node *SGgameMoves, *currentNode;
extern FILE *smartGoInputFile;
extern char *SGfile, *currentSGfilePosition;
extern char *IGSStatusText, IGSPasswordText[20], IGSLoginText[20];

#ifndef KOMI
#define KOMI 5.5
#endif

@interface GoApp:Application
{
  DPSTimedEntry timer;
  id  gameWindow;
  id  MainGoView;
  id  handicapSlider;
  id  handicapText;
  id  BlackPlayer;
  id  WhitePlayer;
  id  prefPanel;
  id  savePrefsFlag;
  id  sizeSlider;
  id  sizeText;
  id  smartGoComments;
  id  smartGoPanel;
  id  smartGoNodeName;
  id  smartGoNodeNumber;
  id  smartgoVariants;
  id  stepForwardButton;
  id  stepBackwardButton;
  id  jumpForwardButton;
  id  jumpBackwardButton;
  id  scoringMethod;
  id  scoringType;
  id  AGAscoringMethodFlag;
  id  IGSCommand;
  id  IGSSendButton;
  id  IGSStatus;
  id  IGSobserveNumber;
  id  IGSPanel;
  id  IGSfont;
  id  IGSboldFont;
  id  LoadGameText;
  id  LoadGameWindow;
  id  observeSelPanel;
  id  observeScrollView;
  id  observeMatrix;
  id  observeBox;
  id  observeCell;
  id  loadMenuCell;
  id  observeMenuCell;
  id  unobserveMenuCell;
  id  versionString;
  id  transTypeMISC;
  id  transTypeNAME;
  id  transTypeCHAM;
  id  transTypeTECH;
  id  transTypePOLI;
  id  transTypeDIGI;
  id  transLangJP;
  id  transLangCH;
  id  transLangRK;
  id  transLangGB;
  id  transLangNL;
  id  transLangGE;
  id  transLangFR;
  id  transLangSV;
  id  transLangDG;
  id  transLangCP;
  id  translateWindow;
  id  translateTerm;
  id  translateResults;
  id  translateButton;
  id  formatMatrix;
  id  controller;
  id  gameInspector;
  id  CommandSender;
}

+ initialize;
- appDidInit:app;
- showError: (const char *)errorMessage;
- UserPass:sender;
- stopGame:sender;
- startGame:sender;
- NewGame:sender;
- SetPreferences:sender;
- stepSmartGoFile:sender;
- stepBackSmartGoFile:sender;
- jumpSmartGoFile:sender;
- jumpBackSmartGoFile:sender;
- openNeXTGoFile:(const char*)aFile;
- openSmartGoFile:(const char *)aFile;
- displayNewSGNode;
- AddSGComment:(char *)s;
- AddSGVariantName:(char *)s;
- SetSGNodeName:(char *)s;
- IGSSendCommand:sender;
- setCommandSender:(id)aSender;
- connect:(GoServer*)server;
- checkNetTraffic;
- SetIGSStatus:(char *)s;
- getGoView;
- open:sender;
- save:sender;
- setFormat:sender;

/*
  The following methods are related to the built-in dictionary
  */
- initTranslator:sender;
- performTranslate:sender;
- addTranslateResults:(char *)s;
- translateOutput:(GODICT *)d;

/*
  The following methods are the various commands for the Internet Go Server
  */

- IGSOpenLoadGame:sender;
- IGSLoadGame:sender;
- IGSobserve:sender;
- IGSunobserve:sender;
- IGSdone:sender;
- IGSquit:sender;
- cellClicked:theCell;
- sendCommand:sender;
- gameCompleted;

@end



These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.