using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DxLibDLL;
namespace DesignProject
{
class Program
{
static void Main(string[] args)
{
DX.SetAlwaysRunFlag(DX.TRUE);
DX.ChangeWindowMode(DX.TRUE);
if (DX.DxLib_Init() == -1) // DXライブラリ初期化処理
{
return; // エラーが起きたら直ちに終了
}
DX.SetDrawScreen(DX.DX_SCREEN_BACK);
while ((DX.ProcessMessage() == 0)
&& (DX.CheckHitKey(DX.KEY_INPUT_ESCAPE) == 0)
)
{
DX.ClsDrawScreen();
DX.ScreenFlip();
}
DX.DxLib_End(); // DXライブラリ使用の終了処理
return; // ソフトの終了
}
}
}
最終更新:2010年12月08日 15:46