mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2026-05-04 14:33:50 +00:00
16 lines
344 B
C++
16 lines
344 B
C++
#ifndef TEMPEST_RANDOM_C_RANDOM_HPP
|
|
#define TEMPEST_RANDOM_C_RANDOM_HPP
|
|
|
|
#include "tempest/random/CRndSeed.hpp"
|
|
#include <cstdint>
|
|
|
|
extern const uint32_t gnoise32[];
|
|
|
|
class CRandom {
|
|
public:
|
|
// Static functions
|
|
static uint32_t dice(uint32_t sides, CRndSeed& seed);
|
|
static uint32_t uint32(CRndSeed& seed);
|
|
};
|
|
|
|
#endif
|