ScummVM API documentation
Access::Player Class Reference
Inheritance diagram for Access::Player:
Access::ImageEntry Access::Manager Access::Amazon::AmazonPlayer Access::Martian::MartianPlayer

Public Member Functions

 Player (AccessEngine *vm)
 
virtual void load ()
 
void loadTexPalette ()
 
void loadSprites (const Common::Path &name)
 
void freeSprites ()
 
void removeSprite1 ()
 
void calcManScale ()
 
void walk ()
 
void calcPlayer ()
 
bool scrollUp (int forcedAmount=-1)
 
bool scrollDown (int forcedAmount=-1)
 
bool scrollLeft (int forcedAmount=-1)
 
bool scrollRight (int forcedAmount=-1)
 
void checkScroll ()
 
void checkMove ()
 
void synchronize (Common::Serializer &s)
 
- Public Member Functions inherited from Access::Manager
 Manager (AccessEngine *vm)
 

Static Public Member Functions

static Playerinit (AccessEngine *vm)
 

Public Attributes

Direction _playerDirection
 
SpriteResource_playerSprites
 
byte * _manPal1
 
int * _walkOffRight
 
int * _walkOffLeft
 
int * _walkOffUp
 
int * _walkOffDown
 
Common::Point_walkOffUR
 
Common::Point_walkOffDR
 
Common::Point_walkOffUL
 
Common::Point_walkOffDL
 
byte _rawTempL
 
int _rawXTemp
 
byte _rawYTempL
 
int _rawYTemp
 
Common::Point _playerOffset
 
int _playerXLow
 
int _playerX
 
int _playerYLow
 
int _playerY
 
int _frame
 
int _xFlag
 
int _yFlag
 
Direction _move
 
bool _playerOff
 
bool _playerMove
 
Common::Point _moveTo
 
bool _collideFlag
 
bool _scrollFlag
 
int _scrollThreshold
 
int _scrollAmount
 
int _roomNumber
 
Common::Point _rawPlayerLow
 
Common::Point _rawPlayer
 
- Public Attributes inherited from Access::ImageEntry
int _frameNumber
 
SpriteResource_spritesPtr
 
int _offsetY
 
Common::Point _position
 
int _flags
 

Protected Member Functions

void plotCom (int v1)
 
void plotCom0 ()
 
void plotCom1 ()
 
void plotCom2 ()
 
void plotCom3 ()
 
void walkUp ()
 
void walkDown ()
 
void walkLeft ()
 
void walkRight ()
 
void walkUpLeft ()
 
void walkDownLeft ()
 
void walkUpRight ()
 
void walkDownRight ()
 
void checkScrollUp ()
 

Protected Attributes

int _leftDelta
 
int _rightDelta
 
int _upDelta
 
int _downDelta
 
int _scrollConst
 
int _sideWalkMin
 
int _sideWalkMax
 
int _upWalkMin
 
int _upWalkMax
 
int _downWalkMin
 
int _downWalkMax
 
int _diagUpWalkMin
 
int _diagUpWalkMax
 
int _diagDownWalkMin
 
int _diagDownWalkMax
 
SpriteResource_playerSprites1
 
int _scrollEnd
 
int _inactiveYOff
 
- Protected Attributes inherited from Access::Manager
AccessEngine_vm
 

Member Function Documentation

◆ synchronize()

void Access::Player::synchronize ( Common::Serializer s)

Synchronize savegame data


The documentation for this class was generated from the following file: