MCPcopy Create free account
hub / github.com/ZDoom/Raze / FRandom

Method FRandom

source/common/engine/m_random.cpp:142–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140//==========================================================================
141
142FRandom::FRandom (bool client)
143: NameCRC (0), bClient(client)
144{
145#ifndef NDEBUG
146 Name = NULL;
147#endif
148 if (bClient)
149 {
150 Next = CRNGList;
151 CRNGList = this;
152 }
153 else
154 {
155 Next = RNGList;
156 RNGList = this;
157 }
158 Init(0);
159}
160
161//==========================================================================
162//

Callers

nothing calls this directly

Calls 1

InitFunction · 0.85

Tested by

no test coverage detected