Home
last modified time | relevance | path

Searched refs:moverState (Results 1 – 25 of 55) sorted by relevance

123

/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/game/
H A Dg_mover.c474 ent->moverState = moverState; in SetMoverState()
479 switch( moverState ) in SetMoverState()
543 if( moverState >= MOVER_POS1 && moverState <= MOVER_2TO1 ) in SetMoverState()
546 if( moverState >= ROTATOR_POS1 && moverState <= ROTATOR_2TO1 ) in SetMoverState()
621 ent->moverState = MODEL_POS1; in Think_ClosedModelDoor()
676 ent->moverState = MODEL_2TO1; in Think_CloseModelDoor()
700 ent->moverState = MODEL_POS2; in Think_OpenModelDoor()
935 ent->moverState = MODEL_1TO2; in Use_BinaryMover()
1003 ent->moverState = MOVER_POS1; in InitMover()
1087 ent->moverState = ROTATOR_POS1; in InitRotator()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/titanic/star_control/
H A Dunmarked_camera_mover.cpp64 MoverState moverState = _autoMover.move(errorCode, pos, orientation); in updatePosition() local
65 if (moverState == MOVING) in updatePosition()
67 if (moverState == DONE_MOVING) { in updatePosition()
/dports/games/scummvm/scummvm-2.5.1/engines/titanic/star_control/
H A Dmotion_control_unmarked.cpp63 MoverState moverState = _autoMover.move(errorCode, pos, orientation); in updatePosition() local
64 if (moverState == MOVING) in updatePosition()
66 if (moverState == DONE_MOVING) { in updatePosition()
/dports/games/ioquake3/ioquake3-1.36/code/game/
H A Dg_mover.c515 ent->moverState = moverState; in SetMoverState()
518 switch( moverState ) { in SetMoverState()
558 SetMoverState( slave, moverState, time ); in MatchTeam()
592 if ( ent->moverState == MOVER_1TO2 ) { in Reached_BinaryMover()
646 if ( ent->moverState == MOVER_POS1 ) { in Use_BinaryMover()
667 if ( ent->moverState == MOVER_POS2 ) { in Use_BinaryMover()
673 if ( ent->moverState == MOVER_2TO1 ) { in Use_BinaryMover()
689 if ( ent->moverState == MOVER_1TO2 ) { in Use_BinaryMover()
763 ent->moverState = MOVER_POS1; in InitMover()
1037 if ( ent->moverState == MOVER_POS2 ) { in Touch_Plat()
[all …]
/dports/games/ioquake3-server/ioquake3-1.36/code/game/
H A Dg_mover.c515 ent->moverState = moverState; in SetMoverState()
518 switch( moverState ) { in SetMoverState()
558 SetMoverState( slave, moverState, time ); in MatchTeam()
592 if ( ent->moverState == MOVER_1TO2 ) { in Reached_BinaryMover()
646 if ( ent->moverState == MOVER_POS1 ) { in Use_BinaryMover()
667 if ( ent->moverState == MOVER_POS2 ) { in Use_BinaryMover()
673 if ( ent->moverState == MOVER_2TO1 ) { in Use_BinaryMover()
689 if ( ent->moverState == MOVER_1TO2 ) { in Use_BinaryMover()
763 ent->moverState = MOVER_POS1; in InitMover()
1037 if ( ent->moverState == MOVER_POS2 ) { in Touch_Plat()
[all …]
/dports/games/evq3/evq3/code/game/
H A Dg_mover.c515 ent->moverState = moverState; in SetMoverState()
518 switch( moverState ) { in SetMoverState()
558 SetMoverState( slave, moverState, time ); in MatchTeam()
592 if ( ent->moverState == MOVER_1TO2 ) { in Reached_BinaryMover()
646 if ( ent->moverState == MOVER_POS1 ) { in Use_BinaryMover()
667 if ( ent->moverState == MOVER_POS2 ) { in Use_BinaryMover()
673 if ( ent->moverState == MOVER_2TO1 ) { in Use_BinaryMover()
689 if ( ent->moverState == MOVER_1TO2 ) { in Use_BinaryMover()
763 ent->moverState = MOVER_POS1; in InitMover()
1037 if ( ent->moverState == MOVER_POS2 ) { in Touch_Plat()
[all …]
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/game/
H A Dg_mover.c515 ent->moverState = moverState; in SetMoverState()
518 switch( moverState ) { in SetMoverState()
558 SetMoverState( slave, moverState, time ); in MatchTeam()
592 if ( ent->moverState == MOVER_1TO2 ) { in Reached_BinaryMover()
646 if ( ent->moverState == MOVER_POS1 ) { in Use_BinaryMover()
667 if ( ent->moverState == MOVER_POS2 ) { in Use_BinaryMover()
673 if ( ent->moverState == MOVER_2TO1 ) { in Use_BinaryMover()
689 if ( ent->moverState == MOVER_1TO2 ) { in Use_BinaryMover()
763 ent->moverState = MOVER_POS1; in InitMover()
1037 if ( ent->moverState == MOVER_POS2 ) { in Touch_Plat()
[all …]
/dports/games/iortcw/iortcw-1.51c/MP/code/game/
H A Dg_mover.c719 ent->moverState = moverState; in SetMoverState()
722 switch ( moverState ) { in SetMoverState()
978 if ( ent->moverState == MOVER_1TO2 ) { in Reached_BinaryMover()
1172 if ( ent->moverState == MOVER_1TO2 ) { in Reached_TrinaryMover()
1264 if ( ent->moverState == MOVER_POS1 ) { in Use_TrinaryMover()
1283 if ( ent->moverState == MOVER_POS2 ) { in Use_TrinaryMover()
1299 if ( ent->moverState == MOVER_POS3 ) { in Use_TrinaryMover()
1307 if ( ent->moverState == MOVER_2TO1 ) { in Use_TrinaryMover()
1397 if ( ent->moverState == MOVER_POS1 || ent->moverState == MOVER_POS1ROTATE ) { in Use_BinaryMover()
1649 ent->moverState = MOVER_POS1; in InitMover()
[all …]
H A Dg_trigger.c698 …if ( door->moverState == MOVER_POS2ROTATE ) { // door is in open state waiting to close keep it op… in trigger_aidoor_stayopen()
718 && ( door->moverState != MOVER_POS1 ) in trigger_aidoor_stayopen()
719 && ( door->moverState != MOVER_POS1ROTATE ) in trigger_aidoor_stayopen()
721 && ( door->moverState != MOVER_POS2ROTATE ) in trigger_aidoor_stayopen()
722 && ( door->moverState != MOVER_POS2 ) ) { in trigger_aidoor_stayopen()
H A Dg_tramcar.c49 extern void MatchTeam( gentity_t *teamLeader, int moverState, int time );
50 extern void SetMoverState( gentity_t *ent, moverState_t moverState, int time );
183 ent->moverState = MOVER_POS1; in InitTramcar()
1367 ent->moverState = MOVER_POS1; in Init_Camera()
/dports/games/iortcw/iortcw-1.51c/SP/code/game/
H A Dg_mover.c696 ent->moverState = moverState; in SetMoverState()
699 switch ( moverState ) { in SetMoverState()
963 if ( ent->moverState == MOVER_1TO2 ) { in Reached_BinaryMover()
1161 if ( ent->moverState == MOVER_1TO2 ) { in Reached_TrinaryMover()
1253 if ( ent->moverState == MOVER_POS1 ) { in Use_TrinaryMover()
1272 if ( ent->moverState == MOVER_POS2 ) { in Use_TrinaryMover()
1288 if ( ent->moverState == MOVER_POS3 ) { in Use_TrinaryMover()
1296 if ( ent->moverState == MOVER_2TO1 ) { in Use_TrinaryMover()
1397 if ( ent->moverState == MOVER_POS1 || ent->moverState == MOVER_POS1ROTATE ) { in Use_BinaryMover()
1649 ent->moverState = MOVER_POS1; in InitMover()
[all …]
H A Dg_trigger.c706 …if ( door->moverState == MOVER_POS2ROTATE ) { // door is in open state waiting to close keep i… in trigger_aidoor_stayopen()
711 if ( door->moverState == MOVER_POS2 ) { // door is in open state waiting to close keep it open in trigger_aidoor_stayopen()
735 ( door->moverState != MOVER_POS1 ) && in trigger_aidoor_stayopen()
736 ( door->moverState != MOVER_POS1ROTATE ) in trigger_aidoor_stayopen()
738 && ( door->moverState != MOVER_POS2ROTATE ) in trigger_aidoor_stayopen()
739 && ( door->moverState != MOVER_POS2 ) in trigger_aidoor_stayopen()
H A Dg_save.c833 if ( ent->s.eType == ET_MOVER && ent->moverState != backup.moverState ) { in ReadEntity()
835 if ( ent->moverState == MOVER_POS1ROTATE || ent->moverState == MOVER_POS1 ) { in ReadEntity()
H A Dg_tramcar.c49 extern void MatchTeam( gentity_t *teamLeader, int moverState, int time );
50 extern void SetMoverState( gentity_t *ent, moverState_t moverState, int time );
183 ent->moverState = MOVER_POS1; in InitTramcar()
1361 ent->moverState = MOVER_POS1; in Init_Camera()
H A Dg_main.c719 if ( checkEnt->moverState == MOVER_POS1ROTATE || // stationary/closed in G_CheckForCursorHints()
720 …( checkEnt->moverState == MOVER_POS2ROTATE && checkEnt->flags & FL_TOGGLE ) ) { // toggle door tha… in G_CheckForCursorHints()
730 if ( checkEnt->moverState == MOVER_POS1 || // stationary/closed in G_CheckForCursorHints()
731 …( checkEnt->moverState == MOVER_POS2 && checkEnt->flags & FL_TOGGLE ) ) { // toggle door that's op… in G_CheckForCursorHints()
/dports/games/dhewm3/dhewm3-1.5.1/neo/game/
H A DMover.cpp2101 moverState = MOVER_POS1; in CLASS_DECLARATION()
2387 if ( ( moverState == MOVER_1TO2 ) || ( moverState == MOVER_2TO1 ) ) { in Event_SetCallback()
2425 moverState = newstate; in SetMoverState()
2431 switch( moverState ) { in SetMoverState()
2608 if ( moverState == MOVER_1TO2 ) { in Event_Reached_BinaryMover()
2675 if ( ( moverState == MOVER_POS1 ) || ( moverState == MOVER_2TO1 ) ) { in GotoPosition1()
2680 if ( moverState == MOVER_POS2 ) { in GotoPosition1()
2722 if ( ( moverState == MOVER_POS2 ) || ( moverState == MOVER_1TO2 ) ) { in GotoPosition2()
2960 moverState = MOVER_POS1; in InitSpeed()
2989 moverState = MOVER_POS1; in InitTime()
[all …]
H A DMover.h324 moverState_t moverState; variable
354 moverState_t GetMoverState( void ) const { return moverState; } in GetMoverState()
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/
H A DMover.cpp2114 moverState = MOVER_POS1; in CLASS_DECLARATION()
2409 if ( ( moverState == MOVER_1TO2 ) || ( moverState == MOVER_2TO1 ) ) { in Event_SetCallback()
2447 moverState = newstate; in SetMoverState()
2453 switch( moverState ) { in SetMoverState()
2640 if ( moverState == MOVER_1TO2 ) { in Event_Reached_BinaryMover()
2706 if ( ( moverState == MOVER_POS1 ) || ( moverState == MOVER_2TO1 ) ) { in GotoPosition1()
2711 if ( moverState == MOVER_POS2 ) { in GotoPosition1()
2753 if ( ( moverState == MOVER_POS2 ) || ( moverState == MOVER_1TO2 ) ) { in GotoPosition2()
2991 moverState = MOVER_POS1; in InitSpeed()
3020 moverState = MOVER_POS1; in InitTime()
[all …]
H A DMover.h328 moverState_t moverState; variable
361 moverState_t GetMoverState( void ) const { return moverState; } in GetMoverState()
/dports/games/openjk/OpenJK-07675e2/codeJK2/game/
H A Dg_mover.cpp622 ent->moverState = moverState; in SetMoverState()
631 switch( moverState ) { in SetMoverState()
722 if ( ent->moverState == MOVER_1TO2 ) in Reached_BinaryMover()
764 else if ( ent->moverState == MOVER_2TO1 ) in Reached_BinaryMover()
806 if ( ent->moverState == MOVER_POS1 ) in Use_BinaryMover_Go()
833 if ( ent->moverState == MOVER_POS2 ) { in Use_BinaryMover_Go()
849 if ( ent->moverState == MOVER_2TO1 ) in Use_BinaryMover_Go()
883 if ( ent->moverState == MOVER_1TO2 ) in Use_BinaryMover_Go()
1108 ent->moverState = MOVER_POS1; in InitMover()
1536 if ( ent->moverState == MOVER_POS2 ) { in Touch_Plat()
[all …]
H A DQ3_Interface.cpp1547 ent->moverState = MOVER_2TO1; in Q3_Lerp2Start()
1603 ent->moverState = MOVER_1TO2; in Q3_Lerp2End()
1660 moverState_t moverState = ent->moverState; in Q3_Lerp2Pos() local
1662 if ( moverState == MOVER_POS1 || moverState == MOVER_2TO1 ) in Q3_Lerp2Pos()
1675 moverState = MOVER_1TO2; in Q3_Lerp2Pos()
1682 moverState = MOVER_2TO1; in Q3_Lerp2Pos()
1770 moverState_t moverState = ent->moverState; in Q3_Lerp2Origin() local
1772 if ( moverState == MOVER_POS1 || moverState == MOVER_2TO1 ) in Q3_Lerp2Origin()
1785 moverState = MOVER_1TO2; in Q3_Lerp2Origin()
1787 else if ( moverState == MOVER_POS2 || moverState == MOVER_1TO2 ) in Q3_Lerp2Origin()
[all …]
/dports/games/openjk/OpenJK-07675e2/code/game/
H A Dg_mover.cpp630 ent->moverState = moverState; in SetMoverState()
639 switch( moverState ) { in SetMoverState()
730 if ( ent->moverState == MOVER_1TO2 ) in Reached_BinaryMover()
772 else if ( ent->moverState == MOVER_2TO1 ) in Reached_BinaryMover()
814 if ( ent->moverState == MOVER_POS1 ) in Use_BinaryMover_Go()
841 if ( ent->moverState == MOVER_POS2 ) { in Use_BinaryMover_Go()
857 if ( ent->moverState == MOVER_2TO1 ) in Use_BinaryMover_Go()
891 if ( ent->moverState == MOVER_1TO2 ) in Use_BinaryMover_Go()
1116 ent->moverState = MOVER_POS1; in InitMover()
1558 if ( ent->moverState == MOVER_POS2 ) { in Touch_Plat()
[all …]
H A DQ3_Interface.cpp1694 moverState_t moverState = ent->moverState; in Q3_Lerp2Origin() local
1696 if ( moverState == MOVER_POS1 || moverState == MOVER_2TO1 ) in Q3_Lerp2Origin()
1701 if ( moverState == MOVER_POS1 ) in Q3_Lerp2Origin()
1709 moverState = MOVER_1TO2; in Q3_Lerp2Origin()
1711 else if ( moverState == MOVER_POS2 || moverState == MOVER_1TO2 ) in Q3_Lerp2Origin()
1716 moverState = MOVER_2TO1; in Q3_Lerp2Origin()
8062 moverState_t moverState = ent->moverState; in Lerp2Pos() local
8064 if ( moverState == MOVER_POS1 || moverState == MOVER_2TO1 ) in Lerp2Pos()
8069 if ( moverState == MOVER_POS1 ) in Lerp2Pos()
8077 moverState = MOVER_1TO2; in Lerp2Pos()
[all …]
/dports/games/openjk/OpenJK-07675e2/codemp/game/
H A Dg_mover.c569 ent->moverState = moverState; in SetMoverState()
578 switch( moverState ) { in SetMoverState()
670 if ( ent->moverState == MOVER_1TO2 ) in Reached_BinaryMover()
749 if ( ent->moverState == MOVER_POS1 ) in Use_BinaryMover_Go()
773 if ( ent->moverState == MOVER_POS2 ) { in Use_BinaryMover_Go()
789 if ( ent->moverState == MOVER_2TO1 ) in Use_BinaryMover_Go()
825 if ( ent->moverState == MOVER_1TO2 ) in Use_BinaryMover_Go()
1014 ent->moverState = MOVER_POS1; in InitMover()
1529 if ( ent->moverState == MOVER_POS2 ) { in Touch_Plat()
1672 if ( ent->moverState == MOVER_POS1 ) { in Touch_Button()
[all …]
H A Dg_ICARUScb.c804 moverState_t moverState; in Q3_Lerp2Pos() local
830 moverState = ent->moverState; in Q3_Lerp2Pos()
832 if ( moverState == MOVER_POS1 || moverState == MOVER_2TO1 ) in Q3_Lerp2Pos()
837 moverState = MOVER_1TO2; in Q3_Lerp2Pos()
844 moverState = MOVER_2TO1; in Q3_Lerp2Pos()
2075 moverState_t moverState; in Q3_Lerp2Origin() local
2094 moverState = ent->moverState; in Q3_Lerp2Origin()
2096 if ( moverState == MOVER_POS1 || moverState == MOVER_2TO1 ) in Q3_Lerp2Origin()
2101 moverState = MOVER_1TO2; in Q3_Lerp2Origin()
2103 else if ( moverState == MOVER_POS2 || moverState == MOVER_1TO2 ) in Q3_Lerp2Origin()
[all …]

123