// Defines battle obstacles. We have two vectors of them:
// * "obstacles" are usual obtacles, that are randomly placed in the battlefield.
// * "absoluteObstacles" are a little special: there can be only one such obstacle in the battlefield and its position is always the same.
//
// Their properties:
// * "allowedTerrains" vector of terrain types (TT format) where obstacle is appropriate
// * "specialBattlefields" vector of battlefield images (BI format) where obstacle is appropriate. If there is a special battlefield image, then only this list is checked. Otherwise it's ignored. 
// * "blockedTiles": for absolute obstacles contains absolute coordinates. For usual obstacles contains offsets relative to the obstacle position (that is bottom left corner). If obstacle is placed in an odd row (counting from 0) and the blocked tile is in an even row, position will be shifted one tile to the left. Thanks to that ie. -16 is always top-right hex, no matter where the obstale will get placed.
// * "width" for usual obstacles it's count of tiles that must be free to the right for obstacle to be placed. For absolute obstacles, it's x offset for the graphics.
// * "height" for usual obstacles it's count of tiles that must be free to the top for obstacle to be placed. For absolute obstacles, it's y offset for the graphics.
// * "animation" is name of the graphics. It's def file for usual obstacles and bitmap for the absolute ones.

{
	"meadowOBS00" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 3,
		"height" : 3,
		"blockedTiles" :  [1, 2, -15],
		"animation" : "obstacles/ObHLD00.def",
		"absolute" : false
	},
	"meadowOBS01" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 4,
		"height" : 3,
		"blockedTiles" :  [0, 1, 2, -15, -16],
		"animation" : "obstacles/ObHLD01.def",
		"absolute" : false
	},
	"meadowOBS02" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 2,
		"height" : 2,
		"blockedTiles" :  [0, 1, -16],
		"animation" : "obstacles/ObHLD02.def",
		"absolute" : false
	},
	"meadowOBS03" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 4,
		"height" : 3,
		"blockedTiles" :  [1, 2],
		"animation" : "obstacles/ObHLD03.def",
		"absolute" : false
	},
	"meadowOBS04" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 4,
		"height" : 3,
		"blockedTiles" :  [1, 2, -15],
		"animation" : "obstacles/ObHLD04.def",
		"absolute" : false
	},
	"meadowOBS05" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 2,
		"height" : 1,
		"blockedTiles" :  [0, 1],
		"animation" : "obstacles/ObHLD05.def",
		"absolute" : false
	},
	"meadowOBS06" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 2,
		"height" : 1,
		"blockedTiles" :  [0, 1],
		"animation" : "obstacles/ObHLD06.def",
		"absolute" : false
	},
	"meadowOBS07" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 2,
		"height" : 1,
		"blockedTiles" :  [0, 1],
		"animation" : "obstacles/ObHLD07.def",
		"absolute" : false
	},
	"meadowOBS08" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 2,
		"height" : 1,
		"blockedTiles" :  [0, 1],
		"animation" : "obstacles/ObHLD08.def",
		"absolute" : false
	},
	"meadowOBS09" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 3,
		"height" : 1,
		"blockedTiles" :  [0, 1],
		"animation" : "obstacles/ObHLD09.def",
		"absolute" : false
	},
	"meadowOBS10" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 2,
		"height" : 1,
		"blockedTiles" :  [0, 1],
		"animation" : "obstacles/ObHLD10.def",
		"absolute" : false
	},
	"meadowOBS11" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 2,
		"height" : 1,
		"blockedTiles" :  [0, 1],
		"animation" : "obstacles/ObHLD11.def",
		"absolute" : false
	},
	"meadowOBS12" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 2,
		"height" : 1,
		"blockedTiles" :  [0, 1],
		"animation" : "obstacles/ObHLD12.def",
		"absolute" : false
	},
	"meadowOBS13" : {
		"allowedTerrains" : ["meadow"],
		"specialBattlefields" : [],
		"width" : 3,
		"height" : 2,
		"blockedTiles" :  [0, 1],
		"animation" : "obstacles/ObHLD13.def",
		"absolute" : false
	}
}
