Skip to content

Commit

Permalink
make part::calcanim private
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Dec 3, 2024
1 parent a4679aa commit e1a0645
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/engine/model/animmodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -599,9 +599,6 @@ class animmodel : public model
bool animated() const;
virtual void loaded();

protected:
bool calcanim(int animpart, int anim, int basetime, int basetime2, dynent *d, int interp, animinfo &info, int &animinterptime) const;

private:
struct animspec
{
Expand All @@ -613,6 +610,7 @@ class animmodel : public model
std::vector<animspec> *anims[maxanimparts]; //pointer to array of std::vector<animspec>

virtual void getdefaultanim(animinfo &info) const;
bool calcanim(int animpart, int anim, int basetime, int basetime2, dynent *d, int interp, animinfo &info, int &animinterptime) const;
};

std::vector<part *> parts;
Expand Down

0 comments on commit e1a0645

Please sign in to comment.