Home
last modified time | relevance | path

Searched refs:M_Random (Results 1 – 25 of 136) sorted by relevance

123456

/dports/games/odamex/odamex-src-0.7.0/common/
H A Dc_effect.cpp123 p->velz -= M_Random () * 512; in P_DrawSplash()
125 p->accx += (M_Random () - 128) * 8; in P_DrawSplash()
126 p->accy += (M_Random () - 128) * 8; in P_DrawSplash()
127 p->z = z - M_Random () * 1024; in P_DrawSplash()
130 p->y = y + (M_Random () & 15)*finesine[an]; in P_DrawSplash()
233 if (M_Random() < 30) { in MakeFountain()
321 fixed_t pathdist = M_Random()<<8; in P_RunEffect()
336 fixed_t pathdist = M_Random()<<8; in P_RunEffect()
345 if (M_Random () & 7) in P_RunEffect()
497 int rand = M_Random(); in P_DrawRailTrail()
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dp_effect.cpp395 if (M_Random() < 30) { in MakeFountain()
436 fixed_t pathdist = M_Random()<<8; in P_RunEffect()
455 fixed_t pathdist = M_Random()<<8; in P_RunEffect()
468 if (M_Random () & 7) in P_RunEffect()
524 if (M_Random () < 128) in P_RunEffect()
559 p->velz -= M_Random () * 512; in P_DrawSplash()
563 p->z = z - M_Random () * 1024; in P_DrawSplash()
611 p->velz = M_Random () * zvel; in P_DrawSplash2()
749 int rand = M_Random(); in P_DrawRailTrail()
788 int rnd = M_Random (); in P_DrawRailTrail()
[all …]
H A Df_wipe.cpp91 y[0] = -(M_Random() & 15); in wipe_initMelt()
94 r = (M_Random()%3) - 1; in wipe_initMelt()
188 unsigned int v = M_Random(); in wipe_CalcBurn()
189 v = MIN(from[offs] + 4 + (v & 15) + (v >> 3) + (M_Random() & 31), 255u); in wipe_CalcBurn()
H A Dbbannouncer.cpp345 DoVoiceAnnounce (TooBadSounds[M_Random() % 3]); in AnnounceSpreeLoss()
365 DoVoiceAnnounce (GoodJobSounds[M_Random() % 3]); in AnnounceMultikill()
/dports/games/edge/Edge-1.35-source/src/
H A Dp_bot.cc94 int r = M_Random(); in BOT_NewChaseDir()
108 angle_t diff = r - M_Random(); in BOT_NewChaseDir()
199 value += (M_Random() - 128) * 16; in BOT_EvaluateWeapon()
485 bot->move_count = 10 + (M_Random() & 31); in BOT_Chase()
489 int r = M_Random(); in BOT_Chase()
492 bot->angle = M_Random() << 24; in BOT_Chase()
505 bot->move_count = 10 + (M_Random() & 31); in BOT_Chase()
528 bot->move_count = 20 + (M_Random() & 63); in BOT_Chase()
548 bot->move_count = 10 + (M_Random() & 31); in BOT_Chase()
572 bot->use_count = 30 + M_Random()/2; in BOT_Think()
[all …]
H A Dm_random.cc65 int M_Random(void) in M_Random() function
115 (M_Random()/255.0f < chance) ? true : false; in M_RandomTest()
H A Dm_random.h31 int M_Random(void);
/dports/games/odamex/odamex-src-0.7.0/client/src/
H A Df_wipe.cpp75 worms[0] = - (M_Random() & 15); in Wipe_StartMelt()
79 int random_value = (M_Random() % 3) - 1; in Wipe_StartMelt()
203 unsigned int v = M_Random(); in Wipe_TickBurn()
204 v = from[offs] + 4 + (v & 15) + (v >> 3) + (M_Random() & 31); in Wipe_TickBurn()
/dports/games/zdoom/zdoom-2.8.1/src/g_shared/
H A Dsbar_mugshot.cpp128 Random = M_Random(); in FMugShotState()
161 Random = M_Random(); in Tick()
180 Random = M_Random(); in Reset()
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Df_wipe.c73 y_lookup[0] = -(M_Random()%16); in wipe_initMelt()
76 int r = (M_Random()%3) - 1; in wipe_initMelt()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/heretic/
H A Ds_sound.c271 channel[i].pitch = (byte) (NORM_PITCH + (M_Random() & 7) - (M_Random() & 7)); in S_StartSound()
328 channel[i].pitch = (byte) (NORM_PITCH - (M_Random() & 3) + (M_Random() & 3)); in S_StartSoundAtVolume()
H A Dm_random.h23 int M_Random(void);
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/strife/
H A Dm_random.h30 int M_Random (void);
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/strife/
H A Dm_random.h30 int M_Random (void);
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/doom/
H A Dm_random.h29 int M_Random (void);
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/doom/
H A Dm_random.h29 int M_Random (void);
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/common/src/
H A Dp_view.c220 plr->viewOffset[VX] = (coord_t) ((M_Random() % (intensity << 2)) - (intensity << 1)); in P_CalcHeight()
221 plr->viewOffset[VY] = (coord_t) ((M_Random() % (intensity << 2)) - (intensity << 1)); in P_CalcHeight()
/dports/games/prboom/prboom-2.5.0/src/
H A Df_wipe.c76 y_lookup[0] = -(M_Random()%16); in wipe_initMelt()
79 int r = (M_Random()%3) - 1; in wipe_initMelt()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/hexen/
H A Dm_random.h23 int M_Random(void);
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/heretic/
H A Dm_random.h23 int M_Random(void);
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/hexen/
H A Dm_random.h23 int M_Random(void);
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/hexen/include/
H A Dm_random.h40 byte M_Random(void);
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/doom/include/
H A Dm_random.h40 byte M_Random(void);
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/doom64/include/
H A Dm_random.h40 byte M_Random(void);
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/heretic/include/
H A Dm_random.h40 byte M_Random(void);

123456