diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-05 13:40:35 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-05 13:40:35 +0200 |
commit | ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c (patch) | |
tree | 12152b094647544a8b6bac68fe7271f37996afd5 /src/control/AutoPilot.cpp | |
parent | Merge pull request #508 from Nick007J/master (diff) | |
download | re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.gz re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.bz2 re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.lz re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.xz re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.zst re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.zip |
Diffstat (limited to 'src/control/AutoPilot.cpp')
-rw-r--r-- | src/control/AutoPilot.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/control/AutoPilot.cpp b/src/control/AutoPilot.cpp index b1fce95f..da661b8c 100644 --- a/src/control/AutoPilot.cpp +++ b/src/control/AutoPilot.cpp @@ -6,6 +6,7 @@ #include "Curves.h" #include "PathFind.h" +//--MIAMI: done void CAutoPilot::ModifySpeed(float speed) { m_fMaxTrafficSpeed = Max(0.01f, speed); @@ -39,6 +40,7 @@ void CAutoPilot::ModifySpeed(float speed) #endif } +//--MIAMI: done void CAutoPilot::RemoveOnePathNode() { --m_nPathFindNodesCount; @@ -47,6 +49,7 @@ void CAutoPilot::RemoveOnePathNode() } #ifdef COMPATIBLE_SAVES +//--MIAMI: TODO void CAutoPilot::Save(uint8*& buf) { WriteSaveBuf<int32>(buf, m_nCurrentRouteNode); @@ -86,6 +89,7 @@ void CAutoPilot::Save(uint8*& buf) SkipSaveBuf(buf, 6); } +//--MIAMI: TODO void CAutoPilot::Load(uint8*& buf) { m_nCurrentRouteNode = ReadSaveBuf<int32>(buf); |