summaryrefslogtreecommitdiffstats
path: root/src/control/AutoPilot.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-05 16:14:13 +0200
committerGitHub <noreply@github.com>2020-05-05 16:14:13 +0200
commitdfe0642195bd17704aaac669908c8bb29fbcb531 (patch)
tree99f4d7dec983e7ad6f4071cc259c8c0de2eda2e2 /src/control/AutoPilot.cpp
parentMerge pull request #510 from aap/master (diff)
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-dfe0642195bd17704aaac669908c8bb29fbcb531.tar
re3-dfe0642195bd17704aaac669908c8bb29fbcb531.tar.gz
re3-dfe0642195bd17704aaac669908c8bb29fbcb531.tar.bz2
re3-dfe0642195bd17704aaac669908c8bb29fbcb531.tar.lz
re3-dfe0642195bd17704aaac669908c8bb29fbcb531.tar.xz
re3-dfe0642195bd17704aaac669908c8bb29fbcb531.tar.zst
re3-dfe0642195bd17704aaac669908c8bb29fbcb531.zip
Diffstat (limited to '')
-rw-r--r--src/control/AutoPilot.cpp4
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);