WWScreenP.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef _WWScreenP_h_INCLUDED_
  2. #define _WWScreenP_h_INCLUDED_
  3. /*****************************************************************************/
  4. /* ここから */
  5. /*****************************************************************************/
  6. #include "WWScreen.h"
  7. /*****************************************************************************/
  8. /* クラスの定義 */
  9. /*****************************************************************************/
  10. /* スクリーンのマス目ごとに決まる,表示情報 */
  11. typedef struct _WWScreenCharacter {
  12. int horizontal; /* 横方向反転フラグ */
  13. int vertical; /* 縦方向反転フラグ */
  14. WWPalette palette; /* パレット番号.0~15 のパレット番号 */
  15. WWCharacter character; /* 表示キャラクタ */
  16. } _WWScreenCharacter;
  17. typedef struct _WWScreenCharacter * WWScreenCharacter;
  18. typedef struct _WWScreen {
  19. int number;
  20. int width;
  21. int height;
  22. int roll_x;
  23. int roll_y;
  24. WWScreenCharacter * screen_characters;
  25. } _WWScreen;
  26. /*****************************************************************************/
  27. /* ここまで */
  28. /*****************************************************************************/
  29. #endif
  30. /*****************************************************************************/
  31. /* End of File. */
  32. /*****************************************************************************/