sio2_action.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SIO2action

Functions

SIO2actionsio2ActionInit (char *)
SIO2actionsio2ActionFree (SIO2action *)
unsigned char sio2ActionLoad (char *, char *, char *)


Function Documentation

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

unsigned char sio2ActionLoad ( char _root,
char _tok,
char _val 
)

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().

Here is the call graph for this function:


Generated on Thu Mar 4 15:41:42 2010 for SIO2 Engine by  doxygen 1.5.6