From 1e5c4a7f6a734352f802c82b293fe3b215e3a5b2 Mon Sep 17 00:00:00 2001 From: Northstar Date: Wed, 20 Dec 2023 15:20:02 +0100 Subject: Format project --- NorthstarDLL/client/audio.h | 6 +++--- NorthstarDLL/client/localchatwriter.cpp | 12 ++++++------ NorthstarDLL/client/localchatwriter.h | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) (limited to 'NorthstarDLL/client') diff --git a/NorthstarDLL/client/audio.h b/NorthstarDLL/client/audio.h index 26cda205..15fd1a35 100644 --- a/NorthstarDLL/client/audio.h +++ b/NorthstarDLL/client/audio.h @@ -14,11 +14,11 @@ enum class AudioSelectionStrategy class EventOverrideData { - public: +public: EventOverrideData(const std::string&, const fs::path&); EventOverrideData(); - public: +public: bool LoadedSuccessfully = false; std::vector EventIds = {}; @@ -34,7 +34,7 @@ class EventOverrideData class CustomAudioManager { - public: +public: bool TryLoadAudioOverride(const fs::path&); void ClearAudioOverrides(); diff --git a/NorthstarDLL/client/localchatwriter.cpp b/NorthstarDLL/client/localchatwriter.cpp index 848d898f..35cc065f 100644 --- a/NorthstarDLL/client/localchatwriter.cpp +++ b/NorthstarDLL/client/localchatwriter.cpp @@ -4,13 +4,13 @@ class vgui_BaseRichText_vtable; class vgui_BaseRichText { - public: +public: vgui_BaseRichText_vtable* vtable; }; class vgui_BaseRichText_vtable { - public: +public: char unknown1[1880]; void(__fastcall* InsertChar)(vgui_BaseRichText* self, wchar_t ch); @@ -49,7 +49,7 @@ class vgui_BaseRichText_vtable class CGameSettings { - public: +public: char unknown1[92]; int isChatEnabled; }; @@ -58,7 +58,7 @@ class CGameSettings // have their value at the same offset class CGameFloatVar { - public: +public: char unknown1[88]; float value; }; @@ -101,7 +101,7 @@ Color lightColors[8] = { class AnsiEscapeParser { - public: +public: explicit AnsiEscapeParser(LocalChatWriter* writer) : m_writer(writer) {} void HandleVal(unsigned long val) @@ -129,7 +129,7 @@ class AnsiEscapeParser } } - private: +private: enum class Next { ControlType, diff --git a/NorthstarDLL/client/localchatwriter.h b/NorthstarDLL/client/localchatwriter.h index de9e2f9b..acf6f87e 100644 --- a/NorthstarDLL/client/localchatwriter.h +++ b/NorthstarDLL/client/localchatwriter.h @@ -5,7 +5,7 @@ class vgui_BaseRichText; class CHudChat { - public: +public: static CHudChat** allHuds; char unknown1[720]; @@ -29,7 +29,7 @@ class CHudChat class LocalChatWriter { - public: +public: enum Context { NetworkContext = 0, @@ -56,7 +56,7 @@ class LocalChatWriter void InsertColorChange(Color color); void InsertSwatchColorChange(SwatchColor color); - private: +private: Context m_context; const char* ApplyAnsiEscape(const char* escape); -- cgit v1.2.3