mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-19 01:24:09 +00:00
fixed CParticle crash && RandTable
implemented PC codewarrior rand updated premake
This commit is contained in:
parent
2bf6674afc
commit
3ef6029764
9 changed files with 39 additions and 15 deletions
|
@ -145,6 +145,12 @@ inline float sq(float x) { return x*x; }
|
|||
#define DEGTORAD(x) ((x) * PI / 180.0f)
|
||||
#define RADTODEG(x) ((x) * 180.0f / PI)
|
||||
|
||||
#if USE_PS2_RAND == TRUE
|
||||
#define MYRAND_MAX 65535
|
||||
#else
|
||||
#define MYRAND_MAX 32767
|
||||
#endif
|
||||
|
||||
int myrand(void);
|
||||
void mysrand(unsigned int seed);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue