HomeSort by: relevance | last modified time | path
    Searched refs:drandom (Results 1 - 7 of 7) sorted by relevancy

  /src/games/phantasia/
macros.h 7 #define ROLL(BASE,INTERVAL) floor((BASE) + (INTERVAL) * drandom())
fight.c 105 if (drandom() * Curmonster.m_speed > drandom() * Player.p_speed
147 if (drandom() < Curmonster.m_flock / 100.0)
157 && drandom() > 0.2 + pow(0.4, (double) (flockcnt / 3 + Circle / 3.0)))
279 || drandom() * Player.p_speed * Player.p_brains
280 > drandom() * Curmonster.m_speed * Curmonster.m_brains)
326 if (drandom() < Player.p_sin / 100.0) {
334 if ((drandom() + 0.333) * Player.p_brains
335 < (drandom() + 0.333) * Curmonster.m_brains)
406 if (drandom() > 0.2
    [all...]
phantglobs.h 80 double drandom(void);
setup.c 31 double drandom(void);
48 / fgets(), floor(), srandom(), umask(), drandom(), strcpy(), getuid(),
253 / FUNCTION NAME: drandom()
274 drandom(void)
271 drandom(void) function
misc.c 240 if (drandom() < 0.02)
263 if (drandom() < 0.02)
280 if (drandom() < 0.02)
283 if (drandom() * numitems > Player.p_level / 10.0
309 if (drandom() < 0.02)
326 if (drandom() < 0.02)
349 if (drandom() < 0.02)
370 if (drandom() < 0.02)
400 ROLL(Circle * 20.0, 40.0), (drandom() < 0.5) ? "him" : "her");
1012 drandom(void function
    [all...]
interplayer.c 321 if (drandom() > 0.25) {
333 dtemp *= (drandom() + 0.5) * Player.p_magiclvl * 0.2 + 2.0;
338 if (Luckout || drandom() > 0.1) {
361 if (drandom() * Player.p_speed < drandom() * Other.p_speed)
508 if (drandom() / 2.0 < Player.p_sin) {
main.c 507 if (drandom() < 0.2 && Player.p_status == S_PLAYING && !Throne)
652 if (drandom() < 0.2 && Player.p_status == S_PLAYING && !Throne)
844 if (drandom() / 2.0 > (temp + 1.0) / MAX(Player.p_gold, 1))
891 if (drandom() * Player.p_sin > 1.0)

Completed in 33 milliseconds