Lines Matching refs:combostr

61 static struct combostr *hashcombos[FAREA];/* hash list for finding duplicates */
62 static struct combostr *sortcombos; /* combos at higher levels */
73 static void makecombo2(struct combostr *, struct spotstr *, u_char, u_short);
75 static void makecombo(struct combostr *, struct spotstr *, u_char, u_short);
76 static void appendcombo(struct combostr *);
77 static void updatecombo(struct combostr *, player_color);
78 static void makeempty(struct combostr *);
79 static int checkframes(struct combostr *, struct combostr *, struct spotstr *,
81 static bool sortcombo(struct combostr **, struct combostr **, struct combostr *);
83 static void printcombo(struct combostr *, char *, size_t);
252 struct combostr *ecbp; in scanframes()
262 struct combostr *cbp = sortframes[color]; in scanframes()
398 struct combostr *ncbp; in scanframes()
430 makecombo2(struct combostr *ocbp, struct spotstr *osp, u_char off, u_short cv) in makecombo2()
432 struct combostr *ncbp; in makecombo2()
435 struct combostr **scbpp, *fcbp; in makecombo2()
489 ncbp = (struct combostr *)malloc(sizeof(struct combostr) + in makecombo2()
490 2 * sizeof(struct combostr *)); in makecombo2()
566 struct combostr *cbp, *ecbp; in addframes()
570 struct combostr **cbpp, *pcbp; in addframes()
665 makecombo(struct combostr *ocbp, struct spotstr *osp, u_char off, u_short cv) in makecombo()
667 struct combostr *cbp; in makecombo()
669 struct combostr **scbpp; in makecombo()
726 struct combostr *ncbp = malloc(sizeof(struct combostr) + in makecombo()
727 (cbp->c_nframes + 1) * sizeof(struct combostr *)); in makecombo()
801 static struct combostr *ecombo[MAXDEPTH]; /* separate from elist to save space */
808 makeempty(struct combostr *ocbp) in makeempty()
810 struct combostr *cbp, **cbpp; in makeempty()
964 updatecombo(struct combostr *cbp, player_color color) in updatecombo()
966 struct combostr *tcbp; in updatecombo()
1052 appendcombo(struct combostr *cbp) in appendcombo()
1054 struct combostr *pcbp, *ncbp; in appendcombo()
1081 checkframes(struct combostr *cbp, struct combostr *fcbp, struct spotstr *osp, in checkframes()
1084 struct combostr *tcbp, *lcbp; in checkframes()
1213 sortcombo(struct combostr **scbpp, struct combostr **cbpp, in sortcombo()
1214 struct combostr *fcbp) in sortcombo()
1216 struct combostr **spp, **cpp; in sortcombo()
1217 struct combostr *cbp, *ecbp; in sortcombo()
1262 fcbp = (void *)((char *)scbpp - sizeof(struct combostr)); in sortcombo()
1314 fcbp = (void *)((char *)scbpp - sizeof(struct combostr)); in sortcombo()
1329 printcombo(struct combostr *cbp, char *buf, size_t max) in printcombo()
1331 struct combostr *tcbp; in printcombo()
1349 markcombo(struct combostr *ocbp) in markcombo()
1351 struct combostr *cbp, **cbpp; in markcombo()
1464 clearcombo(struct combostr *cbp, int open) in clearcombo()
1466 struct combostr *tcbp; in clearcombo()