From 76939afe500893b1ec7c17179f77dc9392e8a68c Mon Sep 17 00:00:00 2001 From: belal Date: Sun, 14 Mar 2010 20:04:31 -0400 Subject: [PATCH 1/2] fix incorrect squad name offset --- output/Memory.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/Memory.xml b/output/Memory.xml index fc7918e78..318e9a985 100644 --- a/output/Memory.xml +++ b/output/Memory.xml @@ -847,7 +847,7 @@ 0xE8 0xF2 0xF4 - 0x1A4 + 0x158 0x1F8 0x228 0x2F8 From a2eb3a68925b877cd65f999de6ce2dcde3bbb6b2 Mon Sep 17 00:00:00 2001 From: belal Date: Sun, 14 Mar 2010 20:26:32 -0400 Subject: [PATCH 2/2] add iostream to DFProcess.h include, std:: prefix to the output line, DT was getting mad about them not being defined --- library/DFProcess.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/DFProcess.h b/library/DFProcess.h index 3a023ca2d..c710d7e88 100644 --- a/library/DFProcess.h +++ b/library/DFProcess.h @@ -27,6 +27,7 @@ distribution. #include "Tranquility.h" #include "Export.h" +#include namespace DFHack { @@ -55,7 +56,7 @@ namespace DFHack } inline void print() { - cout << hex << start << " - " << end << "|" << (read ? "r" : "-") << (write ? "w" : "-") << (execute ? "x" : "-") << "|" << name << endl; + std::cout << std::hex << start << " - " << end << "|" << (read ? "r" : "-") << (write ? "w" : "-") << (execute ? "x" : "-") << "|" << name << std::endl; } };