Searched refs:numchoice (Results 1 – 2 of 2) sorted by relevance
2936 int x, y, numchoice = 0; in createCircle() local2944 numchoice++; in createCircle()2945 if (!rand_choice(numchoice)) in createCircle()2954 if (numchoice) in createCircle()
956 int numchoice = 0; in actionAttack() local1003 validchoice[numchoice++] = slot; in actionAttack()1030 if (!numchoice) in actionAttack()1032 else if (numchoice > 1) // Equality leaves it unchanged. in actionAttack()1044 for (iter = 1; iter < numchoice; iter++) in actionAttack()1061 slot = validchoice[rand_choice(numchoice)]; in actionAttack()