sio2_constraint.cc File Reference

#include "sio2.h"

Include dependency graph for sio2_constraint.cc:


Functions

SIO2constraintsio2ConstraintInit (char *_name)
SIO2constraintsio2ConstraintFree (SIO2constraint *_SIO2constraint)
unsigned char sio2ConstraintLoad (char *_root, char *_tok, char *_val)

Function Documentation

SIO2constraint* sio2ConstraintFree ( SIO2constraint _SIO2constraint  ) 

Free a previously initialized SIO2constraint.

_SIO2constraint: A valid SIO2constraint pointer.

return a NULL SIO2constraint pointer.

References SIO2::_SIO2resource, sio2, SIO2_CONSTRAINT, and sio2ResourceDel().

Referenced by sio2ResourceUnload().

Here is the call graph for this function:

SIO2constraint* sio2ConstraintInit ( char _name  ) 

Create a new SIO2constraint, this new SIO2constraint pointer will be added to the global sio2 SIO2resource handle.

_name: The name to use to associate the SIO2constraint within the SIO2resource.

return a new SIO2constraint structure pointer.

References SIO2::_SIO2resource, SIO2constraint::name, sio2, SIO2_CONSTRAINT, sio2ResourceAdd(), and sio2StringCpy().

Referenced by sio2ConstraintLoad().

Here is the call graph for this function:

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

Function callback used by the parser to parse an SIO2constraint 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::_SIO2constraint, SIO2constraint::all, SIO2constraint::aul, SIO2constraint::body0, SIO2constraint::body1, SIO2constraint::flags, SIO2constraint::lll, SIO2constraint::lul, SIO2constraint::ploc, SIO2constraint::prot, sio2, SIO2_MAX_CHAR, sio2ConstraintInit(), sio2StringCmp(), sio2StringScanf(), SIO2constraint::type, 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