void CRender::drawLine(float x1, float y1, float x2, float y2, float width, D3DCOLOR color)
{
DX_VERTEX Vertices[2] =
{
DX_VERTEX(x1, y1, 0.f, color),
DX_VERTEX(x2, y2, 0.f, color)
};
this->renderDevice->SetRenderState(D3DRS_ALPHABLENDENABLE, FALSE);
this->renderDevice->SetFVF(DX_VERTEX::FVF);
this->renderDevice->SetTexture(0, NULL);
this->renderDevice->DrawPrimitiveUP(D3DPT_LINELIST, 1, Vertices, sizeof(DX_VERTEX));
}