34 lines
1.4 KiB
C
34 lines
1.4 KiB
C
#ifndef _WWSpriteP_h_INCLUDED_
|
||
#define _WWSpriteP_h_INCLUDED_
|
||
|
||
/*****************************************************************************/
|
||
/* ここから */
|
||
/*****************************************************************************/
|
||
|
||
#include "WWSprite.h"
|
||
|
||
/*****************************************************************************/
|
||
/* クラスの定義 */
|
||
/*****************************************************************************/
|
||
|
||
typedef struct _WWSprite {
|
||
int number;
|
||
int horizontal; /* 横方向反転フラグ */
|
||
int vertical; /* 縦方向反転フラグ */
|
||
int priority; /* スクリーン2に対する優先度 */
|
||
int clipping; /* クリッピングタイプ */
|
||
WWPalette palette; /* パレット番号.8~15 のパレット番号から8を引いた値 */
|
||
WWCharacter character; /* 表示キャラクタ */
|
||
int x, y; /* 座標(LCD上での絶対座標) */
|
||
} _WWSprite;
|
||
|
||
/*****************************************************************************/
|
||
/* ここまで */
|
||
/*****************************************************************************/
|
||
|
||
#endif
|
||
|
||
/*****************************************************************************/
|
||
/* End of File. */
|
||
/*****************************************************************************/
|