mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
feat(sound): define more members and initializers for SEDiskSound
This commit is contained in:
parent
fbb13b3bc2
commit
d4db397379
@ -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 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user