mirror of
https://github.com/zeldaret/ss
synced 2026-06-11 13:10:11 -04:00
26af4db82d
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
46 lines
806 B
C++
46 lines
806 B
C++
#ifndef NW4R_SND_PLAYER_HEAP_H
|
|
#define NW4R_SND_PLAYER_HEAP_H
|
|
#include "nw4r/snd/snd_SoundHeap.h"
|
|
#include "nw4r/types_nw4r.h"
|
|
|
|
|
|
namespace nw4r {
|
|
namespace snd {
|
|
|
|
// Forward declarations
|
|
class SoundPlayer;
|
|
|
|
namespace detail {
|
|
|
|
// Forward declarations
|
|
class BasicSound;
|
|
|
|
class PlayerHeap : public SoundHeap {
|
|
public:
|
|
PlayerHeap() : mSound(NULL), mPlayer(NULL) {}
|
|
virtual ~PlayerHeap() {} // at 0x8
|
|
|
|
void SetSound(BasicSound *pSound) {
|
|
mSound = pSound;
|
|
}
|
|
|
|
void SetSoundPlayer(SoundPlayer *pPlayer) {
|
|
mPlayer = pPlayer;
|
|
}
|
|
|
|
public:
|
|
NW4R_UT_LIST_NODE_DECL(); // at 0x2C
|
|
|
|
private:
|
|
BasicSound *mSound; // at 0x34
|
|
SoundPlayer *mPlayer; // at 0x38
|
|
};
|
|
|
|
NW4R_UT_LIST_TYPEDEF_DECL(PlayerHeap);
|
|
|
|
} // namespace detail
|
|
} // namespace snd
|
|
} // namespace nw4r
|
|
|
|
#endif
|