- Disable the original Doom PRNG flag for a bunch of named generators.

This commit is contained in:
drfrag 2020-08-24 17:21:33 +02:00
parent eeef1c2dad
commit a228edf64f
8 changed files with 42 additions and 42 deletions

View file

@ -60,7 +60,7 @@
#include "vm.h"
#include "gstrings.h"
static FRandom pr_pickteam ("PickRandomTeam");
static FRandom pr_pickteam ("PickRandomTeam", false);
CVAR (Float, autoaim, 35.f, CVAR_USERINFO | CVAR_ARCHIVE);
CVAR (String, name, "Player", CVAR_USERINFO | CVAR_ARCHIVE);

View file

@ -123,7 +123,7 @@ CVAR(Int, sv_alwaystally, 0, CVAR_ARCHIVE | CVAR_SERVERINFO)
void G_VerifySkill();
static FRandom pr_classchoice ("RandomPlayerClassChoice");
static FRandom pr_classchoice ("RandomPlayerClassChoice", false);
extern level_info_t TheDefaultLevelInfo;
extern bool timingdemo;

View file

@ -42,7 +42,7 @@
#include "a_pickups.h"
#include "vm.h"
static FRandom pr_spot ("SpecialSpot");
static FRandom pr_spot ("SpecialSpot", false);
IMPLEMENT_CLASS(DSpotState, false, false)
TObjPtr<DSpotState*> DSpotState::SpotState;

View file

@ -92,14 +92,14 @@ static FRandom pr_camissile ("CustomActorfire", false);
static FRandom pr_cabullet ("CustomBullet", false);
static FRandom pr_cwjump ("CustomWpJump", false);
static FRandom pr_cwpunch ("CustomWpPunch", false);
static FRandom pr_grenade ("ThrowGrenade");
static FRandom pr_grenade ("ThrowGrenade", false);
static FRandom pr_crailgun ("CustomRailgun", false);
static FRandom pr_spawndebris ("SpawnDebris", false);
static FRandom pr_spawnitemex ("SpawnItemEx", false);
static FRandom pr_burst ("Burst", false);
static FRandom pr_monsterrefire ("MonsterRefire");
static FRandom pr_teleport("A_Teleport");
static FRandom pr_bfgselfdamage("BFGSelfDamage");
static FRandom pr_teleport("A_Teleport", false);
static FRandom pr_bfgselfdamage("BFGSelfDamage", false);
FRandom pr_cajump("CustomJump", false);
//==========================================================================

View file

@ -62,24 +62,24 @@
#include "gi.h"
static FRandom pr_checkmissilerange ("CheckMissileRange");
static FRandom pr_opendoor ("OpenDoor");
static FRandom pr_checkmissilerange ("CheckMissileRange", false);
static FRandom pr_opendoor ("OpenDoor", false);
static FRandom pr_trywalk ("TryWalk");
static FRandom pr_newchasedir ("NewChaseDir");
static FRandom pr_lookformonsters ("LookForMonsters");
static FRandom pr_lookforplayers ("LookForPlayers");
static FRandom pr_scaredycat ("Anubis");
FRandom pr_chase ("Chase");
static FRandom pr_facetarget ("FaceTarget");
static FRandom pr_railface ("RailFace");
static FRandom pr_look2 ("LookyLooky");
static FRandom pr_look3 ("IGotHooky");
static FRandom pr_slook ("SlooK");
static FRandom pr_dropoff ("Dropoff");
static FRandom pr_defect ("Defect");
static FRandom pr_newchasedir ("NewChaseDir", false);
static FRandom pr_lookformonsters ("LookForMonsters", false);
static FRandom pr_lookforplayers ("LookForPlayers", false);
static FRandom pr_scaredycat ("Anubis", false);
FRandom pr_chase ("Chase", false);
static FRandom pr_facetarget ("FaceTarget", false);
static FRandom pr_railface ("RailFace", false);
static FRandom pr_look2 ("LookyLooky", false);
static FRandom pr_look3 ("IGotHooky", false);
static FRandom pr_slook ("SlooK", false);
static FRandom pr_dropoff ("Dropoff", false);
static FRandom pr_defect ("Defect", false);
static FRandom pr_skiptarget("SkipTarget");
static FRandom pr_enemystrafe("EnemyStrafe");
static FRandom pr_skiptarget("SkipTarget", false);
static FRandom pr_enemystrafe("EnemyStrafe", false);
// movement interpolation is fine for objects that are moved by their own
// velocity. But for monsters it is problematic.

View file

@ -67,12 +67,12 @@
#include "events.h"
#include "actorinlines.h"
static FRandom pr_botrespawn ("BotRespawn");
static FRandom pr_killmobj ("ActorDie");
static FRandom pr_botrespawn ("BotRespawn", false);
static FRandom pr_killmobj ("ActorDie", false);
FRandom pr_damagemobj ("ActorTakeDamage");
static FRandom pr_lightning ("LightningDamage");
static FRandom pr_poison ("PoisonDamage");
static FRandom pr_switcher ("SwitchTarget");
static FRandom pr_lightning ("LightningDamage", false);
static FRandom pr_poison ("PoisonDamage", false);
static FRandom pr_switcher ("SwitchTarget", false);
CVAR (Bool, cl_showsprees, true, CVAR_ARCHIVE)
CVAR (Bool, cl_showmultikills, true, CVAR_ARCHIVE)

View file

@ -131,25 +131,25 @@ EXTERN_CVAR (Int, cl_rockettrails)
// PRIVATE DATA DEFINITIONS ------------------------------------------------
static FRandom pr_explodemissile ("ExplodeMissile");
FRandom pr_bounce ("Bounce");
static FRandom pr_reflect ("Reflect");
static FRandom pr_nightmarerespawn ("NightmareRespawn");
static FRandom pr_botspawnmobj ("BotSpawnActor");
static FRandom pr_spawnmapthing ("SpawnMapThing");
static FRandom pr_explodemissile ("ExplodeMissile", false);
FRandom pr_bounce ("Bounce", false);
static FRandom pr_reflect ("Reflect", false);
static FRandom pr_nightmarerespawn ("NightmareRespawn", false);
static FRandom pr_botspawnmobj ("BotSpawnActor", false);
static FRandom pr_spawnmapthing ("SpawnMapThing", false);
static FRandom pr_spawnpuff ("SpawnPuff");
static FRandom pr_spawnblood ("SpawnBlood");
static FRandom pr_splatter ("BloodSplatter");
static FRandom pr_splatter ("BloodSplatter", false);
static FRandom pr_takedamage ("TakeDamage");
static FRandom pr_splat ("FAxeSplatter");
static FRandom pr_ripperblood ("RipperBlood");
static FRandom pr_chunk ("Chunk");
static FRandom pr_checkmissilespawn ("CheckMissileSpawn");
static FRandom pr_splat ("FAxeSplatter", false);
static FRandom pr_ripperblood ("RipperBlood", false);
static FRandom pr_chunk ("Chunk", false);
static FRandom pr_checkmissilespawn ("CheckMissileSpawn", false);
static FRandom pr_spawnmissile ("SpawnMissile");
static FRandom pr_missiledamage ("MissileDamage");
static FRandom pr_multiclasschoice ("MultiClassChoice");
static FRandom pr_rockettrail("RocketTrail");
static FRandom pr_uniquetid("UniqueTID");
static FRandom pr_multiclasschoice ("MultiClassChoice", false);
static FRandom pr_rockettrail("RocketTrail", false);
static FRandom pr_uniquetid("UniqueTID", false);
// PUBLIC DATA DEFINITIONS -------------------------------------------------

View file

@ -48,7 +48,7 @@
#define FUDGEFACTOR 10
static FRandom pr_teleport ("Teleport");
static FRandom pr_teleport ("Teleport", false);
CVAR (Bool, telezoom, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG);