Files @ r12308:95187fb621c3
Branch filter:

Location: cpp/openttd-patchpack/source/src/landscape_type.h

rubidium
(svn r16735) -Codechange: had_vehicle_of_type only stored 7 bits, all less that bit 7... but it was a word wasting space etc.
/* $Id$ */

/** @file landscape_type.h Types related to the landscape. */

#ifndef LANDSCAPE_TYPE_H
#define LANDSCAPE_TYPE_H

typedef byte LandscapeID; ///< Landscape type. @see LandscapeType

/** Landscape types */
enum LandscapeType {
	LT_TEMPERATE  = 0,
	LT_ARCTIC     = 1,
	LT_TROPIC     = 2,
	LT_TOYLAND    = 3,

	NUM_LANDSCAPE = 4,
};

/**
 * For storing the water borders which shall be retained.
 */
enum Borders {
	BORDER_NE = 0,
	BORDER_SE = 1,
	BORDER_SW = 2,
	BORDER_NW = 3,
	BORDERS_RANDOM = 16,
};

#endif /* LANDSCAPE_TYPE_H */