Example #1
0
void cPlayer::LoadImages(cD2DRenderer& renderer, HWND hWnd)
{
	Adol = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/Player/Adol.png");
	PlayerHpBar = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/Player/HpBar.png");
	PlayerEffect = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/Player/PlayerEffect.png");
	::InvalidateRect(hWnd, NULL, TRUE);
}
Example #2
0
void cMonster::LoadImages(cD2DRenderer& renderer, HWND hWnd)
{
	Monster = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/Monster/Monster.png");
	MonsterHpBar = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/Monster/HpBar.png");
	EmptyHpBar = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/Monster/EmptyHpBar.png");
	MonsterEffect = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/Monster/MonsterEffect.png");
}
Example #3
0
void cInterFace::LoadImages(cD2DRenderer& renderer, HWND hWnd)
{
	Edge = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/InterFace/Edge.png");
	MenuBarMain = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/InterFace/MenuBar.png");
	MenuBar_Load = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/InterFace/MenuBar_LoadOn.png");
	MenuBar_Save = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/InterFace/MenuBar_SaveOn.png");
	MenuBar_Equip = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/InterFace/MenuBar_EquipOn.png");
	MenuBar_Inven = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/InterFace/MenuBar_InvenOn.png");
	MenuBar_Status = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/InterFace/MenuBar_StatusOn.png");
	MenuBar_Option = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/InterFace/MenuBar_OptionOn.png");
	//MenuBar_Option = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/InterFace/EmptyHpBar.png");
	::InvalidateRect(hWnd, NULL, TRUE);
}
Example #4
0
void cChatting::LoadImages(cD2DRenderer& renderer, HWND hWnd)
{
	ChatBoard = renderer.CreateD2DBitmapFromFile(hWnd, L"Images/Chat/ChatBoard.png");
}