Lines Matching refs:rand
71 SetHighColor(rand() % 256, rand() % 256, rand() % 256);
112 switch (rand() % 4) {
119 bounds.right += rand() % 21 - 10;
120 bounds.bottom += rand() % 21 - 10;
134 leftTop.x += rand() % 21 - 10;
135 leftTop.y += rand() % 21 - 10;
148 SetTitle(kChoices[rand() % (sizeof(kChoices) / sizeof(char*))]);
159 SetLook(kLooks[rand() % (sizeof(kLooks) / sizeof(kLooks[0]))]);