This commit is contained in:
aozhiwei 2023-01-04 11:28:15 +08:00
parent e11a776f01
commit 250c19a1b1
3 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,8 @@
#include "incubator.h"
#include "frameeventdata.h"
#include "mt/AirLine.h"
void FrameMaker::Debug_FullObject(Human* hum)
{
#if 0
@ -130,6 +132,7 @@ void FrameMaker::PreProcess(cs::SMUpdate* msg, Room* room, Human* hum, FrameData
TypeConvert::ToPb(hum->room->plane.start_point, p->mutable_start_point());
TypeConvert::ToPb(hum->room->plane.end_point, p->mutable_end_point());
TypeConvert::ToPb(hum->room->plane.curr_pos, p->mutable_pos());
p->set_plane_speed(room->GetAirLine()->plane_speed());
}
}
{

View File

@ -210,6 +210,7 @@ public:
bool CanAddObstacle(const glm::vec3& pos, int obstacle_id);
void AddTask(int task_uniid, ITask* task);
void RemoveTask(int task_uniid);
const mt::AirLine* GetAirLine() { return airline_; };
private:
void ShuaAndroid();

View File

@ -798,6 +798,7 @@ message MFPlane
optional MFVec3 start_point = 1; //
optional MFVec3 end_point = 2; //
optional MFVec3 pos = 3; //
optional float plane_speed = 4; //(/)
}
//