From a8c412a06378df814307e4e166d4c7c44ad5a46f Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 17 Jul 2016 17:24:53 +0200 Subject: Tools: Added universal TrinityCore banner with git version info to all tools --- src/tools/map_extractor/System.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools/map_extractor') diff --git a/src/tools/map_extractor/System.cpp b/src/tools/map_extractor/System.cpp index 22a8cc72c3c..91efa8ce287 100644 --- a/src/tools/map_extractor/System.cpp +++ b/src/tools/map_extractor/System.cpp @@ -35,6 +35,7 @@ #include "DBFilesClientList.h" #include "CascLib.h" #include "dbcfile.h" +#include "Banner.h" #include "StringFormat.h" #include "adt.h" @@ -1179,8 +1180,7 @@ bool OpenCascStorage(int locale) int main(int argc, char * arg[]) { - printf("Map & DBC Extractor\n"); - printf("===================\n"); + Trinity::Banner::Show("Map & DBC Extractor", [](char const* text) { printf("%s\n", text); }, nullptr); boost::filesystem::path current(boost::filesystem::current_path()); strcpy(input_path, current.string().c_str()); -- cgit v1.2.3