add wraparound support to C2 physics
[openc2e.git] / tools / pathtest.cpp
blob4f50fd60944797184df9630906a69b7cb81afb8a
1 #include "PathResolver.h"
2 #include <iostream>
4 int main(int argc, char **argv) {
5 for(int i = 1; i < argc; i++) {
6 std::string orig = argv[i];
7 std::string res = orig;
8 std::cout << orig << " -> ";
9 if (resolveFile(res))
10 std::cout << res;
11 else
12 std::cout << "(nil)";
13 std::cout << std::endl;
15 return 0;