diff options
Diffstat (limited to 'tools/datapacker/main.cpp')
-rw-r--r-- | tools/datapacker/main.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/datapacker/main.cpp b/tools/datapacker/main.cpp new file mode 100644 index 0000000..fd0ace6 --- /dev/null +++ b/tools/datapacker/main.cpp | |||
@@ -0,0 +1,21 @@ | |||
1 | #include <iostream> | ||
2 | #include <string> | ||
3 | |||
4 | void Run(const std::string& mapdir, const std::string& outputpath) { | ||
5 | |||
6 | } | ||
7 | |||
8 | int main(int argc, char** argv) { | ||
9 | if (argc != 3) { | ||
10 | std::cout << "Incorrect argument count." << std::endl; | ||
11 | std::cout << "Usage: datapacker [path to map directory] [output file]" << std::endl; | ||
12 | return 1; | ||
13 | } | ||
14 | |||
15 | std::string mapdir = argv[1]; | ||
16 | std::string outputpath = argv[2]; | ||
17 | |||
18 | Run(mapdir, outputpath); | ||
19 | |||
20 | return 0; | ||
21 | } | ||