From bf09852285941e20a04731443d03c693e3f8ba2d Mon Sep 17 00:00:00 2001 From: Emma Miler Date: Sat, 12 Nov 2022 15:39:39 +0100 Subject: Logging improvements + Colours (new) (#320) * log colours :) * commend the freopen stuff (it causes problems) * formatting * add explanatory comment * gaming maybe * move set pattern * ok this works now i think * trailing space :) * Revert "Merge branch 'main' into log-colours" This reverts commit d40b6496b7bd3b3f20f51cc2311b0369aeabe735, reversing changes made to a98bcc22e8961b325806f6a9ca85e64353fd574c. * Revert "Revert "Merge branch 'main' into log-colours"" This reverts commit da792245b1cd7d0ac9e22d5633770142a43ce10c. * fix shit maybe * fix shit but better * initial, still WIP * Add GetContextName_Short * colours for in game console * working, time to improve code * rename var + add a colour or two * whoops * change rpak filesystem to RP NATIVE * add RP NATIVE and NORTHSTAR tags * clang-format off because formatting * formatting 2 * formatting 3: the formattening * bruh * revert unnecessary change * improve comment * Set console title to show profile * pain * Made code not shit * Formatting and remove warning box * Update main.cpp * Formatting * More format changes * Again * Fix small things from code review * Remove empty line * renamed NATIVE_EN -> NATIVE_ENGINE * Update logging.cpp * Update sourceconsole.cpp Co-authored-by: ASpoonPlaysGames <66967891+ASpoonPlaysGames@users.noreply.github.com> --- NorthstarDLL/pch.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'NorthstarDLL/pch.h') diff --git a/NorthstarDLL/pch.h b/NorthstarDLL/pch.h index e23d6a9b..e07c5598 100644 --- a/NorthstarDLL/pch.h +++ b/NorthstarDLL/pch.h @@ -20,9 +20,10 @@ namespace fs = std::filesystem; +#include "color.h" +#include "spdlog/spdlog.h" #include "logging.h" #include "MinHook.h" -#include "spdlog/spdlog.h" #include "libcurl/include/curl/curl.h" #include "hooks.h" #include "memory.h" -- cgit v1.2.3