mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 03:42:34 +01:00
- [EMU] added RAND.H which includes stdlib for rand
- removed all non-PSX header includes
This commit is contained in:
parent
52a93ed65a
commit
8936f22569
1
.gitignore
vendored
1
.gitignore
vendored
@ -27,7 +27,6 @@ TDR/*
|
||||
xmplayer/*
|
||||
game_rebuild/*
|
||||
src_rebuild/dependencies/*
|
||||
# src_rebuild/EMULATOR/*
|
||||
src_rebuild/.vs/*
|
||||
src_rebuild/bin/*
|
||||
src_rebuild/obj/*
|
||||
|
6
src_rebuild/EMULATOR/RAND.H
Normal file
6
src_rebuild/EMULATOR/RAND.H
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef RAND_H
|
||||
#define RAND_H
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#endif
|
@ -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:
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "../ASM/ASMTEST.H"
|
||||
|
||||
#include "INLINE_C.H"
|
||||
#include <stdlib.h>
|
||||
#include "RAND.H"
|
||||
|
||||
MODEL* gBombModel;
|
||||
_ExOBJECT explosion[5];
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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];
|
||||
|
@ -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,
|
||||
|
@ -69,7 +69,7 @@
|
||||
|
||||
#include "PAUSE.H"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "RAND.H"
|
||||
#include "STRINGS.H"
|
||||
|
||||
#include <PLATFORM.H>
|
||||
|
@ -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 };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user