This commit is contained in:
Daveo 2000-11-08 19:53:57 +00:00
parent 087d87f4be
commit 500f5f6776
7 changed files with 47 additions and 40 deletions

View file

@ -63,6 +63,7 @@ void CLayerTile::Render(CCore *Core,Vec &MapPos,BOOL Is3d)
/*****************************************************************************/
void CLayerTile::Render2d(CCore *Core,Vec &MapPos)
{
return;
float XYDiv=GetLayerZPosDiv();
int MapW=Map.GetWidth();
int MapH=Map.GetHeight();
@ -171,6 +172,7 @@ int MapH=Map.GetHeight();
float StartX=MapPos.x/XYDiv;
float StartY=MapPos.y/XYDiv;
glGetIntegerv(GL_VIEWPORT, Viewport);
glSelectBuffer (SELECT_BUFFER_SIZE, SelectBuffer );
glRenderMode (GL_SELECT);