0001: // ----------------------------------------------------------------------------
0002: //
0003: // main.h - 全体的な定義
0004: //
0005: // Copyright (c) 2001 if (if@edokko.com)
0006: // All Rights Reserved.
0007: //
0008: // ----------------------------------------------------------------------------
0009: #ifndef _MAIN_H
0010: #define _MAIN_H
0011:
0012: // ----------------------------------------------------------------------------
0013: // オプション
0014: // ----------------------------------------------------------------------------
0015: #ifdef _DEBUG
0016: // デバッグ時
0017: #define FULLSCREEN 0 // スルスクリーン時に 1 にする
0018: #else
0019: // リリース時
0020: #define FULLSCREEN 1
0021: #endif
0022:
0023: // ----------------------------------------------------------------------------
0024: // アプリごとの定数
0025: // ----------------------------------------------------------------------------
0026: #define CAPTION "MyBase"
0027: #define WIDTH 512 // Width
0028: #define HEIGHT 512 // Height
0029:
0030: // ----------------------------------------------------------------------------
0031: // よく使う変数、定数
0032: // ----------------------------------------------------------------------------
0033: #define RELEASE(o) if (o){o->Release();o=NULL;}
0034: #define PI (3.1415926535f)
0035:
0036: #endif /* !_MAIN_H */
0037: