Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
|
Variables | |
static Mtx | mtx [10] |
Mtx * | calc_mtx = mtx |
Changes value by step towards target. Step amount is clamped between a min and max, and scaled as a fraction of the remaining distance.
pvalue | Pointer to value to change |
target | Target to move value towards |
scale | Fraction of remaining distance to scale step by |
maxStep | Maximum step amount |
minStep | Minimum step amount |
Changes value by step towards zero. Step amount is clamped between a max and -max, and scaled as a fraction of the remaining distance.
pvalue | Pointer to value to change |
scale | Fraction of remaining distance to scale step by |
maxStep | Maximum (+/-) step amount |
Changes value by step towards target. Step amount is clamped between a max and -max, and scaled as a fraction of the remaining distance.
pvalue | Pointer to value to change |
target | Target to move value towards |
scale | Fraction of remaining distance to scale step by |
maxStep | Maximum (+/-) step amount |
Changes angle value by step towards target. Step amount is clamped between a min and max, and scaled as a fraction of the remaining distance.
pvalue | Pointer to angle value to change |
target | Target angle to move value towards |
scale | Fraction of remaining distance to scale step by |
maxStep | Maximum step amount |
minStep | Minimum step amount |
Changes angle value by step towards target angle. Step amount is clamped between a max and -max and scaled as a fraction of the remaining distance.
pvalue | Pointer to angle value to change |
target | Target angle to move value towards |
scale | Fraction of remaining distance to scale step by |
maxStep | Maximum (+/-) step amount |
Changes position by step towards target position. Step amount is clamped between a min and max, and scaled as a fraction of the remaining distance.
ppos | Pointer to position to change |
target | Target position to move towards |
scale | Fraction of remaining distance to scale step by |
maxStep | Maximum step amount |
minStep | Minimum step amount |
Changes position by step towards target position. Step amount is clamped between a max and -max and scaled as a fraction of the remaining distance.
ppos | Pointer to position to change |
target | Target position to move value towards |
scale | Fraction of remaining distance to scale step by |
maxStep | Maximum (+/-) step amount |
Changes position's X/Z components by step towards target position. Step amount is clamped between a min and max, and scaled as a fraction of the remaining distance.
ppos | Pointer to position to change |
target | Target position to move towards |
scale | Fraction of remaining distance to scale step by |
maxStep | Maximum step amount |
minStep | Minimum step amount |
Changes position's X/Z components by step towards target position. Step amount is clamped between a max and -max and scaled as a fraction of the remaining distance.
ppos | Pointer to position to change |
target | Target position to move value towards |
scale | Fraction of remaining distance to scale step by |
maxStep | Maximum (+/-) step amount |
Changes angle value by step towards target
pvalue | Pointer to value to change |
target | Target to move value towards |
step | Step amount |
Changes float value by step towards target
pvalue | Pointer to value to change |
target | Target to move value towards |
step | Step amount |
Changes position by step towards target
pvalue | Pointer to position to change |
target | Target position to move towards |
step | Step amount |
Changes position's X/Z components by step towards target
pvalue | Pointer to position to change |
target | Target position to move towards |
step | Step amount |
Changes signed short value by step towards target
pvalue | Pointer to value to change |
target | Target to move value towards |
step | Step amount |
Changes unsigned char value by step towards target
pvalue | Pointer to value to change |
target | Target to move value towards |
step | Step amount |
Gets the target x-angle from position A to position B
lhs | Pointer to position A |
rhs | Pointer to position B |
c_lib.cpp Copies a source block of memory to a destination block of memory
dst | Pointer to destination memory |
src | Pointer to source data to be copied |
num | Number of bytes to copy |
Sets the first num bytes of given block of memory to specified value
ptr | Pointer to block of memory |
value | Value to be set |
num | Number of bytes to set |
Adds an offset to a source position in a given angle direction and places the result in pdest
pdest | The resulting position |
psrc | The source position |
angle | The direction to offset psrc in |
vec | The offset cXyz to add to psrc |
Gets the target x-angle from position A to position B
lhs | Pointer to position A |
rhs | Pointer to position B |
Gets the target y-angle from position A to position B
lhs | Reference to position A |
rhs | Reference to position B |
Gets the target y-angle from position A to position B
lhs | Pointer to position A |
rhs | Pointer to position B |
Multiplies a src position by the calc_mtx and puts the result in dest
src | The src position to be multiplied |
dest | The resulting multiplied position |
|
static |