# tgp.h

Go to the documentation of this file.

    00001 /* $Id$ */
    00002
    00003 /*
    00004  * This file is part of OpenTTD.
    00005  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
    00006  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    00007  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
    00008  */
    00009
    00012 #ifndef TGP_H
    00013 #define TGP_H
    00014
    00015 static const uint TGP_HEIGHT_FACTOR = 8;
    00016
    00018 static const int TGP_FREQUENCY_MAX = 9;
    00019
    00020 enum Smoothness {
    00021   SMOOTHNESS_VERY_SMOOTH      = 0,
    00022   SMOOTHNESS_SMOOTH           = 1,
    00023   SMOOTHNESS_ROUGH            = 2,
    00024   SMOOTHNESS_VERY_ROUGH       = 3,
    00025   SMOOTHNESS_CEREALLY_ROUGH   = 4,
    00026   SMOOTHNESS_COMMUTORZ        = 5,
    00027   SMOOTHNESS_GO_WITH_THE_FLOW = 6,
    00028 };
    00029
    00030 void GenerateTerrainPerlin();
    00031
    00032 #endif /* TGP_H */