A simple A* pathing function that works on maps, but I'll be changing it to do the GOAP pathing.

This commit is contained in:
Zed A. Shaw 2025-03-08 23:23:29 -05:00
parent 73b0600039
commit a34becdaeb
7 changed files with 133 additions and 10 deletions

View file

@ -120,6 +120,14 @@ sources = [
'textures.cpp',
'tilemap.cpp',
'worldbuilder.cpp',
'goap2/Action.cpp',
'goap2/Action.h',
'goap2/Node.cpp',
'goap2/Node.h',
'goap2/Planner.cpp',
'goap2/Planner.h',
'goap2/WorldState.cpp',
'goap2/WorldState.h',
]
executable('runtests', sources + [
@ -130,6 +138,7 @@ executable('runtests', sources + [
'tests/dbc.cpp',
'tests/dinkyecs.cpp',
'tests/fsm.cpp',
'tests/goap.cpp',
'tests/guecs.cpp',
'tests/inventory.cpp',
'tests/lel.cpp',