From 0c9299b21de28f2336d04761d09466b912e03b4a Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Fri, 24 Jun 2022 09:28:17 +0200 Subject: [PATCH] Create files for nbt library and a tool to use it. These files were also used to figure out the process of building them so their content is garbage. --- src/lib/libnbt.cpp | 3 +++ src/lib/libnbt.h | 1 + src/tools/dumpnbt.cpp | 5 +++++ 3 files changed, 9 insertions(+) create mode 100644 src/lib/libnbt.cpp create mode 100644 src/lib/libnbt.h create mode 100644 src/tools/dumpnbt.cpp diff --git a/src/lib/libnbt.cpp b/src/lib/libnbt.cpp new file mode 100644 index 0000000..dec6877 --- /dev/null +++ b/src/lib/libnbt.cpp @@ -0,0 +1,3 @@ +int blob() { + return 1; +} diff --git a/src/lib/libnbt.h b/src/lib/libnbt.h new file mode 100644 index 0000000..e0dbf3a --- /dev/null +++ b/src/lib/libnbt.h @@ -0,0 +1 @@ +int blob(); diff --git a/src/tools/dumpnbt.cpp b/src/tools/dumpnbt.cpp new file mode 100644 index 0000000..746c52f --- /dev/null +++ b/src/tools/dumpnbt.cpp @@ -0,0 +1,5 @@ +#include "../lib/libnbt.h" + +int main(int argc, char* argv[]) { + return blob(); +}