#include <mgi/Control.h> void mgiControlInit( MgiControl *control_ptr )
#include <mgi/Control.h>
void mgiControlBind( MgiControl *control_ptr,
MgiCharacter *char_ptr )
Gets unsigned integer value from field of node.
#include <mgi/Control.h> u32 mgiControlGetULong( const MgiControl *control_ptr )
Gets signed integer value from field of node.
#include <mgi/Control.h> s32 mgiControlGetSLong( const MgiControl *control_ptr )
Gets floating point value from field of node.
#include <mgi/Control.h> float mgiControlGetFloat( const MgiControl *control_ptr )
Gets array of unsigned integer values from field of node and puts it into array.
#include <mgi/Control.h> void mgiControlGetULongs( const MgiControl *control_ptr, u32 *array )
Gets array of signed integer values from field of node and puts it into array.
#include <mgi/Control.h> void mgiControlGetSLongs( const MgiControl *control_ptr, s32 *array )
Gets array of floating point values from field of node and puts it into array.
#include <mgi/Control.h> void mgiControlGetFloats( const MgiControl *control_ptr, float *array )
Sets unsigned integer value to field of node.
#include <mgi/Control.h> void mgiControlSetULong( MgiControl *control_ptr, const u32 value )
Sets signed integer value to field of node.
#include <mgi/Control.h> void mgiControlSetSLong( MgiControl *control_ptr, const s32 value )
Sets floating point value to field of node.
#include <mgi/Control.h> void mgiControlSetFloat( MgiControl *control_ptr, const float value )
Sets array of unsigned integer values to field of node.
#include <mgi/Control.h> void mgiControlSetULongs( MgiControl *control_ptr, const u32 *array )
Sets array of signed integer values to field of node.
#include <mgi/Control.h> void mgiControlSetSLongs( MgiControl *control_ptr, const s32 *array )
Sets array of floating point values to field of node.
#include <mgi/Control.h> void mgiControlSetFloats( MgiControl *control_ptr, const float *array )
Separates MgiControl from node.
#include <mgi/Control.h> _mgiControlUnbind(control_ptr)
#include <mgi/Control.h>
typedef struct _MgiControl
{
char *node_name;
struct _MhcNode *node_ptr;
u32 field;
u32 size;
union
{
void *ptr;
u32 *u32_ptr;
s32 *s32_ptr;
float *float_ptr;
} access;
} MgiControl;