Logo Search packages:      
Sourcecode: jugglemaster version File versions  Download package

Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

JMLib Class Reference

Collaboration diagram for JMLib:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void calculateZ (JML_BOOL flag)
JML_INT32 doJuggle (void)
void error (JML_CHAR *msg)
JML_FLOAT getDR ()
JML_FLOAT getHR ()
JML_INT32 getImageHeight (void)
JML_INT32 getImageWidth (void)
JML_INT32 getiterations (void)
JML_CHAR * getPattName (void)
JML_CHAR * getSite (void)
JML_INT32 getSiteposLen (void)
JML_CHAR getSiteposStart (void)
JML_CHAR getSiteposStop (void)
JML_INT32 getStatus (void)
JML_CHAR * getStyle (void)
JML_CHAR ** getStyles (void)
void initialize ()
 JMLib (ERROR_CALLBACK *_cb)
JML_INT32 numStyles ()
void setDR (JML_FLOAT DR)
void setErrorCallback (ERROR_CALLBACK *_cb)
void setErrorCallback (void *aUData, void(*aCallback)(void *, JML_CHAR *))
void setHR (JML_FLOAT HR)
void setMirror (JML_BOOL mir=true)
JML_BOOL setPattern (JML_CHAR *name, JML_CHAR *site, JML_FLOAT hr=HR_DEF, JML_FLOAT dr=DR_DEF)
void setPatternDefault (void)
void setPause (JML_BOOL pauseOn=true)
void setScalingMethod ()
JML_BOOL setStyle (JML_CHAR *name, JML_UINT8 length, JML_INT8 *data, JML_INT32 offset=0)
JML_BOOL setStyle (JML_CHAR *name)
void setStyleDefault (void)
JML_BOOL setWindowSize (JML_INT32 width, JML_INT32 height)
void shutdown ()
void speedDown (void)
void speedReset (void)
void speedUp (void)
void startJuggle (void)
void stopJuggle (void)
void togglePause (void)

Public Attributes

struct arm ap
struct ball b [BMAX]
JML_INT32 balln
JML_INT32 dpm
JML_INT32 gx_max
JML_INT32 gx_min
JML_INT32 gy_max
JML_INT32 gy_min
struct hand handpoly
JML_INT32 imageHeight
JML_INT32 imageWidth
struct ball rhand lhand
JML_INT32 status

Protected Member Functions

void applyCorrections (void)
void arm_line (void)
JML_INT32 ctod (JML_CHAR c)
void doStepcalc (void)
JML_FLOAT fadd (JML_FLOAT x, JML_INT32 k, JML_FLOAT t)
void hand_pos (JML_INT32 c, JML_INT32 h, JML_INT32 *x, JML_INT32 *z)
JML_INT32 juggle (struct ball *)
void set_dpm (void)
JML_INT32 set_ini (JML_INT32 rr)
JML_INT32 set_patt (JML_CHAR *w)
void xbitset (void)

Protected Attributes

JML_INT32 arm_x
JML_INT32 arm_y
JML_INT32 aw
JML_INT32 base
JML_INT32 beep
JML_INT32 bm1
ERROR_CALLBACK * cb
JML_FLOAT dwell_ratio
JML_INT32 fpu
JML_FLOAT ga
JML_INT32 hand_on
JML_INT32 hand_x
JML_INT32 hand_y
JML_FLOAT height_ratio
JML_FLOAT high [BMAX+1]
JML_INT32 high0 [BMAX+1]
JML_INT32 horCenter
JML_INT32 kw0
void(* mCallback )(void *, JML_CHAR *)
JML_INT32 mirror
void * mUData
JML_INT32 num_possible_styles
JML_INT32 patt [LMAX][MMAX]
JML_CHAR pattname [LMAX]
JML_INT32 patts [LMAX]
JML_INT32 pattw
JML_INT32 pmax
JML_CHAR ** possible_styles
JML_INT32 r [LMAX *2]
JML_CHAR siteswap [JML_MAX_SITELEN]
JML_FLOAT smode
JML_FLOAT speed
JML_INT8 steps [LMAX]
JML_INT32 style_len
JML_CHAR * styledata
JML_CHAR stylename [JML_MAX_NAMELEN]
JML_INT32 syn
JML_UINT32 time_count
JML_INT32 time_period
JML_INT32 tw
JML_BOOL use_cpp_callback
JML_INT32 verCenter

Detailed Description

Definition at line 132 of file jmlib.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index