diff --git a/.gitignore b/.gitignore index 1b17a801..2395100f 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,5 @@ Compilers.zip Compilers/* *.ninja *.ninja_log -doxygen/* \ No newline at end of file +doxygen/* +scripts/* \ No newline at end of file diff --git a/libs/JSystem/csv/JMath.csv b/libs/JSystem/csv/JMath.csv index f94aeec7..62036450 100644 --- a/libs/JSystem/csv/JMath.csv +++ b/libs/JSystem/csv/JMath.csv @@ -4,7 +4,7 @@ JMAQuatLerp__FPC10QuaternionPC10QuaternionfP10Quaternion,JMath.o,JMath.a,false JMAVECScaleAdd__FPC3VecPC3VecP3Vecf,JMath.o,JMath.a,false JMAVECLerp__FPC3VecPC3VecP3Vecf,JMath.o,JMath.a,false JMAMTXApplyScale__FPA4_CfPA4_ffff,JMath.o,JMath.a,false -__ct__Q25JMath13TRandom_fast_FUl,random.o,JMath.a,false +__ct__Q25JMath13TRandom_fast_FUl,random.o,JMath.a,true atan2___Q25JMath18TAtanTable<1024,f>CFff,JMATrigonometric.o,JMath.a,false __sinit_\JMATrigonometric_cpp,JMATrigonometric.o,JMath.a,false get___Q25JMath18TAtanTable<1024,f>CFff,JMATrigonometric.o,JMath.a,false diff --git a/libs/JSystem/data/JSystem.json b/libs/JSystem/data/JSystem.json index 4dbfb603..fdbc3e2d 100644 --- a/libs/JSystem/data/JSystem.json +++ b/libs/JSystem/data/JSystem.json @@ -1,6 +1,6 @@ { "schemaVersion": 1, "label": "JSystem", - "message": "3.461%", + "message": "3.57%", "color": "blue" } \ No newline at end of file diff --git a/libs/JSystem/docs/lib/JKernel.md b/libs/JSystem/docs/lib/JKernel.md index 3f7b9fcd..18da483c 100644 --- a/libs/JSystem/docs/lib/JKernel.md +++ b/libs/JSystem/docs/lib/JKernel.md @@ -9,7 +9,7 @@ | Object | Percentage (of Bytes) | Functions Done / Total Functions | Percentage (Functions) | Status | ------------- | ------------- | ------------- | ------------- | ------------- | JKRHeap.o | 65.04065040650406% | 43 / 48 | 89.58333333333334% | :eight_pointed_black_star: -| JKRExpHeap.o | 12.492869366799772% | 8 / 40 | 20.0% | :eight_pointed_black_star: +| JKRExpHeap.o | 18.083285795778664% | 10 / 40 | 25.0% | :eight_pointed_black_star: | JKRSolidHeap.o | 0.0% | 0 / 20 | 0.0% | :x: | JKRUnitHeap.o | 0.0% | 0 / 26 | 0.0% | :x: | JKRDisposer.o | 100.0% | 3 / 3 | 100.0% | :white_check_mark: @@ -90,8 +90,8 @@ | Symbol | Decompiled? | | ------------- | ------------- | | createRoot__10JKRExpHeapFib | :white_check_mark: | -| create__10JKRExpHeapFUlP7JKRHeapb | :x: | -| create__10JKRExpHeapFPvUlP7JKRHeapb | :x: | +| create__10JKRExpHeapFUlP7JKRHeapb | :white_check_mark: | +| create__10JKRExpHeapFPvUlP7JKRHeapb | :white_check_mark: | | do_destroy__10JKRExpHeapFv | :white_check_mark: | | __ct__10JKRExpHeapFPvUlP7JKRHeapb | :white_check_mark: | | __dt__10JKRExpHeapFv | :x: | diff --git a/libs/JSystem/docs/lib/JMath.md b/libs/JSystem/docs/lib/JMath.md index 8142ade5..0f325f69 100644 --- a/libs/JSystem/docs/lib/JMath.md +++ b/libs/JSystem/docs/lib/JMath.md @@ -9,7 +9,7 @@ | Object | Percentage (of Bytes) | Functions Done / Total Functions | Percentage (Functions) | Status | ------------- | ------------- | ------------- | ------------- | ------------- | JMath.o | 0.0% | 0 / 5 | 0.0% | :x: -| random.o | 0.0% | 0 / 1 | 0.0% | :x: +| random.o | 100.0% | 1 / 1 | 100.0% | :white_check_mark: | JMATrigonometric.o | 0.0% | 0 / 6 | 0.0% | :x: @@ -26,7 +26,7 @@ # random.o | Symbol | Decompiled? | | ------------- | ------------- | -| __ct__Q25JMath13TRandom_fast_FUl | :x: | +| __ct__Q25JMath13TRandom_fast_FUl | :white_check_mark: | # JMATrigonometric.o diff --git a/libs/JSystem/include/JSystem/JMath/random.h b/libs/JSystem/include/JSystem/JMath/random.h new file mode 100644 index 00000000..fc3e92bd --- /dev/null +++ b/libs/JSystem/include/JSystem/JMath/random.h @@ -0,0 +1,12 @@ +#pragma once + +#include + +namespace JMath { + class TRandom_fast_ { + public: + TRandom_fast_(u32); + + u32 mSeed; // _0 + }; +}; \ No newline at end of file diff --git a/libs/JSystem/source/JSystem/JMath/random.cpp b/libs/JSystem/source/JSystem/JMath/random.cpp new file mode 100644 index 00000000..81a4096f --- /dev/null +++ b/libs/JSystem/source/JSystem/JMath/random.cpp @@ -0,0 +1,7 @@ +#include "JSystem/JMath/random.h" + +namespace JMath { + TRandom_fast_::TRandom_fast_(u32 seed) : mSeed(seed) { + + } +}; \ No newline at end of file