d_a_item 98%

This commit is contained in:
LagoLunatic
2023-10-14 23:30:07 -04:00
parent 3b1c9e9b41
commit c9485926d6
8 changed files with 603 additions and 113 deletions
+17 -2
View File
@@ -8,9 +8,24 @@ u16 U_GetAtanTable(float, float);
s16 cM_atan2s(float y, float x);
float cM_atan2f(float y, float x);
void cM_initRnd(int, int, int);
/**
* Returns a pseudo-random float between 0.0f and 1.0f.
*/
float cM_rnd(void);
float cM_rndF(float);
float cM_rndFX(float);
/**
* Returns a pseudo-random float between 0.0f and max.
* @param max The maximum value
*/
float cM_rndF(float max);
/**
* Returns a pseudo-random float between -max and max.
* @param max The maximum value
*/
float cM_rndFX(float max);
void cM_initRnd2(int, int, int);
float cM_rnd2(void);
float cM_rndF2(float);