arsa  2.7
Classes | Macros | Typedefs | Functions
cdxmotion.h File Reference
#include "cdxsprite.h"
#include "gamebasetype.h"
#include "ctimer.h"

Go to the source code of this file.

Classes

struct  BBoxInfo
 
struct  COLLISION
 
struct  MotionInfo
 
class  CDXMotion
 

Macros

#define BBOX_MAX   2
 
#define CONTEXT   0
 
#define ATTACK   1
 

Typedefs

typedef void CB_CDXMOTION_CHANGED_FRAME(CDXMotion *motion, int old_frame, int current_frame)
 
typedef struct COLLISIONPCOLLISION
 

Functions

ARSA_API void ARSACALLCONV CDXMOTION_SET_CHANGE_FRAME (CB_CDXMOTION_CHANGED_FRAME *func)
 call in update when readevent = true More...
 

Macro Definition Documentation

◆ ATTACK

#define ATTACK   1

Definition at line 43 of file cdxmotion.h.

◆ BBOX_MAX

#define BBOX_MAX   2

BBOX max 0 = Context bounding box 1 = Attack bounding box

Definition at line 41 of file cdxmotion.h.

◆ CONTEXT

#define CONTEXT   0

Definition at line 42 of file cdxmotion.h.

Typedef Documentation

◆ CB_CDXMOTION_CHANGED_FRAME

typedef void CB_CDXMOTION_CHANGED_FRAME(CDXMotion *motion, int old_frame, int current_frame)

call when frame changed and readevent = true for call trigger

Definition at line 29 of file cdxmotion.h.

◆ PCOLLISION

typedef struct COLLISION* PCOLLISION

Definition at line 98 of file cdxmotion.h.

Function Documentation

◆ CDXMOTION_SET_CHANGE_FRAME()

ARSA_API void ARSACALLCONV CDXMOTION_SET_CHANGE_FRAME ( CB_CDXMOTION_CHANGED_FRAME func)

call in update when readevent = true