- [EMU] added RAND.H which includes stdlib for rand

- removed all non-PSX header includes
This commit is contained in:
Ilya Shurumov 2020-09-30 11:05:35 +06:00
parent 52a93ed65a
commit 8936f22569
11 changed files with 17 additions and 15 deletions

1
.gitignore vendored
View File

@ -27,7 +27,6 @@ TDR/*
xmplayer/*
game_rebuild/*
src_rebuild/dependencies/*
# src_rebuild/EMULATOR/*
src_rebuild/.vs/*
src_rebuild/bin/*
src_rebuild/obj/*

View File

@ -0,0 +1,6 @@
#ifndef RAND_H
#define RAND_H
#include <stdlib.h>
#endif

View File

@ -17,9 +17,9 @@
#include "CAMERA.H"
#include "OBJANIM.H"
#include "RAND.H"
#include "STRINGS.H"
#include "INLINE_C.H"
#include <stdlib.h>
// decompiled code
// original method signature:

View File

@ -20,7 +20,7 @@
#include "../ASM/ASMTEST.H"
#include "INLINE_C.H"
#include <stdlib.h>
#include "RAND.H"
MODEL* gBombModel;
_ExOBJECT explosion[5];

View File

@ -12,8 +12,8 @@
#include "INLINE_C.H"
#include <string.h>
#include <stdlib.h>
#include "RAND.H"
#include "STRINGS.H"
char* CosmeticFiles[] = {
"LEVELS\\CHICAGO.LCF",

View File

@ -26,10 +26,9 @@
#include "../ASM/ASMTEST.H"
#include "INLINE_C.H"
#include "RAND.H"
#include "STRINGS.H"
#include <stdlib.h>
TEXTURE_DETAILS digit_texture;
TRI_POINT debris_rot1[32]; // offset 0xC0A60

View File

@ -20,8 +20,8 @@
#include "SYSTEM.H"
#include "../MEMCARD/MAIN.H"
#include "RAND.H"
#include "STRINGS.H"
#include <stdlib.h>
TEXTURE_DETAILS delcam; // address 0xC0EE0
TEXTURE_DETAILS incar; // address 0xBF950

View File

@ -19,7 +19,7 @@
#include "../ASM/ASMTEST.H"
#include "INLINE_C.H"
#include <stdlib.h>
#include "RAND.H"
MODEL* gTrailblazerConeModel;
SMASHED_CONE smashed_cones[6];

View File

@ -24,9 +24,7 @@
#include "../ASM/ASMTEST.H"
#include "INLINE_C.H"
#include <stdlib.h>
#include "RAND.H"
int ElTrainData[83] = {
6, 80, 130, 32768, 336284, -220364, 283420, -2147483646,

View File

@ -69,7 +69,7 @@
#include "PAUSE.H"
#include <stdlib.h>
#include "RAND.H"
#include "STRINGS.H"
#include <PLATFORM.H>

View File

@ -15,8 +15,8 @@
#include "XAPLAY.H"
#include "PLAYERS.H"
#include <string.h>
#include <stdlib.h>
#include "RAND.H"
#include "STRINGS.H"
long dummylong[4] = { 0, 0, 0, 0 };