Move pathfinding related code to ai.cpp.

Add a gsc.hpp header to allow creating methods and functions for GSC outside of the gsc component. Add experimental path generating code to ai.cpp.
This commit is contained in:
JezuzLizard
2023-03-29 20:15:05 -07:00
parent 4135e7653a
commit 6461aa85d3
7 changed files with 452 additions and 111 deletions

21
src/component/gsc.hpp Normal file
View File

@ -0,0 +1,21 @@
#pragma once
#include <stdinc.hpp>
namespace gsc
{
namespace
{
}
namespace function
{
void add(const std::string& name, const game::BuiltinFunction function);
}
namespace method
{
void add(const std::string& name, const game::BuiltinMethod method);
}
}