This commit is contained in:
aozhiwei 2021-03-01 10:11:18 +08:00
parent f67ac80f52
commit 4d5cfc4928
4 changed files with 11 additions and 0 deletions

View File

@ -56,6 +56,7 @@ enum GasMode_e
GasInactive = 0,
GasWaiting = 1,
GasMoving = 2,
GasJump = 3
};
enum ActionType_e

View File

@ -23,6 +23,7 @@ enum HumanStatus
HS_AlreadyProcNewBieLogic = 6,
HS_LastAndroid = 7,
HS_DisableAttack = 8,
HS_Fly = 9,
HS_End
};

View File

@ -991,6 +991,9 @@ void Room::UpdateGas()
case GasMoving:
UpdateGasMoving();
break;
case GasJump:
UpdateGasJump();
break;
}
#if 1
if (GetRoomMode() == kZombieMode) {
@ -1146,6 +1149,11 @@ void Room::UpdateGasMoving()
}
}
void Room::UpdateGasJump()
{
}
bool Room::GenSmallCircle(a8::Vec2 big_circle_pos, float big_circle_rad, float small_circle_rad,
a8::Vec2& out_pos)
{

View File

@ -161,6 +161,7 @@ private:
void UpdateGasInactive();
void UpdateGasWaiting();
void UpdateGasMoving();
void UpdateGasJump();
bool GenSmallCircle(a8::Vec2 big_circle_pos, float big_circle_rad, float small_circle_rad,
a8::Vec2& out_pos);
void MatchTeam(Human* hum);