Sources/CryGame C++/Solution1/CryGame/GameTagPoints.cpp
//////////////////////////////////////////////////////////////////////
// Inserts a tag-point in the list.

Inserts a tag-point in the list.
Inserts a tag - point in the list .
ITagPoint *CXGame::CreateTagPoint(const string &name, const Vec3d &pos, const Vec3d &angles)
{
	CTagPoint *pNewPoint = new CTagPoint(this);
	pNewPoint->OverrideName(name.c_str());
	pNewPoint->SetPos(pos);
	pNewPoint->SetAngles(angles);
	m_mapTagPoints.insert(TagPointMap::iterator::value_type(name,pNewPoint));
	return (ITagPoint *) pNewPoint;
}
ITagPoint * CXGame :: CreateTagPoint ( const string & name , const Vec3d & pos , const Vec3d & angles ) { CTagPoint * pNewPoint = new CTagPoint ( this ) ; pNewPoint -> OverrideName ( name . c_str ( ) ) ; pNewPoint -> SetPos ( pos ) ; pNewPoint -> SetAngles ( angles ) ; m_mapTagPoints . insert ( TagPointMap :: iterator :: value_type ( name , pNewPoint ) ) ; return ( ITagPoint * ) pNewPoint ; }
Inserts a tag-point in the list.
Inserts a tag - point in the list .
// create new one
 // insert it into the map
