diff options
author | rubidium <rubidium@openttd.org> | 2007-01-02 19:19:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-01-02 19:19:48 +0000 |
commit | 66bbf336c6af7353ef0aeed58002c46543b30635 (patch) | |
tree | ad4a63860df2626b22f77e7dac712e958bea54cb /src/table/genland.h | |
parent | ccc0a3f4dbf58c005b22341ac8874252924690cd (diff) | |
download | openttd-66bbf336c6af7353ef0aeed58002c46543b30635.tar.xz |
(svn r7759) -Merge: makefile rewrite. This merge features:
- A proper ./configure, so everything needs to be configured only once, not for every make.
- Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
- A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
- Proper support for OSX universal binaries.
- Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
- Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.
Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
Diffstat (limited to 'src/table/genland.h')
-rw-r--r-- | src/table/genland.h | 159 |
1 files changed, 159 insertions, 0 deletions
diff --git a/src/table/genland.h b/src/table/genland.h new file mode 100644 index 000000000..4007f8db3 --- /dev/null +++ b/src/table/genland.h @@ -0,0 +1,159 @@ +/* $Id$ */ + +#define M(x, y) {x, y} + +static const TileIndexDiffC _make_desert_or_rainforest_data[] = { + M(-5, -6), + M(-4, -6), + M(-3, -6), + M(-2, -6), + M(-1, -6), + M( 0, -5), + M( 1, -5), + M( 2, -5), + M( 3, -5), + M( 4, -5), + M( 5, -5), + M(-5, -5), + M(-4, -5), + M(-3, -5), + M(-2, -5), + M(-1, -5), + M( 0, -4), + M( 1, -4), + M( 2, -4), + M( 3, -4), + M( 4, -4), + M( 5, -4), + M(-5, -4), + M(-4, -4), + M(-3, -4), + M(-2, -4), + M(-1, -4), + M( 0, -3), + M( 1, -3), + M( 2, -3), + M( 3, -3), + M( 4, -3), + M( 5, -3), + M(-5, -3), + M(-4, -3), + M(-3, -3), + M(-2, -3), + M(-1, -3), + M( 0, -2), + M( 1, -2), + M( 2, -2), + M( 3, -2), + M( 4, -2), + M( 5, -2), + M(-5, -2), + M(-4, -2), + M(-3, -2), + M(-2, -2), + M(-1, -2), + M( 0, -1), + M( 1, -1), + M( 2, -1), + M( 3, -1), + M( 4, -1), + M( 5, -1), + M(-5, -1), + M(-4, -1), + M(-3, -1), + M(-2, -1), + M(-1, -1), + M( 0, 0), + M( 1, 0), + M( 2, 0), + M( 3, 0), + M( 4, 0), + M( 5, 0), + M(-5, 0), + M(-4, 0), + M(-3, 0), + M(-2, 0), + M(-1, 0), + M( 0, 1), + M( 1, 1), + M( 2, 1), + M( 3, 1), + M( 4, 1), + M( 5, 1), + M(-5, 1), + M(-4, 1), + M(-3, 1), + M(-2, 1), + M(-1, 1), + M( 0, 2), + M( 1, 2), + M( 2, 2), + M( 3, 2), + M( 4, 2), + M( 5, 2), + M(-5, 2), + M(-4, 2), + M(-3, 2), + M(-2, 2), + M(-1, 2), + M( 0, 3), + M( 1, 3), + M( 2, 3), + M( 3, 3), + M( 4, 3), + M( 5, 3), + M(-5, 3), + M(-4, 3), + M(-3, 3), + M(-2, 3), + M(-1, 3), + M( 0, 4), + M( 1, 4), + M( 2, 4), + M( 3, 4), + M( 4, 4), + M( 5, 4), + M(-5, 4), + M(-4, 4), + M(-3, 4), + M(-2, 4), + M(-1, 4), + M( 0, 5), + M( 1, 5), + M( 2, 5), + M( 3, 5), + M( 4, 5), + M( 5, 5), + M( 6, -3), + M(-6, -4), + M(-3, 5), + M(-3, -7), + M( 6, -2), + M(-6, -3), + M(-2, 5), + M(-2, -7), + M( 6, -1), + M(-6, -2), + M(-1, 5), + M(-1, -7), + M( 6, 0), + M(-6, -1), + M( 0, 6), + M( 0, -6), + M( 6, 1), + M(-6, 0), + M( 1, 6), + M( 1, -6), + M( 6, 2), + M(-6, 1), + M( 2, 6), + M( 2, -6), + M( 6, 3), + M(-6, 2), + M( 3, 6), + M( 3, -6) +}; + + + +#undef M |