|
| Actor (TwinEEngine *engine) |
|
void | initSprite (int32 spriteNum, int32 actorIdx) |
|
void | setFrame (int32 actorIdx, uint32 frame) |
|
void | restartPerso () |
|
void | loadHeroEntities () |
|
TextId | getTextIdForBehaviour () const |
|
void | setBehaviour (HeroBehaviourType behaviour) |
|
void | initBody (BodyType bodyIdx, int16 actorIdx) |
|
void | startInitObj (int16 actorIdx) |
|
void | initObject (int16 actorIdx) |
|
void | hitObj (int32 actorIdx, int32 actorIdxAttacked, int32 strengthOfHit, int32 angle) |
|
void | checkCarrier (int32 actorIdx) |
|
void | giveExtraBonus (int32 actorIdx) |
|
void | posObjectAroundAnother (uint8 numsrc, uint8 numtopos) |
|
◆ restartPerso()
void TwinE::Actor::restartPerso |
( |
| ) |
|
Restart hero variables while opening new scenes
◆ loadHeroEntities()
void TwinE::Actor::loadHeroEntities |
( |
| ) |
|
Load hero 3D body and animations
◆ setBehaviour()
void TwinE::Actor::setBehaviour |
( |
HeroBehaviourType |
behaviour | ) |
|
Set hero behaviour
- Parameters
-
behaviour | behaviour value to set |
◆ initBody()
void TwinE::Actor::initBody |
( |
BodyType |
bodyIdx, |
|
|
int16 |
actorIdx |
|
) |
| |
Initialize 3D actor
- Parameters
-
bodyIdx | 3D actor body index |
actorIdx | 3D actor index |
◆ startInitObj()
void TwinE::Actor::startInitObj |
( |
int16 |
actorIdx | ) |
|
Initialize actors
- Parameters
-
actorIdx | actor index to init |
◆ initObject()
void TwinE::Actor::initObject |
( |
int16 |
actorIdx | ) |
|
Reset actor
- Parameters
-
actorIdx | actor index to init |
◆ hitObj()
void TwinE::Actor::hitObj |
( |
int32 |
actorIdx, |
|
|
int32 |
actorIdxAttacked, |
|
|
int32 |
strengthOfHit, |
|
|
int32 |
angle |
|
) |
| |
Process hit actor
- Parameters
-
actorIdx | actor hitting index |
actorIdxAttacked | actor attacked index |
strengthOfHit | actor hitting strength of hit |
angle | angle of actor hitting |
◆ checkCarrier()
void TwinE::Actor::checkCarrier |
( |
int32 |
actorIdx | ) |
|
◆ giveExtraBonus()
void TwinE::Actor::giveExtraBonus |
( |
int32 |
actorIdx | ) |
|
Process actor extra bonus
◆ _combatAuto
bool TwinE::Actor::_combatAuto = true |
Hero auto aggressive mode
◆ _previousHeroBehaviour
HeroBehaviourType TwinE::Actor::_previousHeroBehaviour = HeroBehaviourType::kNormal |
◆ _previousHeroAngle
int16 TwinE::Actor::_previousHeroAngle = 0 |
◆ _heroAnimIdxNORMAL
int16 TwinE::Actor::_heroAnimIdxNORMAL = 0 |
Hero current anim for normal behaviour
◆ _heroAnimIdxATHLETIC
int16 TwinE::Actor::_heroAnimIdxATHLETIC = 0 |
Hero current anim for athletic behaviour
◆ _heroAnimIdxAGGRESSIVE
int16 TwinE::Actor::_heroAnimIdxAGGRESSIVE = 0 |
Hero current anim for aggressive behaviour
◆ _heroAnimIdxDISCRETE
int16 TwinE::Actor::_heroAnimIdxDISCRETE = 0 |
Hero current anim for discrete behaviour
◆ _heroAnimIdxPROTOPACK
int16 TwinE::Actor::_heroAnimIdxPROTOPACK = 0 |
Hero current anim for protopack behaviour
◆ _heroAnimIdx
int16 TwinE::Actor::_heroAnimIdx[4] |
Hero anim for behaviour menu
The documentation for this class was generated from the following file: