Command changes and code cleanup

This commit is contained in:
KimLS
2017-07-21 20:22:33 -07:00
parent ab33148f81
commit bdc90ac3a7
12 changed files with 253 additions and 2482 deletions
+5 -2
View File
@@ -1,7 +1,8 @@
#pragma once
#include "pathfinder_interface.h"
#include <memory>
struct PathFileHeader;
class PathfinderWaypoint : public IPathfinder
{
@@ -14,8 +15,10 @@ public:
virtual void DebugCommand(Client *c, const Seperator *sep);
private:
void LoadV2(FILE *f, const PathFileHeader &header);
void LoadV3(FILE *f, const PathFileHeader &header);
void ShowNodes();
void ShowPath(const glm::vec3 &start, const glm::vec3 &end);
void ShowPath(Client *c, const glm::vec3 &start, const glm::vec3 &end);
struct Implementation;
std::unique_ptr<Implementation> m_impl;