From d0418836ba81e889a7b529699d43488153785ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 6 Mar 2011 22:20:08 +0100 Subject: [PATCH] 31.20 Windows SDL OK --- CMakeLists.txt | 1 + data/Memory-ng.xml | 7 +++++++ tools/supported/position.cpp | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index cbeda3ffa..aec54a7c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,7 @@ OPTION(BUILD_DFHACK_SHM "Build the SHM." OFF) include_directories (${CMAKE_SOURCE_DIR}/library/include/) include_directories (${CMAKE_SOURCE_DIR}/library/shm/) +include_directories (${CMAKE_SOURCE_DIR}/library/depends/argstream/) add_subdirectory (library) diff --git a/data/Memory-ng.xml b/data/Memory-ng.xml index ea3b04578..edea3b175 100644 --- a/data/Memory-ng.xml +++ b/data/Memory-ng.xml @@ -2093,6 +2093,13 @@
+ +
+
+ + +
+ diff --git a/tools/supported/position.cpp b/tools/supported/position.cpp index f3087f813..4315ece83 100644 --- a/tools/supported/position.cpp +++ b/tools/supported/position.cpp @@ -68,6 +68,10 @@ int main (int argc, char** argv) { cout << gmm << endl; } + cout << "Year: " << World->ReadCurrentYear() + << " Month: " << World->ReadCurrentMonth() + << " Day: " << World->ReadCurrentDay() + << " Tick: " << World->ReadCurrentTick() << endl; if (Position) { int32_t x,y,z;