MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / update_stopping

Method update_stopping

src/SB/Game/zEntPlayerOOBState.cpp:534–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532 }
533
534 drop_state_type::substate_enum drop_state_type::update_stopping(xScene& scn, F32& dt)
535 {
536 move_hand(dt);
537 if (shared.vel > 0.0f)
538 {
539 return SS_STOPPING;
540 }
541
542 shared.loc = fixed.in_loc;
543 shared.vel = 0.0f;
544 shared.accel = 0.0f;
545 this->stop_time = fixed.drop.out_wait_time;
546
547 return SS_STOPPED;
548 }
549
550 drop_state_type::substate_enum drop_state_type::supdate_moving_in(drop_state_type& gst,
551 xScene& scn, F32& dt)

Callers 1

supdate_stoppingMethod · 0.80

Calls 4

move_handFunction · 0.70
assume_player_is_stupidFunction · 0.70
xStrHashFunction · 0.50
start_talkMethod · 0.45

Tested by

no test coverage detected