~ubuntu-branches/ubuntu/warty/gnushogi/warty

« back to all changes in this revision

Viewing changes to gnushogi/rawdsp.h

  • Committer: Bazaar Package Importer
  • Author(s): Javier Fernandez-Sanguino Pen~a
  • Date: 2004-01-09 16:06:59 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040109160659-n26nu7009llm247p
Tags: 1.3-3.1
* NMU
 - Minimal testing done and looks quite OK (even if I don't know
   how to play the game...)
 - Build-Depends move from libxaw-dev to libxaw6-dev (Closes: #169975)
 - Included errno.h in gnushogi which makes the binary build properly
   now (and is usable with xshogi) (Closes: #226319)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * FILE: rawdsp.h
 
3
 *
 
4
 *     Raw text interface for GNU Shogi.
 
5
 *
 
6
 * ----------------------------------------------------------------------
 
7
 * Copyright (c) 1993, 1994, 1995 Matthias Mutz
 
8
 * Copyright (c) 1999 Michael Vanier and the Free Software Foundation
 
9
 *
 
10
 * GNU SHOGI is based on GNU CHESS
 
11
 *
 
12
 * Copyright (c) 1988, 1989, 1990 John Stanback
 
13
 * Copyright (c) 1992 Free Software Foundation
 
14
 *
 
15
 * This file is part of GNU SHOGI.
 
16
 *
 
17
 * GNU Shogi is free software; you can redistribute it and/or modify it
 
18
 * under the terms of the GNU General Public License as published by the
 
19
 * Free Software Foundation; either version 1, or (at your option) any
 
20
 * later version.
 
21
 *
 
22
 * GNU Shogi is distributed in the hope that it will be useful, but WITHOUT
 
23
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
24
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 
25
 * for more details.
 
26
 *
 
27
 * You should have received a copy of the GNU General Public License along
 
28
 * with GNU Shogi; see the file COPYING.  If not, write to the Free
 
29
 * Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
30
 * ----------------------------------------------------------------------
 
31
 *
 
32
 */
 
33
 
 
34
#ifndef _RAWDSP_H_
 
35
#define _RAWDSP_H_
 
36
 
 
37
/* The following are common to rawdsp.h and cursesdsp.h */
 
38
 
 
39
void Raw_ChangeAlphaWindow(void);
 
40
void Raw_ChangeBetaWindow(void);
 
41
void Raw_ChangeHashDepth(void);
 
42
void Raw_ChangeSearchDepth(void);
 
43
void Raw_ChangeXwindow(void);
 
44
void Raw_ClearScreen(void);
 
45
void Raw_Die(int sig);
 
46
void Raw_DoDebug(void);
 
47
void Raw_DoTable(short table[NO_SQUARES]);
 
48
void Raw_EditBoard(void);
 
49
void Raw_ExitShogi(void);
 
50
void Raw_GiveHint(void);
 
51
void Raw_Initialize(void);
 
52
void Raw_OutputMove(void);
 
53
void Raw_SearchStartStuff(short side);
 
54
void Raw_SelectLevel(char *sx);
 
55
void Raw_SetContempt(void);
 
56
void Raw_ShowCurrentMove(short pnt, short f, short t);
 
57
void Raw_ShowDepth(char ch);
 
58
void Raw_ShowGameType(void);
 
59
void Raw_ShowLine(unsigned short *bstline);
 
60
void Raw_ShowMessage(char *s);
 
61
void Raw_ShowPatternCount(short side, short n);
 
62
void Raw_ShowPostnValue(short sq);
 
63
void Raw_ShowPostnValues(void);
 
64
void Raw_ShowResponseTime(void);
 
65
void Raw_ShowResults(short score, unsigned short *bstline, char ch);
 
66
void Raw_ShowSidetoMove(void);
 
67
void Raw_ShowStage(void);
 
68
void Raw_TerminateSearch(int sig);
 
69
void Raw_UpdateDisplay(short f, short t, short redraw, short isspec);
 
70
void Raw_help(void);
 
71
 
 
72
 
 
73
/* The following are only found in rawdsp.h: */
 
74
 
 
75
void PromptForMove(void);
 
76
void SetupBoard(void);
 
77
 
 
78
#endif /* _RAWDSP_H_ */
 
79