
Go to the source code of this file.
Classes | |
| struct | SIO2action |
Functions | |
| SIO2action * | sio2ActionInit (char *) |
| SIO2action * | sio2ActionFree (SIO2action *) |
| unsigned char | sio2ActionLoad (char *, char *, char *) |
| SIO2action* sio2ActionFree | ( | SIO2action * | _SIO2action | ) |
Free an SIO2action structure from the memory. The SIO2action will be removed from the global sio2 SIO2resource handle.
_SIO2action: A valid SIO2action pointer previously initialized.
return a NULL SIO2action pointer.
References SIO2action::_SIO2frame, SIO2::_SIO2resource, SIO2action::n_frame, sio2, SIO2_ACTION, sio2FrameFree(), and sio2ResourceDel().
Referenced by sio2ResourceUnload().

| SIO2action* sio2ActionInit | ( | char * | _name | ) |
Initialize a new SIO2action structure. This new SIO2action will be added to the global sio2 SIO2resource handle.
_name: The name to use for the new SIO2action.
return a new SIO2action structure pointer.
References SIO2::_SIO2resource, SIO2action::name, sio2, SIO2_ACTION, sio2ResourceAdd(), and sio2StringCpy().
Referenced by sio2ActionLoad().

Function callback used by the parser to parse an SIO2action 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::_SIO2action, SIO2action::_SIO2frame, SIO2frame::buf, SIO2action::n_frame, SIO2action::s_frame, sio2, SIO2_MAX_CHAR, sio2ActionInit(), sio2FrameInit(), sio2StringCmp(), sio2StringScanf(), vec3::x, vec3::y, and vec3::z.
Referenced by sio2ResourceCreateDictionary().

1.5.6