Reworked FRandom constructors
Removes ambiguity while keeping old constructor syntax in check for better overall portability.
This commit is contained in:
parent
a1a4a97dcd
commit
3ea5be1ea7
42 changed files with 130 additions and 119 deletions
|
|
@ -38,7 +38,7 @@
|
|||
#include "gi.h"
|
||||
#include <vm.h>
|
||||
|
||||
static FRandom pr_lightning ("Lightning", false);
|
||||
static FRandom pr_lightning ("Lightning");
|
||||
|
||||
IMPLEMENT_CLASS(DLightningThinker, false, false)
|
||||
|
||||
|
|
|
|||
|
|
@ -43,10 +43,10 @@
|
|||
// State.
|
||||
#include "serializer.h"
|
||||
|
||||
static FRandom pr_flicker ("Flicker", true);
|
||||
static FRandom pr_lightflash ("LightFlash", true);
|
||||
static FRandom pr_strobeflash ("StrobeFlash", true);
|
||||
static FRandom pr_fireflicker ("FireFlicker", true);
|
||||
static FCRandom pr_flicker ("Flicker");
|
||||
static FCRandom pr_lightflash ("LightFlash");
|
||||
static FCRandom pr_strobeflash ("StrobeFlash");
|
||||
static FCRandom pr_fireflicker ("FireFlicker");
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
#include "p_spec.h"
|
||||
#include "g_levellocals.h"
|
||||
|
||||
static FRandom pr_doplat ("DoPlat", false);
|
||||
static FRandom pr_doplat ("DoPlat");
|
||||
|
||||
IMPLEMENT_CLASS(DPlat, false, false)
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
#include "actorinlines.h"
|
||||
#include <p_maputl.h>
|
||||
|
||||
static FRandom pr_quake ("Quake", true);
|
||||
static FCRandom pr_quake ("Quake");
|
||||
|
||||
IMPLEMENT_CLASS(DEarthquake, false, true)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue