forked from 0ad/0ad
Matei
bd53b14f58
- 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.
17 lines
304 B
C++
17 lines
304 B
C++
#ifndef __SIMPLEPAINTERS_H__
|
|
#define __SIMPLEPAINTERS_H__
|
|
|
|
#include "areapainter.h"
|
|
#include "map.h"
|
|
#include "area.h"
|
|
#include "terrain.h"
|
|
|
|
class TerrainPainter : public AreaPainter {
|
|
public:
|
|
Terrain* terrain;
|
|
|
|
TerrainPainter(Terrain* terrain);
|
|
void paint(Map* m, Area* a);
|
|
};
|
|
|
|
#endif |