New mapconv project.

This commit is contained in:
King_DuckZ 2015-06-06 14:30:45 +02:00
parent 708ae975dc
commit ab17e7a4d0
3 changed files with 23 additions and 0 deletions

View file

@ -20,3 +20,4 @@ include_directories(
add_subdirectory(src)
add_subdirectory(test)
add_subdirectory(game)
add_subdirectory(tools/mapconv)

View file

@ -0,0 +1,11 @@
project(mapconv CXX)
#add_definitions(-DWITH_TYLERMAP_WRITER)
add_executable(${PROJECT_NAME}
main.cpp
)
target_link_libraries(${PROJECT_NAME}
doorkeeper
)

11
tools/mapconv/main.cpp Normal file
View file

@ -0,0 +1,11 @@
#include "doorkeeper/doorkeeper.hpp"
#include "doorkeeper/helpers/tylermapsource.hpp"
#include <iostream>
#include <ciso646>
#include <cstdint>
int main() {
std::cout << "mapconv\n";
dkh::TylerMapSource<2> tyreader("test.tym");
}