mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-06 19:01:06 +03:00
11 lines
294 B
C++
11 lines
294 B
C++
#include "anim.h"
|
|
|
|
short GF(short animIndex, short frameToStart)
|
|
{
|
|
return short(Anims[animIndex].frameBase + frameToStart);
|
|
}
|
|
|
|
short GF2(short objectID, short animIndex, short frameToStart)
|
|
{
|
|
return short(Anims[Objects[objectID].animIndex + animIndex].frameBase + frameToStart);
|
|
}
|