Notice : 内容無保証。禁無断転載。リンク不自由。

piece.h

#ifndef _piece_h_
#define _piece_h_

//

typedef struct {
    int h ;
    int w ;
} PBMP_FILEHEADER ;

typedef struct {
    PBMP_FILEHEADER header ;
    unsigned char* buf ;
    unsigned char* mask ;
} PIECE_BMP ;

typedef struct {
    void*  this ;
} DRAW_OBJECT ;

//

void pceAppInit(void) ;
void pceAppProc(int) ;
void pceAppExit(void) ;

void pceAppSetProcPeriod(int) ;

void pceLCDDispStop(void) ;
void pceLCDSetBuffer(unsigned char*) ;
void pceLCDSetObject(DRAW_OBJECT*, PIECE_BMP*, int, int, int, int, int, int, int) ;
void pceLCDDrawObject(DRAW_OBJECT) ;
void pceLCDTrans(void) ;
void pceLCDDispStart(void) ;

void InitMusic(void) ;
void PlayMusic(unsigned char*) ;
void pceWaveStop(int) ;

//

#define    DRW_NOMAL   0

#endif /* _piece_h_ */