From d4db39737994ea6147b478418c950d60a654b7e0 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Sun, 23 Nov 2025 23:12:24 -0600 Subject: [PATCH] feat(sound): define more members and initializers for SEDiskSound --- src/sound/SESoundInternal.hpp | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/sound/SESoundInternal.hpp b/src/sound/SESoundInternal.hpp index 95c9b4e..a8d193b 100644 --- a/src/sound/SESoundInternal.hpp +++ b/src/sound/SESoundInternal.hpp @@ -1,12 +1,23 @@ #ifndef SOUND_SE_SOUND_INTERNAL_HPP #define SOUND_SE_SOUND_INTERNAL_HPP +#include #include #include class SESound; class SFile; +struct SoundCacheNode : TSLinkedNode { + // Member variables + FMOD::Sound* sound; + int32_t loaded; + char filename[128]; + uint32_t hashval; + // TODO dword94 + // TODO dword98 +}; + class SESoundInternal { public: // Member variables @@ -32,10 +43,11 @@ class SEDiskSound : public SESoundInternal { public: // Member variables // TODO - SFile* m_file; + SFile* m_file = nullptr; // TODO - FMOD::Sound* m_fmodSound; + FMOD::Sound* m_fmodSound = nullptr; // TODO + SoundCacheNode* m_cacheNode = nullptr; }; class SEMemorySound : public SESoundInternal {