mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 18:32:42 +01:00
- implement FildModelPtrWithName, InitModelNames
This commit is contained in:
parent
6100845a24
commit
bfbe9a4175
@ -564,27 +564,26 @@ int ReplayLog_Fnarr_He_Said_Log(int val)
|
||||
|
||||
/* WARNING: Unknown calling convention yet parameter storage is locked */
|
||||
|
||||
// [D]
|
||||
void InitModelNames(void)
|
||||
{
|
||||
UNIMPLEMENTED();
|
||||
/*
|
||||
gHubcapModelPtr = FindModelPtrWithName(s_HUBCAP1_000aa648);
|
||||
gCleanWheelModelPtr = FindModelPtrWithName(s_CLEANWHEEL_00010cd0);
|
||||
gFastWheelModelPtr = FindModelPtrWithName(s_FASTWHEEL_00010cdc);
|
||||
gDamWheelModelPtr = FindModelPtrWithName(s_DAMWHEEL_00010ce8);
|
||||
gPed1HeadModelPtr = FindModelPtrWithName(s_PEDHEAD1_00010cf4);
|
||||
gPed2HeadModelPtr = FindModelPtrWithName(&DAT_000aa650);
|
||||
gPed3HeadModelPtr = FindModelPtrWithName(&DAT_000aa650);
|
||||
gPed4HeadModelPtr = FindModelPtrWithName(&DAT_000aa650);
|
||||
gBoxModelPtr = FindModelPtrWithName(s_CRATE_000aa658);
|
||||
gRotorPtr = FindModelPtrWithName(s_ROTOR_000aa660);
|
||||
gTrailblazerConeModel = FindModelPtrWithName(s_GREENCONE_00010d00);
|
||||
gBombModel = FindModelPtrWithName(&DAT_000aa668);
|
||||
gHubcapModelPtr = FindModelPtrWithName("HUBCAP1");
|
||||
gCleanWheelModelPtr = FindModelPtrWithName("CLEANWHEEL");
|
||||
gFastWheelModelPtr = FindModelPtrWithName("FASTWHEEL");
|
||||
gDamWheelModelPtr = FindModelPtrWithName("DAMWHEEL");
|
||||
gPed1HeadModelPtr = FindModelPtrWithName("PEDHEAD1");
|
||||
gPed2HeadModelPtr = FindModelPtrWithName("HEAD");
|
||||
gPed3HeadModelPtr = FindModelPtrWithName("HEAD");
|
||||
gPed4HeadModelPtr = FindModelPtrWithName("HEAD");
|
||||
|
||||
//gBoxModelPtr = FindModelPtrWithName("CRATE");
|
||||
//gRotorPtr = FindModelPtrWithName("ROTOR");
|
||||
gTrailblazerConeModel = FindModelPtrWithName("GREENCONE");
|
||||
gBombModel = FindModelPtrWithName("BOMB");
|
||||
|
||||
MangleWheelModels();
|
||||
InitTanner();
|
||||
InitAnimatingObjects();
|
||||
return;
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
@ -8,6 +8,9 @@
|
||||
#include "DRAW.H"
|
||||
#include "CAMERA.H"
|
||||
#include "GLAUNCH.H"
|
||||
#include "MODELS.H"
|
||||
|
||||
#include "STRINGS.H"
|
||||
|
||||
char *map_lump = NULL;
|
||||
int initarea = 0;
|
||||
@ -174,9 +177,6 @@ void ProcessJuncBoundsLump(char *lump_file, int lump_size)
|
||||
|
||||
MODEL * FindModelPtrWithName(char *name)
|
||||
{
|
||||
UNIMPLEMENTED();
|
||||
return 0;
|
||||
/*
|
||||
char cVar1;
|
||||
int iVar2;
|
||||
int iVar3;
|
||||
@ -190,7 +190,7 @@ MODEL * FindModelPtrWithName(char *name)
|
||||
iVar2 = strcmp(__s1, name);
|
||||
iVar3 = iVar4 + 1;
|
||||
if (iVar2 == 0) {
|
||||
return modelpointers1536[iVar4];
|
||||
return modelpointers[iVar4];
|
||||
}
|
||||
do {
|
||||
cVar1 = *__s1;
|
||||
@ -199,8 +199,7 @@ MODEL * FindModelPtrWithName(char *name)
|
||||
iVar4 = iVar3;
|
||||
} while (iVar3 < num_models_in_pack);
|
||||
}
|
||||
return (MODEL *)0x0;
|
||||
*/
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user