summaryrefslogtreecommitdiff
path: root/include/d/snd/d_snd_source_py_bird.h
blob: 994bc11e442ba8fd79921e14b5ee40da6591ac9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef D_SND_SOURCE_PY_BIRD_H
#define D_SND_SOURCE_PY_BIRD_H

#include "d/snd/d_snd_source_anim_sound.h"

class dSndSourcePyBird_c : public dSndSourceAnimSound_c {
public:
    dSndSourcePyBird_c(s32 sourceType, dAcBase_c *ac, const char *name, dSndSourceGroup_c *pOwnerGroup)
        : dSndSourceAnimSound_c(sourceType, ac, name, pOwnerGroup), mSeqVarValue(0) {}

    /* 0x104 */ virtual void load(void *data, const char *name) override;

    /* 0x1CC */ virtual void postSetupSound(u32 playingId, u32 requestedId, dSndSeSound_c *seSound) override;

private:
    static void cbPyBirdGlide(dSndSeSound_c *sound, dSoundSource_c *source, nw4r::snd::SoundHandle &handle);

    /* 0x200 */ s32 mSeqVarValue;
};

#endif