// Copyright (c) 2009 DotNetAnywhere
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
static U8 hatchDefs[53][8] = {
{0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,},
{0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,},
{0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,},
{0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01,},
{0xff,0x01,0x01,0x01,0x01,0x01,0x01,0x01,},
{0x81,0x42,0x24,0x18,0x18,0x24,0x42,0x81,},
{0x01,0x00,0x00,0x00,0x10,0x00,0x00,0x00,},
{0x01,0x00,0x10,0x00,0x01,0x00,0x10,0x00,},
{0x11,0x00,0x44,0x00,0x11,0x00,0x44,0x00,},
{0x11,0x44,0x11,0x44,0x11,0x44,0x11,0x44,},
{0x55,0x22,0x55,0x88,0x55,0x22,0x55,0x88,},
{0x55,0xaa,0x55,0x8a,0x55,0xaa,0x55,0xa8,},
{0x55,0xaa,0x55,0xaa,0x55,0xaa,0x55,0xaa,},
{0x77,0xaa,0xdd,0xaa,0x77,0xaa,0xdd,0xaa,},
{0xee,0xbb,0xee,0xbb,0xee,0xbb,0xee,0xbb,},
{0xee,0xff,0xbb,0xff,0xee,0xff,0xbb,0xff,},
{0xf7,0xff,0x7f,0xff,0xf7,0xff,0x7f,0xff,},
{0xff,0xff,0xff,0xef,0xff,0xff,0xff,0xfe,},
{0x11,0x22,0x44,0x88,0x11,0x22,0x44,0x88,},
{0x88,0x44,0x22,0x11,0x88,0x44,0x22,0x11,},
{0x33,0x66,0xcc,0x99,0x33,0x66,0xcc,0x99,},
{0xcc,0x66,0x33,0x99,0xcc,0x66,0x33,0x99,},
{0x83,0x07,0x0e,0x1c,0x38,0x70,0xe0,0xc1,},
{0xc1,0xe0,0x70,0x38,0x1c,0x0e,0x07,0x83,},
{0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,},
{0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,},
{0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,},
{0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,},
{0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,},
{0xff,0xff,0x00,0x00,0xff,0xff,0x00,0x00,},
{0x00,0x00,0x11,0x22,0x44,0x88,0x00,0x00,},
{0x00,0x00,0x88,0x44,0x22,0x11,0x00,0x00,},
{0x0f,0x00,0x00,0x00,0xf0,0x00,0x00,0x00,},
{0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,},
{0x01,0x10,0x02,0x40,0x08,0x80,0x04,0x20,},
{0x8d,0x0c,0xc0,0xd8,0x1b,0x03,0x30,0xb1,},
{0x81,0x42,0x24,0x18,0x81,0x42,0x24,0x18,},
{0x00,0x18,0xa4,0x03,0x00,0x18,0xa4,0x03,},
{0x80,0x40,0x20,0x10,0x18,0x24,0x42,0x81,},
{0xff,0x01,0x01,0x01,0xff,0x10,0x10,0x10,},
{0x11,0x2a,0x44,0xa2,0x11,0x28,0x44,0x8a,},
{0x55,0xaa,0x55,0xaa,0x0f,0x0f,0x0f,0x0f,},
{0x00,0x08,0x10,0x08,0x00,0x01,0x80,0x01,},
{0x55,0x00,0x01,0x00,0x01,0x00,0x01,0x00,},
{0x01,0x00,0x44,0x00,0x10,0x00,0x44,0x00,},
{0xc0,0x21,0x12,0x0c,0x30,0x40,0x80,0x80,},
{0xff,0x66,0xff,0x99,0xff,0x66,0xff,0x99,},
{0xee,0x91,0xf1,0xf1,0xee,0x19,0x1f,0x1f,},
{0xff,0x11,0x11,0x11,0xff,0x11,0x11,0x11,},
{0x99,0x66,0x66,0x99,0x99,0x66,0x66,0x99,},
{0x0f,0x0f,0x0f,0x0f,0xf0,0xf0,0xf0,0xf0,},
{0x41,0x22,0x14,0x08,0x14,0x22,0x41,0x80,},
{0x08,0x1c,0x3e,0x7f,0x3e,0x1c,0x08,0x00,},
};