ScummVM API documentation
TwinE::Extra Class Reference

Public Member Functions

 Extra (TwinEEngine *engine)
 
int32 extraSearch (int32 actorIdx, int32 x, int32 y, int32 z, int32 spriteIdx, int32 targetActor, int32 maxSpeed, int32 strengthOfHit)
 
int32 addExtraExplode (int32 x, int32 y, int32 z)
 
int32 extraExplo (const IVec3 &pos)
 
void clearExtra ()
 
int32 initSpecial (int32 x, int32 y, int32 z, ExtraSpecialType type)
 
int32 addExtraBonus (int32 x, int32 y, int32 z, int32 xAngle, int32 yAngle, int32 type, int32 bonusAmount)
 
int32 addExtraBonus (const IVec3 &pos, int32 xAngle, int32 yAngle, int32 type, int32 bonusAmount)
 
int32 throwExtra (int32 actorIdx, int32 x, int32 y, int32 z, int32 spriteIdx, int32 xAngle, int32 yAngle, int32 xRotPoint, int32 extraAngle, int32 strengthOfHit)
 
int32 addExtraAiming (int32 actorIdx, int32 x, int32 y, int32 z, int32 spriteIdx, int32 targetActorIdx, int32 finalAngle, int32 strengthOfHit)
 
void addExtraThrowMagicball (int32 x, int32 y, int32 z, int32 xAngle, int32 yAngle, int32 xRotPoint, int32 extraAngle)
 
void affSpecial (int32 extraIdx, int32 x, int32 y, Common::Rect &renderRect)
 
int getBonusSprite (BonusParameter bonusParameter) const
 
void gereExtras ()
 

Public Attributes

ExtraListStruct _extraList [50]
 

Member Function Documentation

◆ addExtraExplode()

int32 TwinE::Extra::addExtraExplode ( int32  x,
int32  y,
int32  z 
)

Add extra explosion

Parameters
xExplosion X coordinate
yExplosion Y coordinate
zExplosion Z coordinate

◆ clearExtra()

void TwinE::Extra::clearExtra ( )

Reset all used extras

◆ gereExtras()

void TwinE::Extra::gereExtras ( )

Process extras


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