WWDisplayP.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #ifndef _WWDisplayP_h_INCLUDED_
  2. #define _WWDisplayP_h_INCLUDED_
  3. /*****************************************************************************/
  4. /* ここから */
  5. /*****************************************************************************/
  6. #include "WWDisplay.h"
  7. /*****************************************************************************/
  8. /* クラスの定義 */
  9. /*****************************************************************************/
  10. typedef struct _WWDisplay {
  11. WWColorMap color_map;
  12. WWPalette palette[16];
  13. WWCharacter character[512];
  14. WWSprite sprite[128];
  15. WWScreen screen[2];
  16. WWLCDPanel lcd_panel;
  17. /* ディスプレイの属性情報 */
  18. int screen_enable[2]; /* スクリーン表示イネーブルフラグ */
  19. int sprite_enable; /* スプライト表示イネーブルフラグ */
  20. int sprite_window_enable; /* スプライトウインドウ機能イネーブルフラグ */
  21. /* スクリーン2ウインドウモード */
  22. /* 0,1... 無効 2...ウインドウの内側を表示 3...ウインドウの外側を表示 */
  23. int screen2_window_mode;
  24. int border; /* ボーダーカラー.0~7のカラーマップ番号 */
  25. int foreground_color; /* モノクロフォント展開時の色 */
  26. int background_color; /* モノクロフォント展開時の色 */
  27. int sprite_start; /* スプライトの描画の指定 */
  28. int sprite_count; /* スプライトの描画の指定 */
  29. } _WWDisplay;
  30. /*****************************************************************************/
  31. /* ここまで */
  32. /*****************************************************************************/
  33. #endif
  34. /*****************************************************************************/
  35. /* End of File. */
  36. /*****************************************************************************/