Home
last modified time | relevance | path

Searched refs:MAX_CONCEALED (Results 1 – 6 of 6) sorted by relevance

/dports/games/mahjong/mj-1.16-src/
H A Dgreedy.c128 #define tcopy(new,old) memcpy((void *)new,(void *)old,(MAX_CONCEALED+1)*sizeof(Tile))
902 for (i=0; i<MAX_CONCEALED+1-1;i++) in tsort()
955 Tile copy[MAX_CONCEALED+1],copy2[MAX_CONCEALED+1]; in eval()
974 for ( ; i < MAX_CONCEALED+1 ; i++ ) copy[i] = HiddenTile; in eval()
1257 Tile tcopy[MAX_CONCEALED+1]; in evalhand()
1301 for ( ; i < MAX_CONCEALED+1; i++) in evalhand()
1401 double values[MAX_CONCEALED+1]; Tile tilesa[MAX_CONCEALED+1],tiles[MAX_CONCEALED+1] UNUSED; in decide_discard()
1406 for (i=0;i<MAX_CONCEALED+1;i++) values[i]=0; in decide_discard()
1408 for (;i<MAX_CONCEALED+1;i++) tilesa[i] = HiddenTile; in decide_discard()
H A Dplayer.h96 #define MAX_CONCEALED 14 macro
97 Tile concealed[MAX_CONCEALED]; /* the concealed tiles (if known) */
H A Dgui.h69 GtkWidget *conc[MAX_CONCEALED];
H A Dplayer.c78 for ( i = 0; i < MAX_CONCEALED; i++ ) (p->concealed)[i] = HiddenTile; in player_newhand()
164 if ( ! (p->num_concealed < MAX_CONCEALED) ) { in add_tile()
884 Tile ctiles[MAX_CONCEALED]; int nconc; in player_print_tiles()
H A Dgame.c605 if ( g->players[east]->num_concealed == MAX_CONCEALED in game_handle_cmsg()
606 && g->players[south]->num_concealed == MAX_CONCEALED-1 in game_handle_cmsg()
607 && g->players[west]->num_concealed == MAX_CONCEALED-1 in game_handle_cmsg()
608 && g->players[north]->num_concealed == MAX_CONCEALED-1 ) { in game_handle_cmsg()
H A Dgui.c2396 for ( ; i < MAX_CONCEALED ; i++ ) { in playerdisp_update_concealed()