diff options
Diffstat (limited to 'src/MinedMap.cpp')
-rw-r--r-- | src/MinedMap.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/MinedMap.cpp b/src/MinedMap.cpp index c28911a..306837d 100644 --- a/src/MinedMap.cpp +++ b/src/MinedMap.cpp @@ -24,6 +24,21 @@ */ -int main() { +#include "World/Region.hpp" + +#include <iostream> +#include <unistd.h> + + +int main(int argc, char *argv[]) { + using namespace MinedMap; + + if (argc < 2) { + std::cerr << "Usage: " << argv[0] << " region" << std::endl; + return 1; + } + + World::Region region(argv[1]); + return 0; } |