mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-09 16:30:34 +00:00
RpAnimBlend and frame updates
This commit is contained in:
parent
9e842f1628
commit
198b80f560
8 changed files with 122 additions and 56 deletions
|
@ -29,7 +29,7 @@ bool PrintDebugCode = false;
|
|||
int16 DebugCamMode;
|
||||
|
||||
#ifdef FREE_CAM
|
||||
bool CCamera::bFreeCam = false;
|
||||
bool CCamera::bFreeCam = true;
|
||||
int nPreviousMode = -1;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1926,6 +1926,7 @@ CWorld::Process(void)
|
|||
if(csObj && csObj->m_entryInfoList.first) {
|
||||
if(csObj->m_rwObject && RwObjectGetType(csObj->m_rwObject) == rpCLUMP &&
|
||||
RpAnimBlendClumpGetFirstAssociation(csObj->GetClump())) {
|
||||
// TODO(MIAMI): doRender argument
|
||||
RpAnimBlendClumpUpdateAnimations(csObj->GetClump(),
|
||||
0.02f * (csObj->IsObject()
|
||||
? CTimer::GetTimeStepNonClipped()
|
||||
|
@ -1944,6 +1945,7 @@ CWorld::Process(void)
|
|||
CEntity *movingEnt = (CEntity *)node->item;
|
||||
if(movingEnt->m_rwObject && RwObjectGetType(movingEnt->m_rwObject) == rpCLUMP &&
|
||||
RpAnimBlendClumpGetFirstAssociation(movingEnt->GetClump())) {
|
||||
// TODO(MIAMI): doRender argument
|
||||
RpAnimBlendClumpUpdateAnimations(movingEnt->GetClump(),
|
||||
0.02f * (movingEnt->IsObject()
|
||||
? CTimer::GetTimeStepNonClipped()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue