mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 12:12:16 +00:00
TOLTECS: Initialized Animation class
This commit is contained in:
parent
50868e9e10
commit
a7d18763ac
@ -29,6 +29,18 @@ namespace Toltecs {
|
||||
|
||||
AnimationPlayer::AnimationPlayer(ToltecsEngine *vm) : _vm(vm) {
|
||||
_animBuffer = new byte[262144];
|
||||
memset(_animBuffer, 0, 262144);
|
||||
|
||||
_resIndex = 0;
|
||||
_width = _height = 0;
|
||||
_frameNumber = 0;
|
||||
_frameCount = 0;
|
||||
_keepFrameCounter = 0;
|
||||
_curFrameSize = _nextFrameSize = 0;
|
||||
_nextFrameOffset = 0;
|
||||
_firstNextFrameSize = 0;
|
||||
_firstNextFrameOffset = 0;
|
||||
_firstCurFrameSize = 0;
|
||||
}
|
||||
|
||||
AnimationPlayer::~AnimationPlayer() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user