diff options
| author | Erin Moon <erin@hecke.rs> | 2021-01-03 00:04:15 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-03 01:04:15 -0500 |
| commit | 5c4ac052c3eadf70cfb4810341ccfbbba22869e2 (patch) | |
| tree | 37f1e2f9a5d7f0ba7313c7229fa60bac11dcb453 /include/JSystem/JMath | |
| parent | b6791276753f676f07e5251d823b0969208f1dc8 (diff) | |
decomp some small files, do some cleanup (#42)
* remove leftover asm: JSUList.s
* d_save_init: decomp
* JMath/random: decomp
* J3DUDL: fixup label
* JAUClusterSound: decomp
* c_API_controller_pad: decomp, elaborate globals/types
* clang-format
* don't add guards to functions.h
* semantic merge of m_cpadInfo stuff
* fix undef symbols
Co-authored-by: Pheenoh <pheenoh@gmail.com>
Diffstat (limited to 'include/JSystem/JMath')
| -rw-r--r-- | include/JSystem/JMath/random.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/JSystem/JMath/random.h b/include/JSystem/JMath/random.h new file mode 100644 index 0000000000..ffe0f3b141 --- /dev/null +++ b/include/JSystem/JMath/random.h @@ -0,0 +1,19 @@ +#ifndef __JSYSTEM_JMATH_RANDOM_H__ +#define __JSYSTEM_JMATH_RANDOM_H__ + +#include "dolphin/types.h" + +namespace JMath { +struct TRandom_fast_ { + u32 value; + + TRandom_fast_(u32 value); +}; +} // namespace JMath + +// needed for Z2Calc.cpp +extern "C" { +void __ct__Q25JMath13TRandom_fast_FUl(JMath::TRandom_fast_*, u32); +}; + +#endif
\ No newline at end of file |
