From 34844cdf1a03532a51764b0acb4e27cac5faeb8c Mon Sep 17 00:00:00 2001 From: ScriptedSnark <51358194+ScriptedSnark@users.noreply.github.com> Date: Fri, 12 Apr 2024 20:58:12 +0500 Subject: [PATCH] Fix for based texture effects --- GSChaos/CFeatureJeepy.cpp | 5 +++++ GSChaos/CFeatureJeepy.h | 1 + GSChaos/CFeaturePlayAG.cpp | 5 +++++ GSChaos/CFeaturePlayAG.h | 1 + 4 files changed, 12 insertions(+) diff --git a/GSChaos/CFeatureJeepy.cpp b/GSChaos/CFeatureJeepy.cpp index a430e060..7c807d2a 100644 --- a/GSChaos/CFeatureJeepy.cpp +++ b/GSChaos/CFeatureJeepy.cpp @@ -17,6 +17,11 @@ int CFeatureJeepy::GetTextureID() return m_iJeepyID; } +void CFeatureJeepy::HUD_AddEntity(int type, struct cl_entity_s* ent, const char* modelname) +{ + CChaosFeature::HUD_AddEntity(type, ent, modelname); +} + const char* CFeatureJeepy::GetFeatureName() { return "Let's see Jeepy's lasagna"; diff --git a/GSChaos/CFeatureJeepy.h b/GSChaos/CFeatureJeepy.h index 9fa8e6e3..82a5541a 100644 --- a/GSChaos/CFeatureJeepy.h +++ b/GSChaos/CFeatureJeepy.h @@ -24,6 +24,7 @@ class CFeatureJeepy : public CFeatureForgotCSS void Init() override; void ActivateFeature(); int GetTextureID() override; + void HUD_AddEntity(int type, struct cl_entity_s* ent, const char* modelname) override; const char* GetFeatureName() override; private: GLuint m_iJeepyID; diff --git a/GSChaos/CFeaturePlayAG.cpp b/GSChaos/CFeaturePlayAG.cpp index 370ec9da..31e1b4ea 100644 --- a/GSChaos/CFeaturePlayAG.cpp +++ b/GSChaos/CFeaturePlayAG.cpp @@ -15,6 +15,11 @@ int CFeaturePlayAG::GetTextureID() return m_iPlayAGID; } +void CFeaturePlayAG::HUD_AddEntity(int type, struct cl_entity_s* ent, const char* modelname) +{ + CChaosFeature::HUD_AddEntity(type, ent, modelname); +} + const char* CFeaturePlayAG::GetFeatureName() { return "Play AG"; diff --git a/GSChaos/CFeaturePlayAG.h b/GSChaos/CFeaturePlayAG.h index d2923b47..66ee1d04 100644 --- a/GSChaos/CFeaturePlayAG.h +++ b/GSChaos/CFeaturePlayAG.h @@ -24,6 +24,7 @@ class CFeaturePlayAG : public CFeatureForgotCSS void Init() override; void ActivateFeature(); int GetTextureID() override; + void HUD_AddEntity(int type, struct cl_entity_s* ent, const char* modelname) override; const char* GetFeatureName() override; private: GLuint m_iPlayAGID;