mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Replaced most of usages of CRandomGenerator with vstd::RNG in library
This commit is contained in:
@@ -17,7 +17,6 @@ VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
class CMap;
|
||||
class CMapEditManager;
|
||||
class CRandomGenerator;
|
||||
class TileInfo;
|
||||
class CMapGenOptions;
|
||||
class Zone;
|
||||
@@ -25,6 +24,11 @@ class CMapGenerator;
|
||||
class MapProxy;
|
||||
class playerInfo;
|
||||
|
||||
namespace vstd
|
||||
{
|
||||
class RNG;
|
||||
}
|
||||
|
||||
class RmgMap
|
||||
{
|
||||
public:
|
||||
@@ -79,7 +83,7 @@ public:
|
||||
void registerZone(FactionID faction);
|
||||
ui32 getZoneCount(FactionID faction);
|
||||
ui32 getTotalZoneCount() const;
|
||||
void initTiles(CMapGenerator & generator, CRandomGenerator & rand);
|
||||
void initTiles(CMapGenerator & generator, vstd::RNG & rand);
|
||||
void addModificators();
|
||||
|
||||
bool isAllowedSpell(const SpellID & sid) const;
|
||||
|
||||
Reference in New Issue
Block a user