
Go to the source code of this file.
Classes | |
| struct | SIO2ipo |
Functions | |
| SIO2ipo * | sio2IpoInit (char *) |
| SIO2ipo * | sio2IpoFree (SIO2ipo *) |
| unsigned char | sio2IpoLoad (char *, char *, char *) |
| void | sio2IpoRender (SIO2ipo *, SIO2window *) |
| void | sio2IpoPlay (SIO2ipo *) |
| void | sio2IpoPause (SIO2ipo *) |
| void | sio2IpoStop (SIO2ipo *, SIO2transform *) |
| void | sio2IpoReset (SIO2ipo *, SIO2transform *) |
Free a valid SIO2ipo pointer, and remove its handle from the global sio2 SIO2resource handle.
_SIO2ipo: A valid SIO2ipo pointer.
return a NULL SIO2ipo structure pointer.
References SIO2::_SIO2resource, SIO2ipo::locx, SIO2ipo::locy, SIO2ipo::locz, SIO2ipo::rotx, SIO2ipo::roty, SIO2ipo::rotz, SIO2ipo::sclx, SIO2ipo::scly, SIO2ipo::sclz, sio2, SIO2_IPO, sio2IpoCurveFree(), and sio2ResourceDel().
Referenced by sio2ResourceUnload().

Create a new SIO2ipo, this new SIO2ipo pointer will be added to the global sio2 SIO2resource handle.
_name: The name to use to associate the SIO2ipo within the SIO2resource.
return a new SIO2ipo structure pointer.
References SIO2::_SIO2resource, SIO2ipo::_SIO2transform, SIO2ipo::name, sio2, SIO2_IPO, sio2ResourceAdd(), sio2StringCpy(), and sio2TransformLoadIdentity().
Referenced by sio2IpoLoad().

Function callback used by the parser to parse an SIO2ipo file.
_root: The root token.
_tok: The current token to parse.
_val: The value of the token.
return 1 or 0 if the token have been found.
References SIO2::_SIO2ipo, SIO2::_SIO2ipocurve, SIO2ipocurve::extrapolation, bez3::hdl1, bez3::hdl2, SIO2ipocurve::interpolation, bez3::knot, SIO2ipo::locx, SIO2ipo::locy, SIO2ipo::locz, SIO2ipocurve::n_point, SIO2ipocurve::point, SIO2ipo::rotx, SIO2ipo::roty, SIO2ipo::rotz, SIO2ipo::sclx, SIO2ipo::scly, SIO2ipo::sclz, sio2, SIO2_MAX_CHAR, sio2IpoCurveInit(), sio2IpoInit(), sio2StringCmp(), sio2StringScanf(), vec2::x, and vec2::y.
Referenced by sio2ResourceCreateDictionary().

| void sio2IpoPause | ( | SIO2ipo * | _SIO2ipo | ) |
Set the playback state of the SIO2ipo to SIO2_PAUSE.
_SIO2ipo: A valid SIO2ipo pointer.
References SIO2_PAUSE, and SIO2ipo::state.
| void sio2IpoPlay | ( | SIO2ipo * | _SIO2ipo | ) |
Set the playback state of the SIO2ipo to SIO2_PLAY.
_SIO2ipo: A valid SIO2ipo pointer.
References SIO2_PLAY, and SIO2ipo::state.
| void sio2IpoRender | ( | SIO2ipo * | _SIO2ipo, | |
| SIO2window * | _SIO2window | |||
| ) |
Render an SIO2ipo.
_SIO2ipo: A valid SIO2emitter pointer.
_SIO2window: A valid SIO2window pointer. The SIO2window is used for the current delta time value, to increment the interpolation of the SIO2ipo between two points based on the appropriate interpolation method used by the SIO2ipocurve. In addition the SIO2transformation matrix will be recalculated on every render pass, and the matrix will then be affected to the object(s) linked to it.
References SIO2ipo::_SIO2transform, SIO2transform::loc, SIO2ipo::locx, SIO2ipo::locy, SIO2ipo::locz, SIO2transform::rot, SIO2ipo::rotx, SIO2ipo::roty, SIO2ipo::rotz, SIO2transform::scl, SIO2ipo::sclx, SIO2ipo::scly, SIO2ipo::sclz, SIO2_PLAY, sio2IpoCurveRender(), sio2TransformBindMatrix(), SIO2ipo::state, vec3::x, vec3::y, and vec3::z.
Referenced by sio2ResourceRender().

| void sio2IpoReset | ( | SIO2ipo * | _SIO2ipo, | |
| SIO2transform * | _SIO2transform | |||
| ) |
Reset an SIO2ipo back to a specific transformation. Make sure that all the appropriate values are set in the SIO2transform pointer passed to this function, if the SIO2ipo does not have an appropriate SIO2ipocurve associated with a specific transformation variable the SIO2ipo transformation will use the value specified by the SIO2transform structure passed to this function.
_SIO2ipo: A valid SIO2ipo pointer. _SIO2transform: The transformation matrix that should be used when the SIO2ipo resets.
References SIO2ipo::_SIO2transform, SIO2transform::loc, SIO2ipo::locx, SIO2ipo::locy, SIO2ipo::locz, SIO2transform::rot, SIO2ipo::rotx, SIO2ipo::roty, SIO2ipo::rotz, SIO2transform::scl, SIO2ipo::sclx, SIO2ipo::scly, SIO2ipo::sclz, sio2IpoCurveReset(), vec3::x, vec3::y, and vec3::z.
Referenced by sio2IpoStop(), sio2ResourceBindCameraIpo(), sio2ResourceBindLampIpo(), and sio2ResourceBindObjectIpo().

| void sio2IpoStop | ( | SIO2ipo * | _SIO2ipo, | |
| SIO2transform * | _SIO2transform | |||
| ) |
Set the playback state of the SIO2ipo to SIO2_STOP.
_SIO2ipo: A valid SIO2ipo pointer. _SIO2transform: The transformation matrix that should be used when the SIO2ipo stop.
References SIO2_STOP, sio2IpoReset(), and SIO2ipo::state.

1.5.6