mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-26 07:23:43 +00:00
Train anims in enum
This commit is contained in:
parent
5fb3edf258
commit
95260371cb
3 changed files with 6 additions and 6 deletions
|
@ -153,8 +153,8 @@ AnimAssocDesc aStdAnimDescs[] = {
|
||||||
{ ANIM_CAR_GETOUT_LOW_RHS, ASSOC_FADEOUTWHENDONE | ASSOC_PARTIAL },
|
{ ANIM_CAR_GETOUT_LOW_RHS, ASSOC_FADEOUTWHENDONE | ASSOC_PARTIAL },
|
||||||
{ ANIM_CAR_CLOSE_RHS, ASSOC_FADEOUTWHENDONE | ASSOC_PARTIAL },
|
{ ANIM_CAR_CLOSE_RHS, ASSOC_FADEOUTWHENDONE | ASSOC_PARTIAL },
|
||||||
{ ANIM_CAR_HOOKERTALK, ASSOC_REPEAT | ASSOC_PARTIAL },
|
{ ANIM_CAR_HOOKERTALK, ASSOC_REPEAT | ASSOC_PARTIAL },
|
||||||
{ ANIM_IDLE_STANCE2, ASSOC_PARTIAL },
|
{ ANIM_TRAIN_GETIN, ASSOC_PARTIAL },
|
||||||
{ ANIM_IDLE_STANCE3, ASSOC_FADEOUTWHENDONE | ASSOC_PARTIAL },
|
{ ANIM_TRAIN_GETOUT, ASSOC_FADEOUTWHENDONE | ASSOC_PARTIAL },
|
||||||
{ ANIM_CAR_CRAWLOUT_RHS, ASSOC_FADEOUTWHENDONE | ASSOC_PARTIAL },
|
{ ANIM_CAR_CRAWLOUT_RHS, ASSOC_FADEOUTWHENDONE | ASSOC_PARTIAL },
|
||||||
{ ANIM_CAR_CRAWLOUT_RHS2, ASSOC_FADEOUTWHENDONE | ASSOC_PARTIAL },
|
{ ANIM_CAR_CRAWLOUT_RHS2, ASSOC_FADEOUTWHENDONE | ASSOC_PARTIAL },
|
||||||
{ ANIM_CAR_ROLLOUT_LHS, ASSOC_DELETEFADEDOUT | ASSOC_PARTIAL | ASSOC_HAS_TRANSLATION | ASSOC_HAS_X_TRANSLATION },
|
{ ANIM_CAR_ROLLOUT_LHS, ASSOC_DELETEFADEDOUT | ASSOC_PARTIAL | ASSOC_HAS_TRANSLATION | ASSOC_HAS_X_TRANSLATION },
|
||||||
|
|
|
@ -140,8 +140,8 @@ enum AnimationId
|
||||||
ANIM_CAR_CLOSE_RHS,
|
ANIM_CAR_CLOSE_RHS,
|
||||||
ANIM_CAR_HOOKERTALK,
|
ANIM_CAR_HOOKERTALK,
|
||||||
|
|
||||||
ANIM_IDLE_STANCE2,
|
ANIM_TRAIN_GETIN,
|
||||||
ANIM_IDLE_STANCE3,
|
ANIM_TRAIN_GETOUT,
|
||||||
|
|
||||||
ANIM_CAR_CRAWLOUT_RHS,
|
ANIM_CAR_CRAWLOUT_RHS,
|
||||||
ANIM_CAR_CRAWLOUT_RHS2,
|
ANIM_CAR_CRAWLOUT_RHS2,
|
||||||
|
|
|
@ -4914,8 +4914,8 @@ CPed::SetAnimOffsetForEnterOrExitVehicle(void)
|
||||||
vecPedVanRearDoorAnimOffset = lastFrame->translation;
|
vecPedVanRearDoorAnimOffset = lastFrame->translation;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// I think this is leftover and ANIM_TRAIN_GETOUT
|
|
||||||
enterAssoc = CAnimManager::GetAnimAssociation(ASSOCGRP_STD, ANIM_IDLE_STANCE3)->hierarchy;
|
enterAssoc = CAnimManager::GetAnimAssociation(ASSOCGRP_STD, ANIM_TRAIN_GETOUT)->hierarchy;
|
||||||
seq = enterAssoc->sequences;
|
seq = enterAssoc->sequences;
|
||||||
CAnimManager::UncompressAnimation(enterAssoc);
|
CAnimManager::UncompressAnimation(enterAssoc);
|
||||||
if (seq->numFrames > 0) {
|
if (seq->numFrames > 0) {
|
||||||
|
|
Loading…
Reference in a new issue