2010-09-14 00:43:09 +00:00
|
|
|
// ==============================================================
|
|
|
|
// This file is part of Glest (www.glest.org)
|
|
|
|
//
|
|
|
|
// Copyright (C) 2001-2008 Martio Figueroa
|
|
|
|
//
|
|
|
|
// You can redistribute this code and/or modify it under
|
|
|
|
// the terms of the GNU General Public License as published
|
|
|
|
// by the Free Software Foundation; either version 2 of the
|
|
|
|
// License, or (at your option) any later version
|
|
|
|
// ==============================================================
|
|
|
|
|
2010-12-05 01:33:28 +00:00
|
|
|
|
|
|
|
//this file is not used
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
2010-09-14 00:43:09 +00:00
|
|
|
#ifndef _MAPEDITOR_RENDERER_H_
|
|
|
|
#define _MAPEDITOR_RENDERER_H_
|
|
|
|
|
|
|
|
#include "map_preview.h"
|
|
|
|
|
|
|
|
using namespace Shared::Map;
|
|
|
|
|
|
|
|
namespace MapEditor {
|
|
|
|
|
|
|
|
// ===============================================
|
|
|
|
// class Renderer
|
|
|
|
// ===============================================
|
|
|
|
|
|
|
|
class Renderer {
|
|
|
|
public:
|
|
|
|
void init(int clientW, int clientH);
|
2010-12-05 01:33:28 +00:00
|
|
|
void renderMap(MapPreview *map, int x, int y, int clientW, int clientH, int cellSize, bool grid=false);
|
2010-09-14 00:43:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}// end namespace
|
|
|
|
|
|
|
|
#endif
|
2010-12-05 01:33:28 +00:00
|
|
|
|
|
|
|
*/
|