예제 #1
0
CZQCustomClient::~CZQCustomClient()
{
	closesocket(m_socket);
	ClearNodes();
	DeleteCriticalSection(&m_SendCS);

}
예제 #2
0
void nsNSSASN1Tree::InitNodes()
{
  ClearNodes();

  mTopNode = new myNode;
  mTopNode->obj = mASN1Object;

  InitChildsRecursively(mTopNode);
}
예제 #3
0
//Switches to and from Action Mode
bool Level::SwitchMode(bool actionMode)
{
	if(!actionMode)
	{
		ClearNodes();
		return true;
	}
	else
	{
		selectedTile = NULL;
		targetedTile = NULL;
		return false;
	}
}
예제 #4
0
			void CPointsPart::SetupNodes()
			{
				ClearNodes();

				switch (m_render_mode)
				{
				case ERenderMode::POINTS:
					SetupPoints();
					break;
				case ERenderMode::OPEN_LINE:
					SetupLines(m_points.size() - 1);
					break;
				case ERenderMode::CLOSED_LINE:
					SetupLines(m_points.size());
					break;
				default:
					assert(false);
					break;
				}
				IRenderPart::Init(); __todo() //the sets that init does are needed since the nodes are recreated when the points are changed
			}
예제 #5
0
nsNSSASN1Tree::~nsNSSASN1Tree()
{
  ClearNodes();
}