1 #pragma once 2 /* 3 * Gyatzee: Gnomified Yahtzee game. 4 * (C) 1998 the Free Software Foundation 5 * 6 * File: gyahtzee.h 7 * 8 * Author: Scott Heavner 9 * 10 */ 11 #define SCOREROWS (NUM_FIELDS+5) 12 13 /* Screen row numbers containing totals */ 14 #define R_UTOTAL (NUM_UPPER+1) 15 #define R_BONUS (R_UTOTAL-1) 16 #define R_BLANK1 (R_UTOTAL+1) 17 #define R_GTOTAL (SCOREROWS-1) 18 #define R_LTOTAL (R_GTOTAL-1) 19 20 /* clist.c */ 21 extern GtkWidget *create_score_list (void); 22 extern void setup_score_list (GtkWidget * scorelist); 23 extern void update_score_cell (GtkWidget * scorelist, int row, int col, 24 int val); 25 extern void ShowoffPlayerColumn (GtkWidget * scorelist, int player, int so); 26 extern void ShowoffPlayer (GtkWidget * scorelist, int player, int so); 27 extern void score_list_set_column_title (GtkWidget * scorelist, int column, 28 const char *str); 29 extern void update_score_tooltips (void); 30 /* setup.c */ 31 extern void setup_game (void); 32 extern void GRenamePlayer (gint playerno); 33 extern GameType game_type_from_string(const gchar *string); 34 extern GameType get_new_game_type(void); 35 extern void set_new_game_type(GameType type); 36 37 /* gyahtzee.c */ 38 extern int GyahtzeeAbort; 39 extern GtkWidget *ScoreList; 40 extern void update_undo_sensitivity(void); 41