New mapconv project.
This commit is contained in:
parent
708ae975dc
commit
ab17e7a4d0
3 changed files with 23 additions and 0 deletions
|
@ -20,3 +20,4 @@ include_directories(
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
add_subdirectory(game)
|
add_subdirectory(game)
|
||||||
|
add_subdirectory(tools/mapconv)
|
||||||
|
|
11
tools/mapconv/CMakeLists.txt
Normal file
11
tools/mapconv/CMakeLists.txt
Normal 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
11
tools/mapconv/main.cpp
Normal 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");
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue