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.
37 lines
709 B
C++
37 lines
709 B
C++
// stdafx.h : include file for standard system include files,
|
|
// or project specific include files that are used frequently, but
|
|
// are changed infrequently
|
|
//
|
|
|
|
#ifndef __STDAFX_H__
|
|
#define __STDAFX_H__
|
|
|
|
|
|
#include <algorithm>
|
|
#include <cmath>
|
|
#include <cstdio>
|
|
#include <cstdlib>
|
|
#include <cstring>
|
|
#include <cstdarg>
|
|
#include <ctime>
|
|
#include <fstream>
|
|
#include <iostream>
|
|
#include <sstream>
|
|
#include <map>
|
|
#include <queue>
|
|
#include <set>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include <boost/random.hpp>
|
|
|
|
#ifdef WIN32
|
|
#define XP_WIN
|
|
#else
|
|
#define XP_UNIX // TODO: Someone should actually test this on Linux
|
|
#endif
|
|
#include "jsapi.h"
|
|
|
|
const float PI = acos(-1.0f);
|
|
|
|
#endif |