|
| Movements (TwinEEngine *engine) |
|
void | setActionNormal (bool actionNormal) |
|
void | update () |
|
bool | actionNormal () const |
|
IVec3 | getShadow (const IVec3 &pos) |
|
void | initRealAngle (int16 startAngle, int16 endAngle, int16 stepAngle, RealValue *movePtr) |
|
void | clearRealAngle (ActorStruct *actorPtr) |
|
void | initRealValue (int16 startAngle, int16 endAngle, int16 stepAngle, RealValue *movePtr) |
|
int32 | getAngle (int32 x1, int32 z1, int32 x2, int32 z2) |
|
int32 | getAngle (const IVec3 &v1, const IVec3 &v2) |
|
void | initRealAngleConst (int32 start, int32 end, int32 duration, RealValue *movePtr) const |
|
void | doDir (int32 actorIdx) |
|
|
bool | _lastJoyFlag = false |
|
int32 | _targetActorDistance = 0 |
|
◆ actionNormal()
bool TwinE::Movements::actionNormal |
( |
| ) |
const |
|
inline |
Hero executes the current action of the trigger zone
◆ getShadow()
IVec3 TwinE::Movements::getShadow |
( |
const IVec3 & |
pos | ) |
|
Get shadow position
- Parameters
-
◆ initRealAngle()
void TwinE::Movements::initRealAngle |
( |
int16 |
startAngle, |
|
|
int16 |
endAngle, |
|
|
int16 |
stepAngle, |
|
|
RealValue * |
movePtr |
|
) |
| |
Set actor safe angle
- Parameters
-
startAngle | start angle |
endAngle | end angle |
stepAngle | number of steps |
movePtr | time pointer to update |
◆ clearRealAngle()
void TwinE::Movements::clearRealAngle |
( |
ActorStruct * |
actorPtr | ) |
|
Clear actors safe angle
- Parameters
-
◆ initRealValue()
void TwinE::Movements::initRealValue |
( |
int16 |
startAngle, |
|
|
int16 |
endAngle, |
|
|
int16 |
stepAngle, |
|
|
RealValue * |
movePtr |
|
) |
| |
Set actor safe angle
- Parameters
-
startAngle | start angle |
endAngle | end angle |
stepAngle | number of steps |
movePtr | time pointer to update |
◆ getAngle()
int32 TwinE::Movements::getAngle |
( |
int32 |
x1, |
|
|
int32 |
z1, |
|
|
int32 |
x2, |
|
|
int32 |
z2 |
|
) |
| |
Get actor angle
- Parameters
-
◆ initRealAngleConst()
void TwinE::Movements::initRealAngleConst |
( |
int32 |
start, |
|
|
int32 |
end, |
|
|
int32 |
duration, |
|
|
RealValue * |
movePtr |
|
) |
| const |
Move actor around the scene
- Parameters
-
start | Current actor angle |
end | Angle to rotate |
duration | Rotate speed |
movePtr | Pointer to process movements |
The documentation for this class was generated from the following file: