feat(sound): define more members and initializers for SEDiskSound

This commit is contained in:
fallenoak 2025-11-23 23:12:24 -06:00
parent fbb13b3bc2
commit d4db397379
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -1,12 +1,23 @@
#ifndef SOUND_SE_SOUND_INTERNAL_HPP #ifndef SOUND_SE_SOUND_INTERNAL_HPP
#define SOUND_SE_SOUND_INTERNAL_HPP #define SOUND_SE_SOUND_INTERNAL_HPP
#include <storm/List.hpp>
#include <fmod.hpp> #include <fmod.hpp>
#include <cstdint> #include <cstdint>
class SESound; class SESound;
class SFile; class SFile;
struct SoundCacheNode : TSLinkedNode<SoundCacheNode> {
// Member variables
FMOD::Sound* sound;
int32_t loaded;
char filename[128];
uint32_t hashval;
// TODO dword94
// TODO dword98
};
class SESoundInternal { class SESoundInternal {
public: public:
// Member variables // Member variables
@ -32,10 +43,11 @@ class SEDiskSound : public SESoundInternal {
public: public:
// Member variables // Member variables
// TODO // TODO
SFile* m_file; SFile* m_file = nullptr;
// TODO // TODO
FMOD::Sound* m_fmodSound; FMOD::Sound* m_fmodSound = nullptr;
// TODO // TODO
SoundCacheNode* m_cacheNode = nullptr;
}; };
class SEMemorySound : public SESoundInternal { class SEMemorySound : public SESoundInternal {