ddnet/src/game/editor/ed_layer_game.cpp

23 lines
478 B
C++
Raw Normal View History

2010-11-20 10:37:14 +00:00
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
2010-05-29 07:25:38 +00:00
#include "ed_editor.h"
2008-01-12 12:27:55 +00:00
2010-05-29 07:25:38 +00:00
CLayerGame::CLayerGame(int w, int h)
: CLayerTiles(w, h)
2008-01-12 12:27:55 +00:00
{
2010-05-29 07:25:38 +00:00
m_pTypeName = "Game";
m_Game = 1;
2008-01-12 12:27:55 +00:00
}
2010-05-29 07:25:38 +00:00
CLayerGame::~CLayerGame()
2008-01-12 12:27:55 +00:00
{
}
2010-05-29 07:25:38 +00:00
int CLayerGame::RenderProperties(CUIRect *pToolbox)
2008-01-12 12:27:55 +00:00
{
2010-05-29 07:25:38 +00:00
int r = CLayerTiles::RenderProperties(pToolbox);
m_Image = -1;
2008-01-13 22:03:32 +00:00
return r;
2008-01-12 12:27:55 +00:00
}