Demagic stepup height

This commit is contained in:
Lwmte 2021-09-10 14:24:51 +03:00
parent 7fe7d7edd3
commit c96fbcff53
2 changed files with 6 additions and 6 deletions

View file

@ -25,7 +25,7 @@ void lara_void_func(ITEM_INFO* item, COLL_INFO* coll)
void lara_default_col(ITEM_INFO* item, COLL_INFO* coll)
{
Lara.moveAngle = item->pos.yRot;
coll->Setup.BadHeightUp = 384;
coll->Setup.BadHeightUp = STEPUP_HEIGHT;
coll->Setup.BadHeightDown = -STEPUP_HEIGHT;
coll->Setup.BadCeilingHeight = 0;
coll->Setup.SlopesArePits = true;
@ -126,7 +126,7 @@ void lara_col_walk(ITEM_INFO* item, COLL_INFO* coll)
Lara.moveAngle = item->pos.yRot;
coll->Setup.BadHeightUp = 384;
coll->Setup.BadHeightUp = STEPUP_HEIGHT;
coll->Setup.BadHeightDown = -STEPUP_HEIGHT;
coll->Setup.BadCeilingHeight = 0;
@ -913,7 +913,7 @@ void lara_col_death(ITEM_INFO* item, COLL_INFO* coll)
StopSoundEffect(SFX_TR4_LARA_FALL);
Lara.moveAngle = item->pos.yRot;
coll->Setup.BadHeightUp = 384;
coll->Setup.BadHeightUp = STEPUP_HEIGHT;
coll->Setup.BadHeightDown = -STEPUP_HEIGHT;
coll->Setup.BadCeilingHeight = 0;
coll->Setup.Radius = LARA_RAD_DEATH;
@ -1162,7 +1162,7 @@ void lara_col_splat(ITEM_INFO* item, COLL_INFO* coll)
coll->Setup.SlopesAreWalls = true;
coll->Setup.SlopesArePits = true;
coll->Setup.BadHeightUp = 384;
coll->Setup.BadHeightUp = STEPUP_HEIGHT;
coll->Setup.BadHeightDown = -STEPUP_HEIGHT;
coll->Setup.BadCeilingHeight = 0;

View file

@ -94,7 +94,7 @@ void lara_col_duck(ITEM_INFO* item, COLL_INFO* coll)
Lara.moveAngle = item->pos.yRot;
coll->Setup.ForwardAngle = item->pos.yRot;
coll->Setup.BadHeightUp = 384;
coll->Setup.BadHeightUp = STEPUP_HEIGHT;
coll->Setup.BadHeightDown = -STEPUP_HEIGHT;
coll->Setup.BadCeilingHeight = 0;
@ -779,7 +779,7 @@ void lara_col_ducklr(ITEM_INFO* item, COLL_INFO* coll)
Lara.moveAngle = item->pos.yRot;
coll->Setup.ForwardAngle = item->pos.yRot;
coll->Setup.BadHeightUp = 384;
coll->Setup.BadHeightUp = STEPUP_HEIGHT;
coll->Setup.BadHeightDown = -STEPUP_HEIGHT;
coll->Setup.BadCeilingHeight = 0;
coll->Setup.SlopesAreWalls = true;