mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 18:32:42 +01:00
- implement SetupSpecDenting
- update Ghidra DB
This commit is contained in:
parent
433370e9a4
commit
c455065eda
Binary file not shown.
Binary file not shown.
@ -4,8 +4,8 @@
|
|||||||
extern CAR_MODEL NewCarModel[5];
|
extern CAR_MODEL NewCarModel[5];
|
||||||
extern CAR_MODEL NewLowCarModel[5];
|
extern CAR_MODEL NewLowCarModel[5];
|
||||||
|
|
||||||
extern int whichCP = 0; // car poly counter
|
extern int whichCP; // car poly counter
|
||||||
extern int baseSpecCP = 0; // special car poly counter
|
extern int baseSpecCP; // special car poly counter
|
||||||
|
|
||||||
extern MODEL* gCarLowModelPtr[5];
|
extern MODEL* gCarLowModelPtr[5];
|
||||||
extern MODEL* gCarDamModelPtr[5];
|
extern MODEL* gCarDamModelPtr[5];
|
||||||
|
@ -886,32 +886,41 @@ void ProcessDentLump(char *lump_ptr, int lump_size)
|
|||||||
/* end block 4 */
|
/* end block 4 */
|
||||||
// End Line: 2740
|
// End Line: 2740
|
||||||
|
|
||||||
|
// [D]
|
||||||
void SetupSpecDenting(char *loadbuffer)
|
void SetupSpecDenting(char *loadbuffer)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED();
|
unsigned char *from;
|
||||||
/*
|
unsigned char *to;
|
||||||
char *pcVar1;
|
|
||||||
|
|
||||||
pcVar1 = &DAT_000c9e68;
|
from = (unsigned char*)gCarDamageZoneVerts[4];
|
||||||
|
to = (unsigned char*)&gCarDamageZoneVerts[4][5][50]; // [A]
|
||||||
|
if (true) {
|
||||||
do {
|
do {
|
||||||
*pcVar1 = *loadbuffer;
|
*from = *loadbuffer;
|
||||||
pcVar1 = pcVar1 + 1;
|
from = from + 1;
|
||||||
loadbuffer = loadbuffer + 1;
|
loadbuffer = (char *)((unsigned char *)loadbuffer + 1);
|
||||||
} while (pcVar1 < (char *)0xc9f94);
|
} while (from < to);
|
||||||
pcVar1 = &DAT_000c3fd8;
|
}
|
||||||
|
|
||||||
|
from = (unsigned char*)gHDCarDamageZonePolys[4];
|
||||||
|
to = (unsigned char*)&gHDCarDamageZonePolys[4][5][70]; // [A]
|
||||||
|
if (true) {
|
||||||
do {
|
do {
|
||||||
*pcVar1 = *loadbuffer;
|
*from = *loadbuffer;
|
||||||
pcVar1 = pcVar1 + 1;
|
from = from + 1;
|
||||||
loadbuffer = loadbuffer + 1;
|
loadbuffer = (char *)((unsigned char *)loadbuffer + 1);
|
||||||
} while (pcVar1 < (char *)0xc417c);
|
} while (from < to);
|
||||||
pcVar1 = &DAT_000c98b4;
|
}
|
||||||
|
|
||||||
|
from = (unsigned char*)gHDCarDamageLevels[4];
|
||||||
|
to = (unsigned char*)&gHDCarDamageLevels[4][255]; // [A]
|
||||||
|
if (true) {
|
||||||
do {
|
do {
|
||||||
*pcVar1 = *loadbuffer;
|
*from = *loadbuffer;
|
||||||
pcVar1 = pcVar1 + 1;
|
from = from + 1;
|
||||||
loadbuffer = loadbuffer + 1;
|
loadbuffer = (char *)((unsigned char *)loadbuffer + 1);
|
||||||
} while (pcVar1 < (char *)0xc99b3);
|
} while (from < to);
|
||||||
return;
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user