1
0
forked from 0ad/0ad
0ad/source/tools/rmgen/layeredpainter.h
Matei bd53b14f58 More work on RMS:
- Created binaries/data/mods/official/maps/random folder to store maps
and also moved rmlibrary.js to maps (though perhaps it should be
somewhere in system?).
- RM generator now uses "logical terrains" that can have units attached
to them in addition to textures, for things like forests.
- Added basic clump placer, avoid constraints, layered painter, and
random terrains (each tile is chosen between several options).
- Misc. infrastructure changes.

This was SVN commit r2378.
2005-06-06 07:46:28 +00:00

20 lines
419 B
C++

#ifndef __LAYEREDPAINTER_H__
#define __LAYEREDPAINTER_H__
#include "areapainter.h"
#include "terrain.h"
class LayeredPainter :
public AreaPainter
{
private:
std::vector<Terrain*> terrains;
std::vector<int> widths;
public:
LayeredPainter(const std::vector<Terrain*>& terrains, const std::vector<int>& widths);
~LayeredPainter(void);
virtual void paint(class Map* m, class Area* a);
};
#endif