mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2026-05-04 22:33:51 +00:00
feat: sync with Whoa implementation
This commit is contained in:
parent
254ba545f5
commit
6a31dc3ea4
19 changed files with 988 additions and 774 deletions
16
tempest/random/CRandom.hpp
Normal file
16
tempest/random/CRandom.hpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue