diff options
author | Russ Allbery <rra@debian.org> | 2016-07-02 13:38:40 -0700 |
---|---|---|
committer | Russ Allbery <rra@debian.org> | 2016-07-02 13:38:40 -0700 |
commit | a92a560637b87da633f44af0049f55e419a0dd05 (patch) | |
tree | ce8d2ad89e6769d97e8662f95867823eea9b6e84 /gtkboard.h | |
parent | 6fd8c2586f4de4f7f8f70dfc19f0ef51f44ea4c7 (diff) |
Imported Upstream version 1.05.002
Diffstat (limited to 'gtkboard.h')
-rw-r--r-- | gtkboard.h | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: gtkboard.h,v 1.101 2013/06/16 02:16:13 mdpetch Exp $ + * $Id: gtkboard.h,v 1.103 2015/12/04 23:07:52 plm Exp $ */ #ifndef GTKBOARD_H @@ -29,7 +29,7 @@ #include "common.h" #include "render.h" -#if USE_BOARD3D +#if defined(USE_BOARD3D) #include "types3d.h" #endif @@ -111,7 +111,7 @@ struct _BoardData { int iTargetHelpPoints[4]; /* Drag target position */ int grayBoard; /* Show board grayed when editing */ -#if USE_BOARD3D +#if defined(USE_BOARD3D) BoardData3d *bd3d; /* extra members for 3d board */ #endif renderdata *rd; /* The board colour settings */ @@ -165,14 +165,7 @@ enum TheoryTypes { TT_PIPCOUNT = 1, TT_EPC = 2, TT_RETURNHITS = 4, TT_KLEINCOUNT void UpdateTheoryData(BoardData * bd, int UpdateTypes, const TanBoard points); extern void read_board(BoardData * bd, TanBoard points); -extern void update_gnubg_id(BoardData * bd, const TanBoard points); extern void update_pipcount(BoardData * bd, const TanBoard points); -extern void write_board(BoardData * bd, TanBoard anBoard); -extern void board_beep(BoardData * bd); -extern void Confirm(BoardData * bd); -extern int update_move(BoardData * bd); -extern gboolean place_chequer_or_revert(BoardData * bd, int dest); -extern gboolean LegalDestPoints(BoardData * bd, int iDestPoints[4]); extern void InitBoardData(BoardData * bd); extern gboolean board_button_press(GtkWidget * board, GdkEventButton * event, BoardData * bd); extern gboolean board_motion_notify(GtkWidget * widget, GdkEventMotion * event, BoardData * bd); @@ -180,8 +173,6 @@ extern gboolean board_button_release(GtkWidget * board, GdkEventButton * event, extern void RollDice2d(BoardData * bd); extern void DestroyPanel(gnubgwindow window); extern void - - DrawDie(GdkDrawable * pd, unsigned char *achDice[2], unsigned char *achPip[2], const int s, GdkGC * gc, int x, int y, int fColour, int n, int alpha); |