wonx/WWScreenP.h
Hiroaki Sakai 1d5ebf4867 When executing a function related to text display, (although characters are not displayed as usual)
At the very least I output the character string to the terminal.

We implemented the window function of screen 2.

Version 0.0.2 alpha - from wonx-a02.tar.gz
2000-09-27 12:00:00 +09:00

54 lines
1.9 KiB
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef _WWScreenP_h_INCLUDED_
#define _WWScreenP_h_INCLUDED_
/*****************************************************************************/
/* ここから */
/*****************************************************************************/
#include "WWScreen.h"
/*****************************************************************************/
/* クラスの定義 */
/*****************************************************************************/
/* スクリーンのマス目ごとに決まる,表示情報 */
typedef struct _WWScreenCharacter {
int horizontal; /* 横方向反転フラグ */
int vertical; /* 縦方向反転フラグ */
WWPalette palette; /* パレット番号015 のパレット番号 */
WWCharacter character; /* 表示キャラクタ */
} _WWScreenCharacter;
typedef struct _WWScreenCharacter * WWScreenCharacter;
typedef struct _WWScreen {
int number;
int width;
int height;
int roll_x;
int roll_y;
WWScreenCharacter * screen_characters;
int enable; /* 表示/非表示のフラグ */
int mode; /* 表示モード */
/* WWSCREEN_DRAW_ALL, WWSCREEN_INSIDE_ONLY, WWSCREEN_OUTSIDE_ONLY の */
/* いずれかの値を取る */
/* 表示領域(スクリーン2のウインドウ機能用.スクリーン1では未使用) */
int draw_x, draw_y;
int draw_width, draw_height;
} _WWScreen;
/*****************************************************************************/
/* ここまで */
/*****************************************************************************/
#endif
/*****************************************************************************/
/* End of File. */
/*****************************************************************************/