summaryrefslogtreecommitdiff
path: root/include/d/snd/d_snd_rng.h
blob: 28f9ffd4d228a75477668e5ac83fa82a9c9e4a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef D_SND_RNG_H
#define D_SND_RNG_H

#include "common.h"

class dSndRng_c {
public:
    dSndRng_c();
    virtual ~dSndRng_c() {}

    bool rndBool(s32 chance);
    u32 rndInt(s32 max);

private:
    void init();

    /* 0x08 */ u64 field_0x08;
    /* 0x10 */ u64 field_0x10;
};

#endif