Here is one attempt:-
Import "recastnavigation/sdl/include/*.h"
Import "recastnavigation/RecastDemo/include/*.h"
Import "recastnavigation/RecastDemo/contrib/*.h"
Import "recastnavigation/Detour/include/*.h"
'Recast part
Import "recastnavigation/recast/include/*.h"
Import "recastnavigation/recast/source/Recast.cpp"
Import "recastnavigation/recast/source/RecastContour.cpp"
Import "recastnavigation/recast/source/RecastDebugDraw.cpp"
Import "recastnavigation/recast/source/RecastFilter.cpp"
Import "recastnavigation/recast/source/RecastLog.cpp"
Import "recastnavigation/recast/source/RecastMesh.cpp"
Import "recastnavigation/recast/source/RecastMeshDetail.cpp"
Import "recastnavigation/recast/source/RecastRasterization.cpp"
Import "recastnavigation/recast/source/RecastRegion.cpp"
Import "recastnavigation/recast/source/RecastTimer.cpp"
Import "recastnavigation\sdl\lib\SDL.lib"
'Detour
Import "recastnavigation\Detour\source\DetourCommon.cpp"
Import "recastnavigation\Detour\source\DetourDebugDraw.cpp"
Import "recastnavigation\Detour\source\DetourNode.cpp"
Import "recastnavigation\Detour\source\DetourStatnavMesh.cpp"
Import "recastnavigation\Detour\source\DetourStatNavMeshBuilder.cpp"
Import "recastnavigation\Detour\source\DetourTileNavMeshBuilder.cpp"
Import "recastnavigation\Detour\source\DetourTileNavMesh.cpp"
Import "recastnavigation/RecastDemo/source/ChunkyTriMesh.cpp"
Import "recastnavigation/RecastDemo/source/MeshLoaderObj.cpp"
Import "recastnavigation/RecastDemo/source/Sample.cpp"
Import "recastnavigation/RecastDemo/source/Sample_StatMesh.cpp"
Import "recastnavigation/RecastDemo/source/Sample_StatMeshSimple.cpp"
Import "recastnavigation/RecastDemo/source/Sample_StatMeshTiled.cpp"
Import "recastnavigation/RecastDemo/source/Sample_TileMesh.cpp"
Import "recastnavigation/RecastDemo/source/imgui.cpp"
Import "recastnavigation/RecastDemo/source/imguiRenderGL.cpp"
Import "recastnavigation/RecastDemo/source/main.cpp"
'Import "recastnavigation/RecastDemo/source/SDLMain.cpp"
Extern
Function callMain()
End Extern
callMain()
You may have to make some small/easy changes to the C code to get it to compile with the miniGW compiler.
|