File: renderer.h

package info (click to toggle)
glest 3.2.2-2
  • links: PTS, VCS
  • area: contrib
  • in suites: squeeze
  • size: 2,800 kB
  • ctags: 6,581
  • sloc: cpp: 32,575; sh: 8,341; makefile: 63
file content (20 lines) | stat: -rw-r--r-- 447 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _GLEST_MAPEDITOR_RENDERER_H_
#define _GLEST_MAPEDITOR_RENDERER_H_

#include "map.h"

namespace Glest{ namespace MapEditor{

// ===============================================
//	class Renderer
// ===============================================

class Renderer{
public:
	void init(int clientW, int clientH);
	void renderMap(Map *map, int x, int y, int clientW, int clientH, int cellSize);
};

}}// end namespace

#endif