Advertisement
AgustinMayta

Progresss2.2

Jun 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 85.55 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <iostream>
  3. #include  <conio.h>
  4. using namespace System;
  5. using namespace std;
  6. void DibujaMapa(int m1[43][81])
  7. {
  8.     int x1;
  9.     int y1;
  10.     Console::BackgroundColor = ConsoleColor::Black;
  11.     for (int f = 0; f < 43; f++)
  12.     {
  13.         Console::SetCursorPosition(x1, y1);
  14.         for (int c = 0; c < 81; c++)
  15.         {
  16.             switch (m1[f][c])
  17.             {
  18.             case 1:
  19.                 Console::BackgroundColor = ConsoleColor::DarkRed;
  20.                 if (f == 0 && (c == 1 || c == 19 || c == 37 || c == 55 || c == 73))
  21.                 {
  22.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  23.                     Console::ForegroundColor = ConsoleColor::DarkGray;
  24.                     cout << char(207);
  25.                 }
  26.                 else
  27.                     if (f == 0 && (c == 6 || c == 24 || c == 42 || c == 60 || c == 78))
  28.                     {
  29.                         Console::BackgroundColor = ConsoleColor::DarkGreen;
  30.                         Console::ForegroundColor = ConsoleColor::DarkGray;
  31.                         cout << char(207);
  32.                     }
  33.                     else
  34.                         if (f == 0 && ((c >= 2 && c <= 5) || (c >= 20 && c <= 23) || (c >= 38 && c <= 41) || (c >= 56 && c <= 59) || (c >= 74 && c <= 77)))
  35.                         {
  36.                             Console::BackgroundColor = ConsoleColor::DarkGreen;
  37.                             Console::ForegroundColor = ConsoleColor::DarkGray;
  38.                             cout << char(205);
  39.                         }
  40.                         else
  41.                             if ((f == 1 || f == 2) && (c == 1 || c == 19 || c == 37 || c == 55 || c == 73 || c == 6 || c == 24 || c == 42 || c == 60 || c == 78))
  42.                             {
  43.                                 Console::BackgroundColor = ConsoleColor::DarkGreen;
  44.                                 Console::ForegroundColor = ConsoleColor::DarkGray;
  45.                                 cout << char(186);
  46.                             }
  47.                             else
  48.                             {
  49.                                 Console::ForegroundColor = ConsoleColor::DarkGreen;
  50.                                 cout << char(177);
  51.                             }
  52.                 break;
  53.             case 2:
  54.                 Console::BackgroundColor = ConsoleColor::Black;
  55.                 if (f == 5 || f == 13 || f == 21 || f == 29 || f == 37)
  56.                 {
  57.                     Console::ForegroundColor = ConsoleColor::Yellow;
  58.                     cout << "=";
  59.  
  60.                 }
  61.                 else
  62.                     cout << " "; break;
  63.             case 3:
  64.                 Console::BackgroundColor = ConsoleColor::DarkGray;
  65.                 Console::ForegroundColor = ConsoleColor::Gray;
  66.                 cout << char(177); break;
  67.             case 4:
  68.                 Console::BackgroundColor = ConsoleColor::DarkGreen;
  69.                 Console::ForegroundColor = ConsoleColor::DarkGreen;
  70.                 cout << char(176); break;
  71.             case 5:
  72.                 Console::BackgroundColor = ConsoleColor::Blue;
  73.                 Console::ForegroundColor = ConsoleColor::Cyan;
  74.                 cout << char(177); break;
  75.             case 6:
  76.                 Console::BackgroundColor = ConsoleColor::Black;
  77.                 Console::ForegroundColor = ConsoleColor::Black;
  78.                 cout << char(176); break;
  79.             case 7:
  80.                 Console::BackgroundColor = ConsoleColor::DarkGray;
  81.                 Console::ForegroundColor = ConsoleColor::Gray;
  82.                 cout << char(177); break;
  83.             case 8:
  84.                 Console::BackgroundColor = ConsoleColor::Blue;
  85.                 Console::ForegroundColor = ConsoleColor::Cyan;
  86.                 cout << char(177); break;
  87.             case 9:
  88.                 Console::BackgroundColor = ConsoleColor::Red;
  89.                 if ((c == 13 || c == 40 || c == 67) && (f >12 && f<19))
  90.                 {
  91.                     Console::ForegroundColor = ConsoleColor::Black;
  92.                     cout << char(186);
  93.                 }
  94.                 else
  95.                 {
  96.                     Console::ForegroundColor = ConsoleColor::Yellow;
  97.                     cout << char(176);
  98.                 }
  99.                 ; break;
  100.             case 10:
  101.                 Console::BackgroundColor = ConsoleColor::Black;
  102.                 if (f == 32)
  103.                 {
  104.                     Console::ForegroundColor = ConsoleColor::White;
  105.                     cout << "=";
  106.                 }
  107.                 else
  108.                     cout << " "; break;
  109.             case 11:
  110.                 Console::BackgroundColor = ConsoleColor::Black;
  111.                 Console::ForegroundColor = ConsoleColor::Black;
  112.                 cout << char(219); break;
  113.             case 12:
  114.                 Console::BackgroundColor = ConsoleColor::Red;
  115.                 Console::ForegroundColor = ConsoleColor::Yellow;
  116.                 cout << char(176);
  117.                 ; break;
  118.             }
  119.         }
  120.         y1++;
  121.     }
  122. }
  123. void Movimiento1(int m1[43][81])
  124. {
  125.     int tecla;
  126.     int rx = 42;
  127.     int ry = 41;
  128.     while (1)
  129.     {
  130.         if (kbhit())
  131.         {
  132.             tecla = getch();
  133.             if (tecla == 224)
  134.             {
  135.                 switch (m1[ry][rx])
  136.                 {
  137.                 case 2:
  138.                     Console::SetCursorPosition(rx, ry);
  139.                     Console::BackgroundColor = ConsoleColor::Black;
  140.                     cout << "   ";
  141.                     Console::SetCursorPosition(rx, ry + 1);
  142.                     Console::BackgroundColor = ConsoleColor::Black;
  143.                     cout << "   ";
  144.                    
  145.                     break;
  146.                 case 3:
  147.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  148.                     Console::ForegroundColor = ConsoleColor::Gray;
  149.                     Console::SetCursorPosition(rx,ry);
  150.                     cout << char(177) << char(177) << char(177);
  151.                     Console::SetCursorPosition(rx, ry+1);
  152.                     cout << char(177) << char(177) << char(177); break;
  153.                 case 4:
  154.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  155.                     Console::SetCursorPosition(rx, ry);
  156.                     cout << "   ";
  157.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  158.                     Console::SetCursorPosition(rx, ry + 1);
  159.                     cout << "   ";
  160.                 }
  161.                 tecla = _getch();
  162.                 switch (tecla)
  163.                 {
  164.                 case 77:if ((m1[ry][rx + 3] == 6 || m1[ry][rx + 3] == 2 || m1[ry][rx + 3] == 4 || m1[ry][rx + 3] == 3) && rx<78)rx += 3; break;
  165.                 case 75:if ((m1[ry][rx - 3] == 6 || m1[ry][rx - 3] == 2 || m1[ry][rx - 3] == 4 || m1[ry][rx - 3] == 3) && rx>0)rx -= 3; break;
  166.                 case 72:if ((m1[ry - 2][rx] == 6 || m1[ry - 2][rx] == 2 || m1[ry - 2][rx] == 4 || m1[ry - 2][rx] == 3) && ry>0)ry -= 2; break;
  167.                 case 80:if ((m1[ry + 2][rx] == 6 || m1[ry + 2][rx] == 2 || m1[ry + 2][rx] == 4 || m1[ry + 2][rx] == 3) && ry<41)ry += 2; break;
  168.                 }
  169.                 switch (m1[ry][rx])
  170.                 {
  171.                 case 2:
  172.                     Console::SetCursorPosition(rx, ry);
  173.                     Console::BackgroundColor = ConsoleColor::Black;
  174.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  175.                     cout << (char)192 << (char)219 << (char)217;
  176.                     Console::SetCursorPosition(rx, ry + 1);
  177.                     Console::BackgroundColor = ConsoleColor::Black;
  178.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  179.                     cout << (char)218 << (char)223 << (char)191;
  180.                     break;
  181.                 case 3:
  182.                     Console::SetCursorPosition(rx, ry);
  183.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  184.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  185.                     cout << (char)192 << (char)219 << (char)217;
  186.                     Console::SetCursorPosition(rx, ry + 1);
  187.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  188.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  189.                     cout << (char)218 << (char)223 << (char)191;
  190.                      break;
  191.                 case 4:
  192.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  193.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  194.                     Console::SetCursorPosition(rx, ry);
  195.                     cout << (char)192 << (char)219 << (char)217;
  196.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  197.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  198.                     Console::SetCursorPosition(rx, ry + 1);
  199.                     cout << (char)218 << (char)223 << (char)191;
  200.                     break;
  201.                 }
  202.             }
  203.            
  204.         }
  205.     }
  206.  
  207. }
  208. void Movimiento2(int m1[43][81])
  209. {
  210.     int tecla;
  211.     int rx = 42;
  212.     int ry = 41;
  213.     while (1)
  214.     {
  215.         if (kbhit())
  216.         {
  217.             tecla = getch();
  218.             if (tecla == 224)
  219.             {
  220.                 switch (m1[ry][rx])
  221.                 {
  222.                 case 2:
  223.                     Console::SetCursorPosition(rx, ry);
  224.                     Console::BackgroundColor = ConsoleColor::Black;
  225.                     cout << "   ";
  226.                     Console::SetCursorPosition(rx, ry + 1);
  227.                     Console::BackgroundColor = ConsoleColor::Black;
  228.                     cout << "   ";
  229.  
  230.                     break;
  231.                 case 3:
  232.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  233.                     Console::ForegroundColor = ConsoleColor::Gray;
  234.                     Console::SetCursorPosition(rx, ry);
  235.                     cout << char(177) << char(177) << char(177);
  236.                     Console::SetCursorPosition(rx, ry + 1);
  237.                     cout << char(177) << char(177) << char(177);
  238.                     break;
  239.                 case 4:
  240.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  241.                     Console::SetCursorPosition(rx, ry);
  242.                     cout << "   ";
  243.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  244.                     Console::SetCursorPosition(rx, ry + 1);
  245.                     cout << "   ";
  246.                     break;
  247.                 case 5:
  248.                     Console::BackgroundColor = ConsoleColor::Blue;
  249.                     Console::SetCursorPosition(rx, ry);
  250.                     cout << "   ";
  251.                     Console::BackgroundColor = ConsoleColor::Blue;
  252.                     Console::SetCursorPosition(rx, ry + 1);
  253.                     cout << "   ";
  254.                     break;
  255.                 case 10:
  256.                     Console::SetCursorPosition(rx, ry);
  257.                     Console::BackgroundColor = ConsoleColor::Black;
  258.                     cout << "   ";
  259.                     Console::SetCursorPosition(rx, ry + 1);
  260.                     Console::BackgroundColor = ConsoleColor::Black;
  261.                     cout << "   ";
  262.                     break;
  263.                 }
  264.                 tecla = _getch();
  265.                 switch (tecla)
  266.                 {
  267.                 case 77:if ((m1[ry][rx + 3] == 2 || m1[ry][rx + 3] == 5 || m1[ry][rx + 3] == 4 || m1[ry][rx + 3] == 3 || m1[ry][rx + 3] == 10) && rx<78)rx += 3; break;
  268.                 case 75:if ((m1[ry][rx - 3] == 2 || m1[ry][rx - 3] == 5 || m1[ry][rx - 3] == 4 || m1[ry][rx - 3] == 3 || m1[ry][rx - 3] == 10) && rx>0)rx -= 3; break;
  269.                 case 72:if ((m1[ry - 2][rx] == 2 || m1[ry - 2][rx] == 5 || m1[ry - 2][rx] == 4 || m1[ry - 2][rx] == 3 || m1[ry - 2][rx] == 10) && ry>0)ry -= 2; break;
  270.                 case 80:if ((m1[ry + 2][rx] == 2 || m1[ry + 2][rx] == 5 || m1[ry + 2][rx] == 4 || m1[ry + 2][rx] == 3 || m1[ry + 2][rx] == 10) && ry<41)ry += 2; break;
  271.                 }
  272.                 switch (m1[ry][rx])
  273.                 {
  274.                 case 2:
  275.                     Console::SetCursorPosition(rx, ry);
  276.                     Console::BackgroundColor = ConsoleColor::Black;
  277.                     cout << (char)192 << (char)219 << (char)217;
  278.                     Console::SetCursorPosition(rx, ry + 1);
  279.                     Console::BackgroundColor = ConsoleColor::Black;
  280.                     cout << (char)218 << (char)223 << (char)191;
  281.  
  282.                     break;
  283.                 case 3:
  284.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  285.                     Console::SetCursorPosition(rx, ry);
  286.                     cout << (char)192 << (char)219 << (char)217;
  287.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  288.                     Console::SetCursorPosition(rx, ry + 1);
  289.                     cout << (char)218 << (char)223 << (char)191;
  290.                     break;
  291.                 case 4:
  292.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  293.                     Console::SetCursorPosition(rx, ry);
  294.                     cout << (char)192 << (char)219 << (char)217;
  295.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  296.                     Console::SetCursorPosition(rx, ry + 1);
  297.                     cout << (char)218 << (char)223 << (char)191;
  298.                     ; break;
  299.                 case 5:
  300.                     Console::BackgroundColor = ConsoleColor::Blue;
  301.                     Console::SetCursorPosition(rx, ry);
  302.                     cout << (char)192 << (char)219 << (char)217;
  303.                     Console::BackgroundColor = ConsoleColor::Blue;
  304.                     Console::SetCursorPosition(rx, ry + 1);
  305.                     cout << (char)218 << (char)223 << (char)191;
  306.                     break;
  307.                 case 10:
  308.                     Console::SetCursorPosition(rx, ry);
  309.                     Console::BackgroundColor = ConsoleColor::Black;
  310.                     cout << (char)192 << (char)219 << (char)217;
  311.                     Console::SetCursorPosition(rx, ry + 1);
  312.                     Console::BackgroundColor = ConsoleColor::Black;
  313.                     cout << (char)218 << (char)223 << (char)191;
  314.                     break;
  315.                 }
  316.             }
  317.  
  318.         }
  319.     }
  320.  
  321. }
  322. void Movimiento3(int m1[43][81])
  323. {
  324.     int tecla;
  325.     int rx = 42;
  326.     int ry = 41;
  327.     while (1)
  328.     {
  329.         if (kbhit())
  330.         {
  331.             tecla = getch();
  332.             if (tecla == 224)
  333.             {
  334.                 switch (m1[ry][rx])
  335.                 {
  336.                 case 2:
  337.                     Console::SetCursorPosition(rx, ry);
  338.                     Console::BackgroundColor = ConsoleColor::Black;
  339.                     cout << "   ";
  340.                     Console::SetCursorPosition(rx, ry + 1);
  341.                     Console::BackgroundColor = ConsoleColor::Black;
  342.                     cout << "   ";
  343.  
  344.                     break;
  345.                 case 3:
  346.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  347.                     Console::ForegroundColor = ConsoleColor::Gray;
  348.                     Console::SetCursorPosition(rx, ry);
  349.                     cout << char(177) << char(177) << char(177);
  350.                     Console::SetCursorPosition(rx, ry + 1);
  351.                     cout << char(177) << char(177) << char(177); break;
  352.                 case 4:
  353.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  354.                     Console::SetCursorPosition(rx, ry);
  355.                     cout << "   ";
  356.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  357.                     Console::SetCursorPosition(rx, ry + 1);
  358.                     cout << "   ";
  359.                 }
  360.                 tecla = _getch();
  361.                 switch (tecla)
  362.                 {
  363.                 case 77:if ((m1[ry][rx + 3] == 6 || m1[ry][rx + 3] == 2 || m1[ry][rx + 3] == 4 || m1[ry][rx + 3] == 3) && rx<78)rx += 3; break;
  364.                 case 75:if ((m1[ry][rx - 3] == 6 || m1[ry][rx - 3] == 2 || m1[ry][rx - 3] == 4 || m1[ry][rx - 3] == 3) && rx>0)rx -= 3; break;
  365.                 case 72:if ((m1[ry - 2][rx] == 6 || m1[ry - 2][rx] == 2 || m1[ry - 2][rx] == 4 || m1[ry - 2][rx] == 3) && ry>0)ry -= 2; break;
  366.                 case 80:if ((m1[ry + 2][rx] == 6 || m1[ry + 2][rx] == 2 || m1[ry + 2][rx] == 4 || m1[ry + 2][rx] == 3) && ry<41)ry += 2; break;
  367.                 }
  368.                 switch (m1[ry][rx])
  369.                 {
  370.                 case 2:
  371.                     Console::SetCursorPosition(rx, ry);
  372.                     Console::BackgroundColor = ConsoleColor::Black;
  373.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  374.                     cout << (char)192 << (char)219 << (char)217;
  375.                     Console::SetCursorPosition(rx, ry + 1);
  376.                     Console::BackgroundColor = ConsoleColor::Black;
  377.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  378.                     cout << (char)218 << (char)223 << (char)191;
  379.                     break;
  380.                 case 3:
  381.                     Console::SetCursorPosition(rx, ry);
  382.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  383.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  384.                     cout << (char)192 << (char)219 << (char)217;
  385.                     Console::SetCursorPosition(rx, ry + 1);
  386.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  387.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  388.                     cout << (char)218 << (char)223 << (char)191;
  389.                     break;
  390.                 case 4:
  391.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  392.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  393.                     Console::SetCursorPosition(rx, ry);
  394.                     cout << (char)192 << (char)219 << (char)217;
  395.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  396.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  397.                     Console::SetCursorPosition(rx, ry + 1);
  398.                     cout << (char)218 << (char)223 << (char)191;
  399.                     break;
  400.                 }
  401.             }
  402.  
  403.         }
  404.     }
  405.  
  406. }
  407. void Movimiento4(int m1[43][81])
  408. {
  409.     int tecla;
  410.     int rx = 42;
  411.     int ry = 41;
  412.     while (1)
  413.     {
  414.         if (kbhit())
  415.         {
  416.             tecla = getch();
  417.             if (tecla == 224)
  418.             {
  419.                 switch (m1[ry][rx])
  420.                 {
  421.                 case 2:
  422.                     Console::SetCursorPosition(rx, ry);
  423.                     Console::BackgroundColor = ConsoleColor::Black;
  424.                     cout << "   ";
  425.                     Console::SetCursorPosition(rx, ry + 1);
  426.                     Console::BackgroundColor = ConsoleColor::Black;
  427.                     cout << "   ";
  428.  
  429.                     break;
  430.                 case 3:
  431.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  432.                     Console::ForegroundColor = ConsoleColor::Gray;
  433.                     Console::SetCursorPosition(rx, ry);
  434.                     cout << char(177) << char(177) << char(177);
  435.                     Console::SetCursorPosition(rx, ry + 1);
  436.                     cout << char(177) << char(177) << char(177); break;
  437.                 case 4:
  438.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  439.                     Console::SetCursorPosition(rx, ry);
  440.                     cout << "   ";
  441.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  442.                     Console::SetCursorPosition(rx, ry + 1);
  443.                     cout << "   ";
  444.                 }
  445.                 tecla = _getch();
  446.                 switch (tecla)
  447.                 {
  448.                 case 77:if ((m1[ry][rx + 3] == 6 || m1[ry][rx + 3] == 2 || m1[ry][rx + 3] == 4 || m1[ry][rx + 3] == 3) && rx<75)rx += 3; break;
  449.                 case 75:if ((m1[ry][rx - 3] == 6 || m1[ry][rx - 3] == 2 || m1[ry][rx - 3] == 4 || m1[ry][rx - 3] == 3) && rx>0)rx -= 3; break;
  450.                 case 72:if ((m1[ry - 2][rx] == 6 || m1[ry - 2][rx] == 2 || m1[ry - 2][rx] == 4 || m1[ry - 2][rx] == 3) && ry>0)ry -= 2; break;
  451.                 case 80:if ((m1[ry + 2][rx] == 6 || m1[ry + 2][rx] == 2 || m1[ry + 2][rx] == 4 || m1[ry + 2][rx] == 3) && ry<41)ry += 2; break;
  452.                 }
  453.                 switch (m1[ry][rx])
  454.                 {
  455.                 case 2:
  456.                     Console::SetCursorPosition(rx, ry);
  457.                     Console::BackgroundColor = ConsoleColor::Black;
  458.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  459.                     cout << (char)192 << (char)219 << (char)217;
  460.                     Console::SetCursorPosition(rx, ry + 1);
  461.                     Console::BackgroundColor = ConsoleColor::Black;
  462.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  463.                     cout << (char)218 << (char)223 << (char)191;
  464.                     break;
  465.                 case 3:
  466.                     Console::SetCursorPosition(rx, ry);
  467.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  468.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  469.                     cout << (char)192 << (char)219 << (char)217;
  470.                     Console::SetCursorPosition(rx, ry + 1);
  471.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  472.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  473.                     cout << (char)218 << (char)223 << (char)191;
  474.                     break;
  475.                 case 4:
  476.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  477.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  478.                     Console::SetCursorPosition(rx, ry);
  479.                     cout << (char)192 << (char)219 << (char)217;
  480.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  481.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  482.                     Console::SetCursorPosition(rx, ry + 1);
  483.                     cout << (char)218 << (char)223 << (char)191;
  484.                     break;
  485.                 }
  486.             }
  487.  
  488.         }
  489.     }
  490.  
  491. }
  492. void Movimiento5(int m1[43][81])
  493. {
  494.     int tecla;
  495.     int rx = 42;
  496.     int ry = 41;
  497.     while (1)
  498.     {
  499.         if (kbhit())
  500.         {
  501.             tecla = getch();
  502.             if (tecla == 224)
  503.             {
  504.                 switch (m1[ry][rx])
  505.                 {
  506.                 case 2:
  507.                     Console::SetCursorPosition(rx, ry);
  508.                     Console::BackgroundColor = ConsoleColor::Black;
  509.                     cout << "   ";
  510.                     Console::SetCursorPosition(rx, ry + 1);
  511.                     Console::BackgroundColor = ConsoleColor::Black;
  512.                     cout << "   ";
  513.  
  514.                     break;
  515.                 case 3:
  516.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  517.                     Console::ForegroundColor = ConsoleColor::Gray;
  518.                     Console::SetCursorPosition(rx, ry);
  519.                     cout << char(177) << char(177) << char(177);
  520.                     Console::SetCursorPosition(rx, ry + 1);
  521.                     cout << char(177) << char(177) << char(177); break;
  522.                 case 4:
  523.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  524.                     Console::SetCursorPosition(rx, ry);
  525.                     cout << "   ";
  526.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  527.                     Console::SetCursorPosition(rx, ry + 1);
  528.                     cout << "   ";
  529.                 }
  530.                 tecla = _getch();
  531.                 switch (tecla)
  532.                 {
  533.                 case 77:if ((m1[ry][rx + 3] == 6 || m1[ry][rx + 3] == 2 || m1[ry][rx + 3] == 4 || m1[ry][rx + 3] == 3) && rx<75)rx += 3; break;
  534.                 case 75:if ((m1[ry][rx - 3] == 6 || m1[ry][rx - 3] == 2 || m1[ry][rx - 3] == 4 || m1[ry][rx - 3] == 3) && rx>0)rx -= 3; break;
  535.                 case 72:if ((m1[ry - 2][rx] == 6 || m1[ry - 2][rx] == 2 || m1[ry - 2][rx] == 4 || m1[ry - 2][rx] == 3) && ry>0)ry -= 2; break;
  536.                 case 80:if ((m1[ry + 2][rx] == 6 || m1[ry + 2][rx] == 2 || m1[ry + 2][rx] == 4 || m1[ry + 2][rx] == 3) && ry<41)ry += 2; break;
  537.                 }
  538.                 switch (m1[ry][rx])
  539.                 {
  540.                 case 2:
  541.                     Console::SetCursorPosition(rx, ry);
  542.                     Console::BackgroundColor = ConsoleColor::Black;
  543.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  544.                     cout << (char)192 << (char)219 << (char)217;
  545.                     Console::SetCursorPosition(rx, ry + 1);
  546.                     Console::BackgroundColor = ConsoleColor::Black;
  547.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  548.                     cout << (char)218 << (char)223 << (char)191;
  549.                     break;
  550.                 case 3:
  551.                     Console::SetCursorPosition(rx, ry);
  552.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  553.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  554.                     cout << (char)192 << (char)219 << (char)217;
  555.                     Console::SetCursorPosition(rx, ry + 1);
  556.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  557.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  558.                     cout << (char)218 << (char)223 << (char)191;
  559.                     break;
  560.                 case 4:
  561.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  562.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  563.                     Console::SetCursorPosition(rx, ry);
  564.                     cout << (char)192 << (char)219 << (char)217;
  565.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  566.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  567.                     Console::SetCursorPosition(rx, ry + 1);
  568.                     cout << (char)218 << (char)223 << (char)191;
  569.                     break;
  570.                 }
  571.             }
  572.  
  573.         }
  574.     }
  575.  
  576. }
  577. void Movimiento6(int m1[43][81])
  578. {
  579.     int tecla;
  580.     int rx = 42;
  581.     int ry = 41;
  582.     while (1)
  583.     {
  584.         if (kbhit())
  585.         {
  586.             tecla = getch();
  587.             if (tecla == 224)
  588.             {
  589.                 switch (m1[ry][rx])
  590.                 {
  591.                 case 2:
  592.                     Console::SetCursorPosition(rx, ry);
  593.                     Console::BackgroundColor = ConsoleColor::Black;
  594.                     cout << "   ";
  595.                     Console::SetCursorPosition(rx, ry + 1);
  596.                     Console::BackgroundColor = ConsoleColor::Black;
  597.                     cout << "   ";
  598.  
  599.                     break;
  600.                 case 3:
  601.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  602.                     Console::ForegroundColor = ConsoleColor::Gray;
  603.                     Console::SetCursorPosition(rx, ry);
  604.                     cout << char(177) << char(177) << char(177);
  605.                     Console::SetCursorPosition(rx, ry + 1);
  606.                     cout << char(177) << char(177) << char(177); break;
  607.                 case 4:
  608.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  609.                     Console::SetCursorPosition(rx, ry);
  610.                     cout << "   ";
  611.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  612.                     Console::SetCursorPosition(rx, ry + 1);
  613.                     cout << "   ";
  614.                 }
  615.                 tecla = _getch();
  616.                 switch (tecla)
  617.                 {
  618.                 case 77:if ((m1[ry][rx + 3] == 6 || m1[ry][rx + 3] == 2 || m1[ry][rx + 3] == 4 || m1[ry][rx + 3] == 3) && rx<75)rx += 3; break;
  619.                 case 75:if ((m1[ry][rx - 3] == 6 || m1[ry][rx - 3] == 2 || m1[ry][rx - 3] == 4 || m1[ry][rx - 3] == 3) && rx>0)rx -= 3; break;
  620.                 case 72:if ((m1[ry - 2][rx] == 6 || m1[ry - 2][rx] == 2 || m1[ry - 2][rx] == 4 || m1[ry - 2][rx] == 3) && ry>0)ry -= 2; break;
  621.                 case 80:if ((m1[ry + 2][rx] == 6 || m1[ry + 2][rx] == 2 || m1[ry + 2][rx] == 4 || m1[ry + 2][rx] == 3) && ry<41)ry += 2; break;
  622.                 }
  623.                 switch (m1[ry][rx])
  624.                 {
  625.                 case 2:
  626.                     Console::SetCursorPosition(rx, ry);
  627.                     Console::BackgroundColor = ConsoleColor::Black;
  628.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  629.                     cout << (char)192 << (char)219 << (char)217;
  630.                     Console::SetCursorPosition(rx, ry + 1);
  631.                     Console::BackgroundColor = ConsoleColor::Black;
  632.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  633.                     cout << (char)218 << (char)223 << (char)191;
  634.                     break;
  635.                 case 3:
  636.                     Console::SetCursorPosition(rx, ry);
  637.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  638.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  639.                     cout << (char)192 << (char)219 << (char)217;
  640.                     Console::SetCursorPosition(rx, ry + 1);
  641.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  642.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  643.                     cout << (char)218 << (char)223 << (char)191;
  644.                     break;
  645.                 case 4:
  646.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  647.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  648.                     Console::SetCursorPosition(rx, ry);
  649.                     cout << (char)192 << (char)219 << (char)217;
  650.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  651.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  652.                     Console::SetCursorPosition(rx, ry + 1);
  653.                     cout << (char)218 << (char)223 << (char)191;
  654.                     break;
  655.                 }
  656.             }
  657.  
  658.         }
  659.     }
  660.  
  661. }
  662. int main()
  663. {
  664.     int xx = 0;
  665.     int yy = 26;
  666.     int tecla;
  667.     Console::WindowHeight = 43;
  668.     Console::WindowWidth = 81;
  669.     int Map1[43][81] =
  670.     {
  671.         //0         5   6     9      13      17    18        23  24    27      31      35    36        41  42    45      49      53    54        59  60    63      67      71    72        77
  672.         { 1,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1,1,1},       // 0
  673.         { 1,1,6,6,6,6,1  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,2,2,2},       // 5
  679.         { 2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2},       // 6
  680.                                                                                                                                                                                                
  681.         { 2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2},       // 7
  682.         { 2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2},       // 8
  683.         { 1,1,1 ,1,1,1 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,1,1,1 ,1,1,1 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,1,1,1 ,1,1,1 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 },       // 9
  684.         { 1,1,1 ,1,1,1 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,1,1,1 ,1,1,1 ,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,2,2,2},       // 14
  690.                                                                                                                                                                                                         //0      3      6      9     12     15     18     21     24     27     30     33     36     39     42     45     48     51     54     57     60     63     66     69     72     75                                 
  691.         { 2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2},       // 15
  692.         { 2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2},       // 16
  693.         { 4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,1,1,1 ,1,1,1 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,1,1,1 ,1,1,1 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,1,1,1 ,1,1,1 ,4,4,4 ,4,4,4 ,4,4,4 },       // 17
  694.         { 4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,1,1,1 ,1,1,1 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,1,1,1 ,1,1,1 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,4,4,4 ,1,1,1 ,1,1,1 ,4,4,4 ,4,4,4 ,4,4,4 },       // 18
  695.  
  696.         { 2,2,2 ,2,2,2 ,2,2,2 ,2,2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,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 },       // 12
  708.         { 2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 },       // 13
  709.         { 2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 },       // 14
  710.                                                                                                                                                                                                                //0       3      6      9     12     15     18     21     24     27     30     33     36     39     42     45     48     51     54     57     60     63     66     69     72     75                   
  711.         { 2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 },       // 15
  712.         { 2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,2,2,2 ,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3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },       // 25
  724.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },       // 26
  725.     };
  726.     int Map2[43][81] =
  727.     {
  728.         //0         5         6     9      13       17               18        23        24    27      31      35                36        41        42    45      49      53                54        59        60    63      67      71                72        77
  729.         { 1,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1,1,1},     // 0         
  730.         { 1,1,8,8,8,8,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,8,8,8,8,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,8,8,8,8,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,8,8,8,8,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,8,8,8,8,1,1,1},     // 1         
  731.         { 1,1,8,8,8,8,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,8,8,8,8,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,8,8,8,8,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,8,8,8,8,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,8,8,8,8,1,1,1},     // 2         
  732.  
  733.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 3
  734.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 4  
  735.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 5  
  736.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 6
  737.  
  738.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 7  
  739.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 8
  740.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 9  
  741.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 10
  742.  
  743.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 11
  744.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 12
  745.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 13
  746.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 14
  747.  
  748.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 15
  749.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 16
  750.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 17
  751.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 18
  752.  
  753.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 19
  754.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 20
  755.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 21    
  756.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 22    
  757.                                                                                                                                                                                                                                                                                       //0           3         6         9         12        15        18       21         24        27        30       33         36        39        42       45         48        51        54       57      60           63        66       69         72        75
  758.         { 4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4 ,4,4,4 },   // 23    
  759.         { 4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4    ,4,4,4 ,4,4,4 },   // 24    
  760.         { 2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2 ,2,2,2 },   // 25  
  761.         { 2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2 ,2,2,2 },   // 26    
  762.  
  763.         { 2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2 ,2,2,2 },   // 27    
  764.         { 2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2 ,2,2,2 },   // 28
  765.         { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10,10,10,10 },   // 29
  766.         { 2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2 ,2,2,2 },   // 30
  767.  
  768.         { 2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2 ,2,2,2 },   // 31
  769.         { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10,10,10,10 },   // 32
  770.         { 2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2 ,2,2,2 },   // 33
  771.         { 2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2 ,2,2,2 },   // 34
  772.                                                                                                                                                                                                                                                                                       //0           3         6         9         12        15        18       21         24        27        30       33         36        39        42       45         48        51        54       57      60           63        66       69         72        75
  773.         { 2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2 ,2,2,2 },   // 35
  774.         { 2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2 ,2,2,2 },   // 36
  775.         { 10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10 ,10,10,10,10,10,10 },   // 37
  776.         { 2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2 ,2,2,2 },   // 38  
  777.  
  778.         { 2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2 ,2,2,2 },   // 39      
  779.         { 2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2    ,2,2,2 ,2,2,2 },   // 40    
  780.         { 3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3 ,3,3,3 },   // 41      
  781.         { 3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3 ,3,3,3 },   // 42          
  782.     };
  783.     int Map3[43][81] =
  784.     {
  785.         //0         5   6     9      13      17    18        23  24    27      31      35    36        41  42    45      49      53    54        59  60    63      67      71    72        77
  786.         { 1,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1,1,1 },     // 0  
  787.         { 1,1,8,8,8,8,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,8,8,8,8,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,8,8,8,8,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,8,8,8,8,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,8,8,8,8,1,1,1 },     // 1  
  788.         { 1,1,8,8,8,8,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,8,8,8,8,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,8,8,8,8,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,8,8,8,8,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,8,8,8,8,1,1,1 },     // 2  
  789.  
  790.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },      // 3
  791.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,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5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },     // 22
  814.                                                                                                                                                                                                              //0         3      6      9     12     15     18     21     24     27     30     33     36     39     42     45     48     51     54     57     60     63     66     69     72     75           
  815.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,4,4,4 ,4,4,4 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,4,4,4 ,4,4,4 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },     // 23
  816.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,4,4,4 ,4,4,4 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,4,4,4 ,4,4,4 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },     // 24
  817.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },     // 25
  818.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 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,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },      // 40
  837.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },      // 41
  838.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },      // 42
  839.  
  840.     };
  841.     int Map4[43][81] =
  842.     {
  843.         //0         5   6     9      13      17    18        23  24    27      31      35    36        41  42    45      49      53    54        59  60    63      67      71    72        77
  844.         { 1,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1,1,1 },    // 0  
  845.         { 1,1,8,8,8,8,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,8,8,8,8,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,8,8,8,8,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,8,8,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,1,1 ,1,1,1 },      // 19
  869.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 ,1,1,1 },      // 20
  870.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },      // 21
  871.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },      // 22
  872.                                                                                                                                                                                                       //0        3      6      9     12     15     18     21     24     27     30     33     36     39     42     45     48     51     54     57     60     63     66     69     72     75
  873.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 },      // 23
  874.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,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3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },      // 42
  897.     };
  898.     int Map5[43][81] =
  899.     {
  900.         //0         5   6     9      13      17    18        23  24    27      31      35    36        41  42    45      49      53    54        59  60    63      67      71    72        77
  901.         { 1,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1,1,1 },   // 0  
  902.         { 1,1,7,7,7,7,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,7,7,7,7,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,7,7,7,7,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,7,7,7,7,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,7,7,7,7,1,1,1 },   // 1  
  903.         { 1,1,7,7,7,7,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,7,7,7,7,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,7,7,7,7,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,7,7,7,7,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,7,7,7,7,1,1,1 },   // 2  
  904.  
  905.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,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,1,1,1 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 12
  917.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 13
  918.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 14
  919.                                                                                                                                                                                                              //0         3      6      9     12     15     18     21     24     27     30     33     36     39     42     45     48     51     54     57     60     63     66     69     72     75           
  920.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 15
  921.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 16
  922.         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 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 30
  939.                                                                                                                                                                                                              //0         3      6      9     12     15     18     21     24     27     30     33     36     39     42     45     48     51     54     57     60     63     66     69     72     75           
  940.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },     // 33
  941.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },     // 34
  942.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 31
  943.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 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,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 39
  951.         { 9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 ,9,9,9 },     // 40
  952.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },     // 41
  953.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },    // 42
  954.     };
  955.     int Map6[43][81] =
  956.     {
  957.         //0         5         6     9      13       17               18        23        24    27      31      35                36        41        42    45      49      53                54        59        60    63      67      71                72        77
  958.         { 1,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1,1,1 },   // 0
  959.         { 1,1,7,7,7,7,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,7,7,7,7,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,7,7,7,7,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,7,7,7,7,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,7,7,7,7,1,1,1 },   // 1
  960.         { 1,1,7,7,7,7,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,7,7,7,7,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,7,7,7,7,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,7,7,7,7,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,7,7,7,7,1,1,1 },   // 2
  961.                                                                                                                                                                                                                                                                            //0          3         6         9        12        15        18        21        24        27        30        33        36        39        42        45        48        51        54        57        60        63        66        69        72        75            
  962.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 3
  963.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 4
  964.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 5
  965.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 6
  966.  
  967.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 7
  968.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 8
  969.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 9
  970.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 10
  971.  
  972.         { 1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,3,3,3    ,3,3,3    ,3,3,3 },   // 11
  973.         { 1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,3,3,3    ,3,3,3    ,3,3,3 },   // 12
  974.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 13
  975.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 14
  976.                                                                                                                                                                                                                            
  977.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 15
  978.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 16
  979.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 17
  980.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 18
  981.                                                                                                                                                                                                                            
  982.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 19
  983.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 20
  984.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 21
  985.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 22
  986.                                                                                                                                                                                                                                                                                             //0         3         6         9         12        15       18        21        24        27        30        33        36        39        42        45        48        51        54        57        60        63        66         69        72        75                                                                                                                                                                                                                                                       
  987.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 23
  988.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 24
  989.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 25
  990.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 26
  991.                                                                                                                                                                                                                            
  992.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 27
  993.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 28
  994.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 29
  995.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 30
  996.                                                                                                                                                                                                                            
  997.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 33
  998.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 34
  999.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 31
  1000.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 32
  1001.                                                                                                                                                                                                                                                                                             //0         3         6         9         12        15       18        21        24        27        30        33        36        39        42        45        48        51        54        57        60        63        66         69        72        75
  1002.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 35
  1003.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 },   // 36
  1004.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 },   // 37
  1005.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 },   // 38
  1006.                                                                                                                                                                                                                            
  1007.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 },   // 39
  1008.         { 11,11,11 ,11,11,11 ,11,11,11 ,1,1,1    ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11  ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 },   // 40
  1009.         { 3,3,3    ,3,3,3    ,3,3,3    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1 },   // 41
  1010.         { 3,3,3    ,3,3,3    ,3,3,3    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1     ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1 },   // 42
  1011.     };
  1012.     DibujaMapa(Map1);
  1013.     _getch();
  1014.     Console::Clear();
  1015.     DibujaMapa(Map2);
  1016.     _getch();
  1017.     Console::Clear();
  1018.     DibujaMapa(Map3);
  1019.     _getch();
  1020.     Console::Clear();
  1021.     DibujaMapa(Map4);
  1022.     _getch();
  1023.     Console::Clear();
  1024.     DibujaMapa(Map5);
  1025.     _getch();
  1026.     Console::Clear();
  1027.     DibujaMapa(Map6);
  1028.     _getch();
  1029.     Console::Clear();
  1030.     return 0;
  1031. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement