mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-10 21:00:55 -04:00
Z2Creature mostly done (#2049)
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
class JAISoundID {
|
||||
public:
|
||||
operator u32() const { return this->mId.mFullId; }
|
||||
const JAISoundID& operator=(JAISoundID const& other) { mId.mFullId = other.mId.mFullId; return *this; };
|
||||
|
||||
JAISoundID(u32 pId) { mId.mFullId = pId; };
|
||||
|
||||
@@ -16,10 +15,6 @@ public:
|
||||
|
||||
JAISoundID() {}
|
||||
|
||||
// Helps solve some JAISoundID ctor/assignment operator stack issues
|
||||
// Remove when solved
|
||||
void stackCopyHelper(JAISoundID other) { mId = other.mId; }
|
||||
|
||||
bool isAnonymous() { return mId.mFullId == 0xffffffff; }
|
||||
void setAnonymous() { mId.mFullId = -1; }
|
||||
|
||||
@@ -229,7 +224,7 @@ public:
|
||||
virtual JAITempoMgr* getTempoMgr() = 0;
|
||||
virtual bool JAISound_tryDie_() = 0;
|
||||
|
||||
JAISoundID getID() const;
|
||||
JAISoundID getID() const { return soundID; }
|
||||
u8 getAnimationState() const { return status_.state.flags.animationState; }
|
||||
bool isAnimated() const { return getAnimationState() != 0; }
|
||||
void setAnimationState(u8 pState) {
|
||||
|
||||
Reference in New Issue
Block a user