mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 10:22:48 +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 NewLowCarModel[5];
|
||||
|
||||
extern int whichCP = 0; // car poly counter
|
||||
extern int baseSpecCP = 0; // special car poly counter
|
||||
extern int whichCP; // car poly counter
|
||||
extern int baseSpecCP; // special car poly counter
|
||||
|
||||
extern MODEL* gCarLowModelPtr[5];
|
||||
extern MODEL* gCarDamModelPtr[5];
|
||||
|
@ -886,32 +886,41 @@ void ProcessDentLump(char *lump_ptr, int lump_size)
|
||||
/* end block 4 */
|
||||
// End Line: 2740
|
||||
|
||||
// [D]
|
||||
void SetupSpecDenting(char *loadbuffer)
|
||||
{
|
||||
UNIMPLEMENTED();
|
||||
/*
|
||||
char *pcVar1;
|
||||
unsigned char *from;
|
||||
unsigned char *to;
|
||||
|
||||
pcVar1 = &DAT_000c9e68;
|
||||
do {
|
||||
*pcVar1 = *loadbuffer;
|
||||
pcVar1 = pcVar1 + 1;
|
||||
loadbuffer = loadbuffer + 1;
|
||||
} while (pcVar1 < (char *)0xc9f94);
|
||||
pcVar1 = &DAT_000c3fd8;
|
||||
do {
|
||||
*pcVar1 = *loadbuffer;
|
||||
pcVar1 = pcVar1 + 1;
|
||||
loadbuffer = loadbuffer + 1;
|
||||
} while (pcVar1 < (char *)0xc417c);
|
||||
pcVar1 = &DAT_000c98b4;
|
||||
do {
|
||||
*pcVar1 = *loadbuffer;
|
||||
pcVar1 = pcVar1 + 1;
|
||||
loadbuffer = loadbuffer + 1;
|
||||
} while (pcVar1 < (char *)0xc99b3);
|
||||
return;
|
||||
*/
|
||||
from = (unsigned char*)gCarDamageZoneVerts[4];
|
||||
to = (unsigned char*)&gCarDamageZoneVerts[4][5][50]; // [A]
|
||||
if (true) {
|
||||
do {
|
||||
*from = *loadbuffer;
|
||||
from = from + 1;
|
||||
loadbuffer = (char *)((unsigned char *)loadbuffer + 1);
|
||||
} while (from < to);
|
||||
}
|
||||
|
||||
from = (unsigned char*)gHDCarDamageZonePolys[4];
|
||||
to = (unsigned char*)&gHDCarDamageZonePolys[4][5][70]; // [A]
|
||||
if (true) {
|
||||
do {
|
||||
*from = *loadbuffer;
|
||||
from = from + 1;
|
||||
loadbuffer = (char *)((unsigned char *)loadbuffer + 1);
|
||||
} while (from < to);
|
||||
}
|
||||
|
||||
from = (unsigned char*)gHDCarDamageLevels[4];
|
||||
to = (unsigned char*)&gHDCarDamageLevels[4][255]; // [A]
|
||||
if (true) {
|
||||
do {
|
||||
*from = *loadbuffer;
|
||||
from = from + 1;
|
||||
loadbuffer = (char *)((unsigned char *)loadbuffer + 1);
|
||||
} while (from < to);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user