Sha256: e79749991fc25a36587deaa6022e62f4b7656603e341188bdfda3803d81d4dc8
Contents?: true
Size: 1.38 KB
Versions: 2
Compression:
Stored size: 1.38 KB
Contents
#include "crowd.h" #include "astar.h" extern "C" EXPORT_API void addPathfinder(int i, int width, int height); extern "C" EXPORT_API void setPassable(int pathfinder, int x, int y); extern "C" EXPORT_API void setBlocked(int pathfinder, int x, int y); extern "C" EXPORT_API int getXAt(int pathfinder, int index); extern "C" EXPORT_API int getYAt(int pathfinder, int index); extern "C" EXPORT_API int findpath2d(int pathfinder, int startx, int starty, int endx, int endy); extern "C" EXPORT_API void addCrowd(int id, int navmeshid); extern "C" EXPORT_API int addAgent(int crowdId, const float* p, float accel, float speed, float radius, float height, int optflag, float sepWeight); extern "C" EXPORT_API void removeAgent(int crowdId, const int idx); extern "C" EXPORT_API void setMoveTarget(int crowdId, const float* p, bool adjust, int agentIdx); extern "C" EXPORT_API void updateTick(int crowdId, const float dt); extern "C" EXPORT_API void getAgentPosition(int crowdId, int idx, float* resultPath); extern "C" EXPORT_API void addNavmesh(int id, const char *file); extern "C" EXPORT_API void gmapSetPassable(int navmeshId, int a, int b, int radius); extern "C" EXPORT_API void gmapSetBlocked(int navmeshId, int a, int b, int radius); extern "C" EXPORT_API int findPath(int navmeshId, float startx, float starty, float startz, float endx, float endy, float endz, int find_straight_path, float* resultPath);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
game_machine-1.0.4 | pathfinding/include/pathfinder.h |
game_machine-1.0.2 | pathfinding/include/pathfinder.h |