33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
#ifndef _WWPaletteP_h_INCLUDED_
|
||
#define _WWPaletteP_h_INCLUDED_
|
||
|
||
/*****************************************************************************/
|
||
/* ここから */
|
||
/*****************************************************************************/
|
||
|
||
#include "WWPalette.h"
|
||
|
||
/*****************************************************************************/
|
||
/* クラスの定義 */
|
||
/*****************************************************************************/
|
||
|
||
typedef struct _WWPalette {
|
||
int number;
|
||
|
||
int transparent; /* 0 は透明色になるかどうかのフラグ */
|
||
|
||
/* カラーマップの8色中から4色を選択 */
|
||
int mapped_color[4]; /* カラーマップの番号(0~7)を持つ */
|
||
|
||
} _WWPalette;
|
||
|
||
/*****************************************************************************/
|
||
/* ここまで */
|
||
/*****************************************************************************/
|
||
|
||
#endif
|
||
|
||
/*****************************************************************************/
|
||
/* End of File. */
|
||
/*****************************************************************************/
|