#include "DXLFacade.h" DXLFacade::DXLFacade(){} DXLFacade::~DXLFacade(){} bool DXLFacade::init(){ SetMainWindowText(WINDOW_TEXT); //Resouce.rcでID定義してます。 SetWindowIconID(101); //ウィンドウモードに ChangeWindowMode(TRUE); //解像度、カラーモードを設定 SetGraphMode(WINDOW_WIDTH, WINDOW_HEIGHT, 32); if(DxLib_Init() == -1) return false; //バックバッファの設定 SetDrawScreen(DX_SCREEN_BACK); return true; } void DXLFacade::release() { //DXライブラリの終了 DxLib_End(); }