aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/client
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/client')
-rw-r--r--NorthstarDLL/client/audio.h6
-rw-r--r--NorthstarDLL/client/localchatwriter.cpp12
-rw-r--r--NorthstarDLL/client/localchatwriter.h6
3 files changed, 12 insertions, 12 deletions
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<std::string> 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);