Home
last modified time | relevance | path

Searched refs:numchoice (Results 1 – 2 of 2) sorted by relevance

/dports/games/powder/powder118_src/
H A Dbuild.cpp2936 int x, y, numchoice = 0; in createCircle() local
2944 numchoice++; in createCircle()
2945 if (!rand_choice(numchoice)) in createCircle()
2954 if (numchoice) in createCircle()
H A Daction.cpp956 int numchoice = 0; in actionAttack() local
1003 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()