summaryrefslogtreecommitdiff
path: root/include/SSystem/SComponent/c_rnd.h
blob: dba7a0d998d05ac8052ec0b1aca6f986d5feb312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef C_RND_H
#define C_RND_H

#include "dolphin/types.h"

struct cM_rnd_c {
    /* 0x0 */ int m0;
    /* 0x4 */ int m4;
    /* 0x8 */ int m8;

    void init(int a, int b, int c);
    f32 get();
    f32 getF(f32);
    f32 getFX(f32);
    f32 getValue(f32 min, f32 max);
};

#endif /* C_RND_H */