WWPaletteP.h 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. #ifndef _WWPaletteP_h_INCLUDED_
  2. #define _WWPaletteP_h_INCLUDED_
  3. /*****************************************************************************/
  4. /* ここから */
  5. /*****************************************************************************/
  6. #include "WWPalette.h"
  7. /*****************************************************************************/
  8. /* クラスの定義 */
  9. /*****************************************************************************/
  10. typedef struct _WWPalette {
  11. int number;
  12. int transparent; /* 0 は透明色になるかどうかのフラグ */
  13. /* カラーマップの8色中から4色を選択 */
  14. int mapped_color[4]; /* カラーマップの番号(0~7)を持つ */
  15. } _WWPalette;
  16. /*****************************************************************************/
  17. /* ここまで */
  18. /*****************************************************************************/
  19. #endif
  20. /*****************************************************************************/
  21. /* End of File. */
  22. /*****************************************************************************/