Xavistian

hITO 3 FALTA

Jun 27th, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 182.62 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <iostream>
  3. #include <conio.h>
  4. using namespace System;
  5. using namespace std;
  6. struct posctt
  7. {
  8.     int x;
  9.     int y;
  10.     int delx;
  11.     int dely;
  12.     int maxrx;
  13.     int minrx;
  14.     int maxry;
  15.     int minry;
  16. };
  17. void Carritonegro(posctt*enemigo, int n, int &rx, int &ry, int & vidas)
  18. {
  19.     Console::BackgroundColor = ConsoleColor::Black;
  20.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
  21.     cout << char(219) << char(220) << char(219);
  22.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
  23.     cout << char(223) << char(32) << char(223);
  24.     /*--------------------------------------------------*/
  25.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
  26.     cout << "   ";
  27.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
  28.     cout << "   ";
  29.     /*--------------------------------------------------*/
  30.     if (enemigo[n].x >= 76)enemigo[n].x = 0;
  31.     enemigo[n].x = enemigo[n].x + enemigo[n].delx;
  32.     /*--------------------------------------------------*/
  33.     Console::ForegroundColor = ConsoleColor::Red;
  34.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
  35.     cout << char(219) << char(220) << char(219);
  36.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
  37.     cout << char(223) << char(32) << char(223);
  38.     /*--------------------------------------------------*/
  39.     if (rx <= enemigo[n].x&& rx >= enemigo[n].x - 4 && enemigo[n].y == ry)
  40.     {
  41.         Console::SetCursorPosition(rx, ry);
  42.         cout << "   ";
  43.         Console::SetCursorPosition(rx, ry + 1);
  44.         cout << "   ";
  45.         rx = 42;
  46.         ry = 41;
  47.         vidas--;
  48.     }
  49. }
  50. void CarritoAmarillo(posctt*enemigo, int n, int &rx, int &ry, int & vidas)
  51. {
  52.     Console::BackgroundColor = ConsoleColor::Black;
  53.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
  54.     cout << char(219) << char(220) << char(219);
  55.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
  56.     cout << char(223) << char(32) << char(223);;
  57.     /*--------------------------------------------------*/
  58.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
  59.     Console::ForegroundColor = ConsoleColor::Yellow;
  60.     cout << "===";
  61.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
  62.     cout << "   ";
  63.     /*--------------------------------------------------*/
  64.     if (enemigo[n].x <= 2)enemigo[n].x = 79;
  65.     enemigo[n].x = enemigo[n].x + enemigo[n].delx;
  66.     /*--------------------------------------------------*/
  67.     Console::ForegroundColor = ConsoleColor::Yellow;
  68.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
  69.     cout << char(219) << char(220) << char(219);
  70.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
  71.     cout << char(223) << char(32) << char(223);
  72.     /*--------------------------------------------------*/
  73.     if (rx >= enemigo[n].x&& rx <= enemigo[n].x + 4 && enemigo[n].y == ry)
  74.     {
  75.         Console::SetCursorPosition(rx, ry);
  76.         Console::ForegroundColor = ConsoleColor::Yellow;
  77.         cout << "===";
  78.         Console::SetCursorPosition(rx, ry + 1);
  79.         cout << "   ";
  80.         rx = 42;
  81.         ry = 41;
  82.         vidas--;
  83.     }
  84. }
  85. void CarritoAmarillo2(posctt*enemigo, int n, int &rx, int &ry)  //no pinta amarillas
  86. {
  87.     Console::BackgroundColor = ConsoleColor::Black;
  88.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
  89.     cout << char(219) << char(220) << char(219);
  90.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
  91.     cout << char(223) << char(32) << char(223);
  92.     /*--------------------------------------------------*/
  93.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
  94.     cout << "   ";
  95.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
  96.     cout << "   ";
  97.     /*--------------------------------------------------*/
  98.     if (enemigo[n].x <= 2)enemigo[n].x = 79;
  99.     enemigo[n].x = enemigo[n].x + enemigo[n].delx;
  100.     /*--------------------------------------------------*/
  101.     Console::ForegroundColor = ConsoleColor::Yellow;
  102.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
  103.     cout << char(219) << char(220) << char(219);
  104.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
  105.     cout << char(223) << char(32) << char(223);
  106.     /*--------------------------------------------------*/
  107.     if (enemigo[n].x == rx && enemigo[n].y == ry)
  108.     {
  109.         Console::SetCursorPosition(rx, ry);
  110.         cout << "   ";
  111.         Console::SetCursorPosition(rx, ry + 1);
  112.         cout << "   ";
  113.         rx = 42;
  114.         ry = 41;
  115.     }
  116. } //no pinta amarillas
  117. void CarritoAmarillo2exception(posctt*enemigo, int n, int &rx, int &ry)
  118. {
  119.     Console::BackgroundColor = ConsoleColor::Black;
  120.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
  121.     cout << char(219) << char(220) << char(219);
  122.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
  123.     cout << char(223) << char(32) << char(223);
  124.     /*--------------------------------------------------*/
  125.     Console::ForegroundColor = ConsoleColor::White;
  126.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
  127.     cout << "   ";
  128.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
  129.     cout << "===";
  130.     /*--------------------------------------------------*/
  131.     if (enemigo[n].x <= 2)enemigo[n].x = 79;
  132.     enemigo[n].x = enemigo[n].x + enemigo[n].delx;
  133.     /*--------------------------------------------------*/
  134.     Console::ForegroundColor = ConsoleColor::Yellow;
  135.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y);
  136.     cout << char(219) << char(220) << char(219);
  137.     Console::SetCursorPosition(enemigo[n].x, enemigo[n].y + 1);
  138.     cout << char(223) << char(32) << char(223);
  139.     /*--------------------------------------------------*/
  140.     if (enemigo[n].x == rx&&enemigo[n].y == ry)
  141.     {
  142.         Console::SetCursorPosition(rx, ry);
  143.         cout << "   ";
  144.         Console::SetCursorPosition(rx, ry + 1);
  145.         cout << "   ";
  146.         rx = 42;
  147.         ry = 41;
  148.     }
  149. }
  150. void Troncozd(posctt*tronco, int n, int &rx, int & ry, int m1[43][81])
  151. {
  152.     Console::ForegroundColor = ConsoleColor::DarkYellow;
  153.     Console::SetCursorPosition(tronco[n].x, tronco[n].y);
  154.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  155.     Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
  156.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  157.     /*--------------------------------------------------*/
  158.     Console::BackgroundColor = ConsoleColor::Blue;
  159.     Console::ForegroundColor = ConsoleColor::Cyan;
  160.     Console::SetCursorPosition(tronco[n].x, tronco[n].y);
  161.     cout << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177);
  162.     Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
  163.     cout << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177);
  164.     /*--------------------------------------------------*/
  165.     if (tronco[n].x >= 69)tronco[n].x = 0;
  166.     tronco[n].x = tronco[n].x + tronco[n].delx;
  167.     /*--------------------------------------------------*/
  168.     Console::ForegroundColor = ConsoleColor::DarkCyan;
  169.     Console::SetCursorPosition(tronco[n].x, tronco[n].y);
  170.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  171.     Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
  172.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  173.     /*--------------------------------------------------*/
  174.     if (rx >= tronco[n].x&&rx <= tronco[n].x + 12 && ry == tronco[n].y)
  175.     {
  176.         if (rx - 1 < 0 || rx + 1 > 69 && ry == tronco[n].y)
  177.         {
  178.             rx = 42;
  179.             ry = 41;
  180.         }
  181.         rx++;
  182.         Console::SetCursorPosition(rx, ry);
  183.         cout << (char)192 << (char)219 << (char)217;
  184.         Console::SetCursorPosition(rx, ry + 1);
  185.         cout << (char)218 << (char)223 << (char)191;
  186.     }
  187.     else
  188.         if (ry >= 3 && ry <= 21)
  189.         {
  190.             rx = 42;
  191.             ry = 41;
  192.         }
  193.  
  194. }
  195. void Troncodz(posctt*tronco, int n, int &rx, int & ry, int m1[43][81])
  196. {
  197.     Console::ForegroundColor = ConsoleColor::DarkYellow;
  198.     Console::SetCursorPosition(tronco[n].x, tronco[n].y);
  199.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  200.     Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
  201.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  202.     /*--------------------------------------------------*/
  203.     Console::BackgroundColor = ConsoleColor::Blue;
  204.     Console::ForegroundColor = ConsoleColor::Cyan;
  205.     Console::SetCursorPosition(tronco[n].x, tronco[n].y);
  206.     cout << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177);
  207.     Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
  208.     cout << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177) << char(177);
  209.     /*--------------------------------------------------*/
  210.     if (tronco[n].x <= 0)tronco[n].x = 69;
  211.     tronco[n].x = tronco[n].x + tronco[n].delx;
  212.     /*--------------------------------------------------*/
  213.     Console::ForegroundColor = ConsoleColor::DarkCyan;
  214.     Console::SetCursorPosition(tronco[n].x, tronco[n].y);
  215.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  216.     Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
  217.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  218.     /*--------------------------------------------------*/
  219.     if (rx >= tronco[n].x&&rx <= tronco[n].x + 12 && ry == tronco[n].y)
  220.     {
  221.         if ((rx - 1 < 0 || rx + 1 > 69) && ry == tronco[n].y)
  222.         {
  223.             rx = 42;
  224.             ry = 41;
  225.         }
  226.         rx--;
  227.         Console::SetCursorPosition(rx, ry);
  228.         cout << (char)192 << (char)219 << (char)217;
  229.         Console::SetCursorPosition(rx, ry + 1);
  230.         cout << (char)218 << (char)223 << (char)191;
  231.     }
  232.    
  233. }
  234. void Troncolavazd(posctt*tronco, int n, int &rx, int & ry)
  235. {
  236.     if ((tronco[n].x == 41 || tronco[n].x == 68 || tronco[n].x == 14) && (tronco[n].y == 13 || tronco[n].y == 18 || tronco[n].y == 14 || tronco[n].y == 15 || tronco[n].y == 16 || tronco[n].y == 17))
  237.     {
  238.         Console::BackgroundColor = ConsoleColor::Red;
  239.         Console::SetCursorPosition(tronco[n].x - 3, tronco[n].y);
  240.         Console::ForegroundColor = ConsoleColor::Yellow;
  241.         cout << char(176) << char(176);
  242.         Console::ForegroundColor = ConsoleColor::Black;
  243.         Console::SetCursorPosition(tronco[n].x - 1, tronco[n].y);
  244.         cout << char(186);
  245.         Console::ForegroundColor = ConsoleColor::Yellow;
  246.         Console::SetCursorPosition(tronco[n].x - 3, tronco[n].y + 1);
  247.         cout << char(176) << char(176);
  248.         Console::ForegroundColor = ConsoleColor::Black;
  249.         Console::SetCursorPosition(tronco[n].x - 1, tronco[n].y + 1);
  250.         cout << char(186);
  251.     }
  252.     /*--------------------------------------------------*/
  253.     Console::ForegroundColor = ConsoleColor::DarkGray;
  254.     Console::SetCursorPosition(tronco[n].x, tronco[n].y);
  255.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  256.     Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
  257.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  258.     /*--------------------------------------------------*/
  259.     Console::BackgroundColor = ConsoleColor::Red;
  260.     Console::ForegroundColor = ConsoleColor::Yellow;
  261.     Console::SetCursorPosition(tronco[n].x, tronco[n].y);
  262.     cout << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176);
  263.     Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
  264.     cout << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176);
  265.     /*--------------------------------------------------*/
  266.     if (tronco[n].x >= 69)tronco[n].x = 0;
  267.     tronco[n].x = tronco[n].x + tronco[n].delx;
  268.     /*--------------------------------------------------*/
  269.     Console::ForegroundColor = ConsoleColor::DarkGray;
  270.     Console::SetCursorPosition(tronco[n].x, tronco[n].y);
  271.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  272.     Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
  273.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  274. }
  275. void Troncolavadz(posctt*tronco, int n, int &rx, int & ry)
  276. {
  277.     if ((tronco[n].x == 0 || tronco[n].x == 27 || tronco[n].x == 54) && (tronco[n].y == 13 || tronco[n].y == 18 || tronco[n].y == 14 || tronco[n].y == 15 || tronco[n].y == 16 || tronco[n].y == 17))
  278.     {
  279.         Console::BackgroundColor = ConsoleColor::Red;
  280.         Console::ForegroundColor = ConsoleColor::Yellow;
  281.         Console::SetCursorPosition(tronco[n].x + 12, tronco[n].y);
  282.         cout << char(176);
  283.         Console::ForegroundColor = ConsoleColor::Black;
  284.         Console::SetCursorPosition(tronco[n].x + 13, tronco[n].y);
  285.         cout << char(186);
  286.         Console::ForegroundColor = ConsoleColor::Yellow;
  287.         Console::SetCursorPosition(tronco[n].x + 14, tronco[n].y);
  288.         cout << char(176);
  289.         Console::ForegroundColor = ConsoleColor::Yellow;
  290.         Console::SetCursorPosition(tronco[n].x + 12, tronco[n].y + 1);
  291.         cout << char(176);
  292.         Console::ForegroundColor = ConsoleColor::Black;
  293.         Console::SetCursorPosition(tronco[n].x + 13, tronco[n].y + 1);
  294.         cout << char(186);
  295.         Console::ForegroundColor = ConsoleColor::Yellow;
  296.         Console::SetCursorPosition(tronco[n].x + 14, tronco[n].y + 1);
  297.         cout << char(176);
  298.     }
  299.     /*--------------------------------------------------*/
  300.     Console::ForegroundColor = ConsoleColor::DarkGray;
  301.     Console::SetCursorPosition(tronco[n].x, tronco[n].y);
  302.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  303.     Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
  304.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  305.     /*--------------------------------------------------*/
  306.     Console::BackgroundColor = ConsoleColor::Red;
  307.     Console::ForegroundColor = ConsoleColor::Yellow;
  308.     Console::SetCursorPosition(tronco[n].x, tronco[n].y);
  309.     cout << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176);
  310.     Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
  311.     cout << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176) << char(176);
  312.     /*--------------------------------------------------*/
  313.     if (tronco[n].x <= 0)tronco[n].x = 69;
  314.     tronco[n].x = tronco[n].x + tronco[n].delx;
  315.     /*--------------------------------------------------*/
  316.     Console::ForegroundColor = ConsoleColor::DarkGray;
  317.     Console::SetCursorPosition(tronco[n].x, tronco[n].y);
  318.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  319.     Console::SetCursorPosition(tronco[n].x, tronco[n].y + 1);
  320.     cout << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219) << char(219);
  321. }
  322. void objeto_rebotador(posctt*rebo_obs, int n, int& rx, int& ry)
  323. {
  324.     Console::BackgroundColor = ConsoleColor::DarkRed;
  325.     Console::SetCursorPosition(rebo_obs[n].x, rebo_obs[n].y);
  326.     cout << char(219) << char(219) << char(219);
  327.     Console::SetCursorPosition(rebo_obs[n].x, rebo_obs[n].y + 1);
  328.     cout << char(219) << char(219) << char(219);
  329.     /*--------------------------------------------------*/
  330.     Console::BackgroundColor = ConsoleColor::Black;
  331.     Console::SetCursorPosition(rebo_obs[n].x, rebo_obs[n].y);
  332.     cout << "   ";
  333.     Console::SetCursorPosition(rebo_obs[n].x, rebo_obs[n].y + 1);
  334.     cout << "   ";
  335.     /*--------------------------------------------------*/
  336.     if (rebo_obs[n].y == rebo_obs[n].minry)rebo_obs[n].dely = 1;
  337.     if (rebo_obs[n].y == rebo_obs[n].maxry)rebo_obs[n].dely = -1;
  338.     rebo_obs[n].y = rebo_obs[n].y + rebo_obs[n].dely;
  339.     /*--------------------------------------------------*/
  340.     Console::ForegroundColor = ConsoleColor::Yellow;
  341.     Console::SetCursorPosition(rebo_obs[n].x, rebo_obs[n].y);
  342.     cout << char(219) << char(220) << char(219);
  343.     Console::SetCursorPosition(rebo_obs[n].x, rebo_obs[n].y + 1);
  344.     cout << char(223) << char(32) << char(223);
  345.     /*--------------------------------------------------*/
  346.     if (rebo_obs[n].x == rx&&rebo_obs[n].y == ry)
  347.     {
  348.         rx = 0;
  349.         ry = 41;
  350.     }
  351. }
  352. void DibujaMapa(int m1[43][81])
  353. {
  354.     int x1;
  355.     int y1;
  356.     /*--------------------------------------------------*/
  357.     Console::BackgroundColor = ConsoleColor::Black;
  358.     for (int f = 0; f < 43; f++)
  359.     {
  360.         Console::SetCursorPosition(x1, y1);
  361.         for (int c = 0; c < 81; c++)
  362.         {
  363.             switch (m1[f][c])
  364.             {
  365.             case 1:
  366.                 Console::BackgroundColor = ConsoleColor::DarkRed;
  367.                 if (f == 0 && (c == 1 || c == 19 || c == 37 || c == 55 || c == 73 || c == 6 || c == 24 || c == 42 || c == 60 || c == 78))
  368.                 {
  369.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  370.                     Console::ForegroundColor = ConsoleColor::DarkGray;
  371.                     cout << char(207);
  372.                 }
  373.                 else
  374.                     if (f == 0 && ((c >= 2 && c <= 5) || (c >= 20 && c <= 23) || (c >= 38 && c <= 41) || (c >= 56 && c <= 59) || (c >= 74 && c <= 77)))
  375.                     {
  376.                         Console::BackgroundColor = ConsoleColor::DarkGreen;
  377.                         Console::ForegroundColor = ConsoleColor::DarkGray;
  378.                         cout << char(205);
  379.                     }
  380.                     else
  381.                         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))
  382.                         {
  383.                             Console::BackgroundColor = ConsoleColor::DarkGreen;
  384.                             Console::ForegroundColor = ConsoleColor::DarkGray;
  385.                             cout << char(186);
  386.                         }
  387.                         else
  388.                         {
  389.                             Console::ForegroundColor = ConsoleColor::DarkGreen;
  390.                             cout << char(177);
  391.                         } break;
  392.                 /*--------------------------------------------------*/
  393.             case 2:
  394.                 Console::BackgroundColor = ConsoleColor::Black;
  395.                 if (f == 5 || f == 13 || f == 21 || f == 29 || f == 37)
  396.                 {
  397.                     Console::ForegroundColor = ConsoleColor::Yellow;
  398.                     cout << "=";
  399.                 }
  400.                 else
  401.                     cout << " "; break;
  402.                 /*--------------------------------------------------*/
  403.             case 3:
  404.                 Console::BackgroundColor = ConsoleColor::DarkGray;
  405.                 Console::ForegroundColor = ConsoleColor::Gray;
  406.                 cout << char(177); break;
  407.                 /*--------------------------------------------------*/
  408.             case 4:
  409.                 Console::BackgroundColor = ConsoleColor::DarkGreen;
  410.                 Console::ForegroundColor = ConsoleColor::DarkGreen;
  411.                 cout << char(176); break;
  412.                 /*--------------------------------------------------*/
  413.             case 5:
  414.                 Console::BackgroundColor = ConsoleColor::Blue;
  415.                 Console::ForegroundColor = ConsoleColor::Cyan;
  416.                 cout << char(177); break;
  417.                 /*--------------------------------------------------*/
  418.             case 6:
  419.                 Console::BackgroundColor = ConsoleColor::Black;
  420.                 Console::ForegroundColor = ConsoleColor::Black;
  421.                 cout << char(176); break;
  422.                 /*--------------------------------------------------*/
  423.             case 7:
  424.                 Console::BackgroundColor = ConsoleColor::DarkGray;
  425.                 cout << char(177); break;
  426.                 /*--------------------------------------------------*/
  427.             case 8:
  428.                 Console::BackgroundColor = ConsoleColor::DarkGray;
  429.                 cout << char(177); break;
  430.                 /*--------------------------------------------------*/
  431.             case 9:
  432.                 Console::BackgroundColor = ConsoleColor::Red;
  433.                 Console::ForegroundColor = ConsoleColor::Yellow;
  434.                 cout << char(176); break;
  435.                 /*--------------------------------------------------*/
  436.             case 10:
  437.                 Console::BackgroundColor = ConsoleColor::Black;
  438.                 if (f == 32)
  439.                 {
  440.                     Console::ForegroundColor = ConsoleColor::White;
  441.                     cout << "=";
  442.                 }
  443.                 else
  444.                     cout << " "; break;
  445.                 /*--------------------------------------------------*/
  446.             case 11:
  447.                 Console::BackgroundColor = ConsoleColor::Black;
  448.                 Console::ForegroundColor = ConsoleColor::Black;
  449.                 cout << char(219); break;
  450.                 /*--------------------------------------------------*/
  451.             case 12:
  452.                 Console::BackgroundColor = ConsoleColor::Red;
  453.                 Console::ForegroundColor = ConsoleColor::Yellow;
  454.                 cout << char(176); break;
  455.                 /*--------------------------------------------------*/
  456.             case 13:
  457.                 Console::BackgroundColor = ConsoleColor::Red;
  458.                 if ((c == 13 || c == 40 || c == 67) && (f > 12 && f < 19))
  459.                 {
  460.                     Console::ForegroundColor = ConsoleColor::Black;
  461.                     cout << char(186);
  462.                 }
  463.                 else
  464.                 {
  465.                     Console::ForegroundColor = ConsoleColor::Yellow;
  466.                     cout << char(176);
  467.                 } break;
  468.                 /*--------------------------------------------------*/
  469.             case 14:
  470.                 Console::BackgroundColor = ConsoleColor::Black;
  471.                 Console::ForegroundColor = ConsoleColor::Black;
  472.                 cout << char(219); break; break;
  473.             case 15:
  474.                 Console::BackgroundColor = ConsoleColor::DarkGreen;
  475.                 Console::ForegroundColor = ConsoleColor::White;
  476.                 cout << char(177); break;
  477.             case 16:
  478.                 Console::BackgroundColor = ConsoleColor::DarkGreen;
  479.                 Console::ForegroundColor = ConsoleColor::DarkGreen;
  480.                 cout << char(177); break;
  481.             }
  482.         }
  483.         y1++;
  484.     }
  485. }
  486. void Screen_Inicio(int m1[43][81])
  487. {
  488.     Console::SetCursorPosition(0, 1);
  489.     Console::ForegroundColor = ConsoleColor::DarkGreen;
  490.     cout << char(207) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(207);
  491.     Console::SetCursorPosition(12, 25);
  492.     Console::ForegroundColor = ConsoleColor::White;
  493.     Console::SetCursorPosition(12, 25);
  494.     cout << "Integrantes : ";
  495.     Console::SetCursorPosition(14, 26);
  496.     cout << "- Sebastian Alessndro Bravo Trettenero";
  497.     Console::SetCursorPosition(14, 27);
  498.     cout << "- Agustin Alejandro Sanchez Maita ";
  499.     Console::SetCursorPosition(12, 29);
  500.     cout << "Profesor : ";
  501.     Console::SetCursorPosition(14, 30);
  502.     cout << "- William Bravo Garcia";
  503.     Console::SetCursorPosition(12, 32);
  504.     cout << "Carrera : ";
  505.     Console::SetCursorPosition(14, 33);
  506.     cout << "- Ingenieria de Software";
  507.     Console::SetCursorPosition(54, 28);
  508.     cout << "Seccion:";
  509.     Console::SetCursorPosition(56, 29);
  510.     cout << "- WX1A";
  511.     Console::SetCursorPosition(54, 31);
  512.     cout << "Curso : ";
  513.     Console::SetCursorPosition(56, 32);
  514.     cout << "- Programacion I";
  515.     Console::SetCursorPosition(43, 36);
  516.     cout << "2018 - I";
  517.     Console::SetCursorPosition(27, 39);
  518.     cout << "Presione cualquier tecla para continuar .";
  519.     Console::SetCursorPosition(0, 41);
  520.     Console::ForegroundColor = ConsoleColor::DarkGreen;
  521.     cout << char(207) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(207);
  522. }
  523. void Instrucciones(int m1[43][81])
  524. {
  525.     Console::SetCursorPosition(0, 1);
  526.     Console::ForegroundColor = ConsoleColor::DarkGreen;
  527.     cout << char(207) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(207);
  528.     Console::ForegroundColor = ConsoleColor::White;
  529.     Console::SetCursorPosition(3, 3);
  530.     cout << "Instrucciones : ";
  531.     Console::SetCursorPosition(4, 6);
  532.     cout << "Utilice las Teclas Direccionales del";
  533.     Console::SetCursorPosition(4, 7);
  534.     cout << "teclado para poder dezplazarse                        (Flecha arriba)";
  535.     Console::SetCursorPosition(4, 8);
  536.     cout << "en la direccion deseada.            (Flecha izquierda)(Flecha abajo)(Flecha derecha)";
  537.  
  538.     Console::SetCursorPosition(4, 11);
  539.     cout << "Cada nivel presenta un bonus ,";
  540.     Console::SetCursorPosition(4, 12);
  541.     cout << "cogelo para obtener una                                  " << char(201) << char(205) << char(187);
  542.     Console::SetCursorPosition(4, 13);
  543.     cout << "vida extra.                                              " << char(200) << char(205) << char(188);
  544.  
  545.     Console::SetCursorPosition(4, 16);
  546.     cout << "Para pasar de nivel , coloca tu";
  547.     Console::SetCursorPosition(4, 17);
  548.     cout << "rana en cada cueva que se                               " << char(207) << char(205) << char(205) << char(207);
  549.     Console::SetCursorPosition(4, 18);
  550.     cout << "encuentra en la parte                                   " << char(186) << char(32) << char(32) << char(186);
  551.     Console::SetCursorPosition(4, 19);
  552.     cout << "superior del escenario.                                 " << char(186) << char(32) << char(32) << char(186);
  553.  
  554.     Console::SetCursorPosition(4, 22);
  555.     cout << "Si colisionas con cualquier objeto";
  556.     Console::SetCursorPosition(4, 23);
  557.     cout << "que se mueva ,excepto los troncos ";
  558.     Console::SetCursorPosition(55, 23);
  559.     cout << char(219) << char(220) << char(219) << "   -->   <--   *";
  560.     Console::SetCursorPosition(55, 24);
  561.     cout << char(223) << char(32) << char(223);
  562.     Console::SetCursorPosition(4, 24);
  563.     cout << ",perderas una vida.";
  564.  
  565.     Console::SetCursorPosition(4, 27);
  566.     cout << "Si caes al agua o lava, perderas";
  567.     Console::SetCursorPosition(4, 28);
  568.     cout << "de una a dos vidas";
  569.     Console::BackgroundColor = ConsoleColor::Blue;
  570.     Console::ForegroundColor = ConsoleColor::Cyan;
  571.     Console::SetCursorPosition(58, 28);
  572.     cout << char(177) << char(177) << char(177);
  573.     Console::SetCursorPosition(58, 29);
  574.     cout << char(177) << char(177) << char(177);
  575.     Console::BackgroundColor = ConsoleColor::Red;
  576.     Console::ForegroundColor = ConsoleColor::Yellow;
  577.     Console::SetCursorPosition(63, 28);
  578.     cout << char(177) << char(177) << char(177);
  579.     Console::SetCursorPosition(63, 29);
  580.     cout << char(177) << char(177) << char(177);
  581.     Console::SetCursorPosition(4, 29);
  582.     Console::BackgroundColor = ConsoleColor::Black;
  583.     Console::ForegroundColor = ConsoleColor::White;
  584.     cout << "respectivamente.";
  585.  
  586.     Console::SetCursorPosition(27, 39);
  587.     cout << "Presione cualquier tecla para continuar .";
  588.  
  589.     Console::SetCursorPosition(0, 41);
  590.     Console::ForegroundColor = ConsoleColor::DarkGreen;
  591.     cout << char(207) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(205) << char(207);
  592. }
  593. void Banner_Derrota(int m1[43][81])
  594. {
  595.     Console::ForegroundColor = ConsoleColor::White;
  596.     Console::SetCursorPosition(39, 20);
  597.     cout << "Haz muerto";
  598. }
  599. void Movimiento1(int m1[43][81], int *exitmovement)
  600. {
  601.     posctt * enemigo = new posctt[15];
  602.     Random x;
  603.     int contadortiempo1 = 0, contadortiempo2 = 180;
  604.     int txtx = 85, txty = 17;
  605.     int vidas = 6;
  606.     int *cueva = new int[5];
  607.     for (int i = 0; i < 5; i++)
  608.         cueva[i] = 0;
  609.     int sumacueva;
  610.     int bonus, bonus_x = 78, bonus_y = 17;
  611.     int tecla;
  612.     int rx = 42;
  613.     int ry = 41;
  614.     /*--------------------------------------------------*/
  615.     enemigo[0].x = x.Next(0, 79);
  616.     enemigo[0].y = 3;
  617.     enemigo[0].delx = 3;
  618.  
  619.     enemigo[1].x = x.Next(0, 79);
  620.     enemigo[1].y = 7;
  621.     enemigo[1].delx = 1;
  622.  
  623.     enemigo[2].x = x.Next(0, 79);
  624.     enemigo[2].y = 11;
  625.     enemigo[2].delx = 2;
  626.  
  627.     enemigo[3].x = x.Next(0, 79);
  628.     enemigo[3].y = 15;
  629.     enemigo[3].delx = 3;
  630.  
  631.     enemigo[4].x = x.Next(0, 79);
  632.     enemigo[4].y = 19;
  633.     enemigo[4].delx = 1;
  634.  
  635.     enemigo[5].x = x.Next(0, 79);
  636.     enemigo[5].y = 23;
  637.     enemigo[5].delx = 3;
  638.  
  639.     enemigo[6].x = x.Next(0, 79);
  640.     enemigo[6].y = 27;
  641.     enemigo[6].delx = 1;
  642.  
  643.     enemigo[7].x = x.Next(0, 79);
  644.     enemigo[7].y = 31;
  645.     enemigo[7].delx = 3;
  646.  
  647.     enemigo[8].x = x.Next(0, 79);
  648.     enemigo[8].y = 35;
  649.     enemigo[8].delx = 1;
  650.  
  651.     enemigo[9].x = x.Next(0, 79);
  652.     enemigo[9].y = 39;
  653.     enemigo[9].delx = 3;
  654.     /*------------------------------*/
  655.     enemigo[10].x = x.Next(0, 79);
  656.     enemigo[10].y = 5;
  657.     enemigo[10].delx = -3;
  658.  
  659.     enemigo[11].x = x.Next(0, 79);
  660.     enemigo[11].y = 13;
  661.     enemigo[11].delx = -1;
  662.  
  663.     enemigo[12].x = x.Next(0, 79);
  664.     enemigo[12].y = 21;
  665.     enemigo[12].delx = -2;
  666.  
  667.     enemigo[13].x = x.Next(0, 79);
  668.     enemigo[13].y = 29;
  669.     enemigo[13].delx = -1;
  670.  
  671.     enemigo[14].x = x.Next(0, 79);
  672.     enemigo[14].y = 37;
  673.     enemigo[14].delx = -2;
  674.     /*--------------------------------------------------*/
  675.     Console::BackgroundColor = ConsoleColor::DarkGreen;
  676.     Console::SetCursorPosition(bonus_x, bonus_y);
  677.     cout << char(201) << char(205) << char(187);
  678.     Console::SetCursorPosition(bonus_x, bonus_y + 1);
  679.     cout << char(200) << char(205) << char(188);
  680.     while (exitmovement[0])
  681.     {
  682.         Console::SetCursorPosition(txtx, txty);
  683.         cout << vidas;
  684.         Console::SetCursorPosition(85, 19);
  685.         cout << contadortiempo2;
  686.         switch (m1[ry][rx])
  687.         {
  688.         case 3:
  689.             Console::SetCursorPosition(rx, ry);
  690.             Console::BackgroundColor = ConsoleColor::DarkGray;
  691.             Console::ForegroundColor = ConsoleColor::DarkMagenta;
  692.             cout << (char)192 << (char)219 << (char)217;
  693.             Console::SetCursorPosition(rx, ry + 1);
  694.             Console::BackgroundColor = ConsoleColor::DarkGray;
  695.             Console::ForegroundColor = ConsoleColor::DarkMagenta;
  696.             cout << (char)218 << (char)223 << (char)191;
  697.             break;
  698.         }
  699.         if (kbhit())
  700.         {
  701.             tecla = _getch();
  702.             if (tecla == 224)
  703.             {
  704.                 switch (m1[ry][rx])
  705.                 {
  706.                 case 2:
  707.                     Console::BackgroundColor = ConsoleColor::Black;
  708.                     Console::SetCursorPosition(rx, ry);
  709.                     cout << "   ";
  710.                     Console::SetCursorPosition(rx, ry + 1);
  711.                     cout << "   ";
  712.                     if (ry == 5 || ry == 13 || ry == 21 || ry == 29 || ry == 37)
  713.                     {
  714.                         Console::ForegroundColor = ConsoleColor::Yellow;
  715.                         Console::SetCursorPosition(rx, ry);
  716.                         cout << "===";
  717.                         Console::SetCursorPosition(rx, ry + 1);
  718.                         cout << "   ";
  719.                     }
  720.                     break;
  721.                 case 3:
  722.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  723.                     Console::ForegroundColor = ConsoleColor::Gray;
  724.                     Console::SetCursorPosition(rx, ry);
  725.                     cout << char(177) << char(177) << char(177);
  726.                     Console::SetCursorPosition(rx, ry + 1);
  727.                     cout << char(177) << char(177) << char(177); break;
  728.                 case 4:
  729.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  730.                     Console::SetCursorPosition(rx, ry);
  731.                     cout << "   ";
  732.                     Console::SetCursorPosition(rx, ry + 1);
  733.                     cout << "   "; break;
  734.                 }
  735.                 tecla = _getch();
  736.                 switch (tecla)
  737.                 {
  738.                 case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
  739.                 case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
  740.                 case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
  741.                 case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
  742.                 }
  743.                 switch (m1[ry][rx])
  744.                 {
  745.                 case 2:
  746.                     Console::BackgroundColor = ConsoleColor::Black;
  747.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  748.                     Console::SetCursorPosition(rx, ry);
  749.                     cout << (char)192 << (char)219 << (char)217;
  750.                     Console::SetCursorPosition(rx, ry + 1);
  751.                     cout << (char)218 << (char)223 << (char)191; break;
  752.                 case 3:
  753.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  754.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  755.                     Console::SetCursorPosition(rx, ry);
  756.                     cout << (char)192 << (char)219 << (char)217;
  757.                     Console::SetCursorPosition(rx, ry + 1);
  758.                     cout << (char)218 << (char)223 << (char)191; break;
  759.                 case 4:
  760.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  761.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  762.                     Console::SetCursorPosition(rx, ry);
  763.                     cout << (char)192 << (char)219 << (char)217;
  764.                     Console::SetCursorPosition(rx, ry + 1);
  765.                     cout << (char)218 << (char)223 << (char)191; break;
  766.                 case 6:
  767.                     Console::BackgroundColor = ConsoleColor::Black;
  768.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  769.                     Console::SetCursorPosition(rx, ry);
  770.                     cout << (char)192 << (char)219 << (char)217;
  771.                     Console::SetCursorPosition(rx, ry + 1);
  772.                     cout << (char)218 << (char)223 << (char)191; break;
  773.                 }
  774.             }
  775.         }
  776.         /*--------------------------------------------------*/
  777.         _sleep(10);
  778.         contadortiempo1 += 10;
  779.         if (contadortiempo1 == 400)
  780.         {
  781.             contadortiempo1 = 0;
  782.             contadortiempo2--;
  783.         }
  784.         if (contadortiempo2 == 0)
  785.         {
  786.             vidas--;
  787.             rx = 42;
  788.             ry = 41;
  789.         }
  790.         Carritonegro(enemigo, 0, rx, ry, vidas);
  791.         Carritonegro(enemigo, 1, rx, ry, vidas);
  792.         Carritonegro(enemigo, 2, rx, ry, vidas);
  793.         Carritonegro(enemigo, 3, rx, ry, vidas);
  794.         Carritonegro(enemigo, 4, rx, ry, vidas);
  795.         Carritonegro(enemigo, 5, rx, ry, vidas);
  796.         Carritonegro(enemigo, 6, rx, ry, vidas);
  797.         Carritonegro(enemigo, 7, rx, ry, vidas);
  798.         Carritonegro(enemigo, 8, rx, ry, vidas);
  799.         Carritonegro(enemigo, 9, rx, ry, vidas);
  800.         /*----------*/
  801.         CarritoAmarillo(enemigo, 10, rx, ry, vidas);
  802.         CarritoAmarillo(enemigo, 11, rx, ry, vidas);
  803.         CarritoAmarillo(enemigo, 12, rx, ry, vidas);
  804.         CarritoAmarillo(enemigo, 13, rx, ry, vidas);
  805.         CarritoAmarillo(enemigo, 14, rx, ry, vidas);
  806.         /*--------------------------------------------------*/
  807.         if (ry == 1)
  808.         {
  809.             switch (rx)
  810.             {
  811.             case 3:cueva[0] = 1;
  812.                 rx = 42;
  813.                 ry = 41; break;
  814.             case 21:cueva[1] = 1;
  815.                 rx = 42;
  816.                 ry = 41; break;
  817.             case 39:cueva[2] = 1;
  818.                 rx = 42;
  819.                 ry = 41; break;
  820.             case 57:cueva[3] = 1;
  821.                 rx = 42;
  822.                 ry = 41; break;
  823.             case 75:cueva[4] = 1;
  824.                 rx = 42;
  825.                 ry = 41; break;
  826.             }
  827.         }
  828.         sumacueva = cueva[0] + cueva[1] + cueva[2] + cueva[3] + cueva[4];
  829.         if (sumacueva == 5 || vidas == 0)
  830.         {
  831.             exitmovement[0] = 0;
  832.         }
  833.         if (rx == bonus_x&&ry == bonus_y)
  834.         {
  835.             vidas++;
  836.             bonus_x = bonus_x - 9;
  837.         }
  838.     }
  839. }
  840. void Movimiento2(int m1[43][81], int *exitmovement)
  841. {
  842.     int vidas;
  843.     posctt * tronco = new posctt[12];
  844.     posctt * enemigo = new posctt[8];
  845.     Random x;
  846.     int tecla;
  847.     int rx = 42;
  848.     int ry = 41;
  849.     /*--------------------------------------------------*/
  850.     tronco[0].x = x.Next(0, 32);
  851.     tronco[0].y = 3;
  852.     tronco[0].delx = 1;
  853.  
  854.     tronco[1].x = x.Next(0, 70);
  855.     tronco[1].y = 7;
  856.     tronco[1].delx = 1;
  857.  
  858.     tronco[2].x = x.Next(0, 70);
  859.     tronco[2].y = 11;
  860.     tronco[2].delx = 1;
  861.  
  862.     tronco[3].x = x.Next(0, 70);
  863.     tronco[3].y = 15;
  864.     tronco[3].delx = 1;
  865.  
  866.     tronco[4].x = x.Next(0, 70);
  867.     tronco[4].y = 19;
  868.     tronco[4].delx = 1;
  869.  
  870.     tronco[11].x = tronco[0].x + 36;
  871.     tronco[11].y = 3;
  872.     tronco[11].delx = 1;
  873.     /*-------------------------*/
  874.     tronco[5].x = x.Next(0, 70);
  875.     tronco[5].y = 5;
  876.     tronco[5].delx = -1;
  877.  
  878.     tronco[6].x = x.Next(0, 70);
  879.     tronco[6].y = 9;
  880.     tronco[6].delx = -1;
  881.  
  882.     tronco[7].x = x.Next(0, 70);
  883.     tronco[7].y = 13;
  884.     tronco[7].delx = -1;
  885.  
  886.     tronco[8].x = x.Next(0, 70);
  887.     tronco[8].y = 17;
  888.     tronco[8].delx = -1;
  889.  
  890.     tronco[9].x = x.Next(0, 32);
  891.     tronco[9].y = 21;
  892.     tronco[9].delx = -1;
  893.  
  894.     tronco[10].x = tronco[9].x + 36;
  895.     tronco[10].y = 21;
  896.     tronco[10].delx = -1;
  897.     /*------------------------------*//*------------------------------*/
  898.     enemigo[0].x = x.Next(0, 79);
  899.     enemigo[0].y = 25;
  900.     enemigo[0].delx = 3;
  901.  
  902.     enemigo[1].x = x.Next(0, 79);
  903.     enemigo[1].y = 29;
  904.     enemigo[1].delx = 2;
  905.  
  906.     enemigo[2].x = x.Next(0, 79);
  907.     enemigo[2].y = 33;
  908.     enemigo[2].delx = 2;
  909.  
  910.     enemigo[3].x = x.Next(0, 79);
  911.     enemigo[3].y = 37;
  912.     enemigo[3].delx = 3;
  913.     /*------------------------------*/
  914.     enemigo[4].x = x.Next(0, 79);
  915.     enemigo[4].y = 27;
  916.     enemigo[4].delx = -3;
  917.  
  918.     enemigo[5].x = x.Next(0, 79);
  919.     enemigo[5].y = 31;
  920.     enemigo[5].delx = -2;
  921.  
  922.     enemigo[6].x = x.Next(0, 79);
  923.     enemigo[6].y = 35;
  924.     enemigo[6].delx = -1;
  925.  
  926.     enemigo[7].x = x.Next(0, 79);
  927.     enemigo[7].y = 39;
  928.     enemigo[7].delx = -2;
  929.     /*--------------------------------------------------*/
  930.     while (exitmovement[1])
  931.     {
  932.         switch (m1[ry][rx])
  933.         {
  934.         case 3:
  935.             Console::BackgroundColor = ConsoleColor::DarkGray;
  936.             Console::ForegroundColor = ConsoleColor::DarkMagenta;
  937.             Console::SetCursorPosition(rx, ry);
  938.             cout << (char)192 << (char)219 << (char)217;
  939.             Console::SetCursorPosition(rx, ry + 1);
  940.             cout << (char)218 << (char)223 << (char)191; break;
  941.         }
  942.         if (kbhit())
  943.         {
  944.             tecla = _getch();
  945.             if (tecla == 224)
  946.             {
  947.                 switch (m1[ry][rx])
  948.                 {
  949.                 case 3:
  950.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  951.                     Console::ForegroundColor = ConsoleColor::Gray;
  952.                     Console::SetCursorPosition(rx, ry);
  953.                     cout << char(177) << char(177) << char(177);
  954.                     Console::SetCursorPosition(rx, ry + 1);
  955.                     cout << char(177) << char(177) << char(177); break;
  956.                 case 4:
  957.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  958.                     Console::SetCursorPosition(rx, ry);
  959.                     cout << "   ";
  960.                     Console::SetCursorPosition(rx, ry + 1);
  961.                     cout << "   ";  break;
  962.                 case 5:
  963.                     Console::BackgroundColor = ConsoleColor::Blue;
  964.                     Console::ForegroundColor = ConsoleColor::Cyan;
  965.                     Console::SetCursorPosition(rx, ry);
  966.                     cout << char(177) << char(177) << char(177);
  967.                     Console::SetCursorPosition(rx, ry + 1);
  968.                     cout << char(177) << char(177) << char(177); break;
  969.                 case 10:
  970.                     Console::SetCursorPosition(rx, ry);
  971.                     Console::BackgroundColor = ConsoleColor::Black;
  972.                     cout << "   ";
  973.                     Console::SetCursorPosition(rx, ry + 1);
  974.                     cout << "   ";
  975.                     if (ry == 31)
  976.                     {
  977.                         Console::ForegroundColor = ConsoleColor::White;
  978.                         Console::SetCursorPosition(rx, ry);
  979.                         cout << "   ";
  980.                         Console::SetCursorPosition(rx, ry + 1);
  981.                         cout << "===";
  982.                     } break;
  983.                 case 8:
  984.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  985.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  986.                     Console::SetCursorPosition(rx, ry);
  987.                     cout << (char)192 << (char)219 << (char)217;
  988.                     Console::SetCursorPosition(rx, ry + 1);
  989.                     cout << (char)218 << (char)223 << (char)191; break;
  990.                 }
  991.                 tecla = _getch();
  992.                 switch (tecla)
  993.                 {
  994.                 case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
  995.                 case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
  996.                 case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
  997.                 case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
  998.                 }
  999.                 switch (m1[ry][rx])
  1000.                 {
  1001.                 case 3:
  1002.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1003.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1004.                     Console::SetCursorPosition(rx, ry);
  1005.                     cout << (char)192 << (char)219 << (char)217;
  1006.                     Console::SetCursorPosition(rx, ry + 1);
  1007.                     cout << (char)218 << (char)223 << (char)191; break;
  1008.                 case 4:
  1009.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  1010.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1011.                     Console::SetCursorPosition(rx, ry);
  1012.                     cout << (char)192 << (char)219 << (char)217;
  1013.                     Console::SetCursorPosition(rx, ry + 1);
  1014.                     cout << (char)218 << (char)223 << (char)191; break;
  1015.                 case 5:
  1016.                     Console::BackgroundColor = ConsoleColor::Blue;
  1017.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1018.                     Console::SetCursorPosition(rx, ry);
  1019.                     cout << (char)192 << (char)219 << (char)217;
  1020.                     Console::SetCursorPosition(rx, ry + 1);
  1021.                     cout << (char)218 << (char)223 << (char)191; break;
  1022.                 case 10:
  1023.                     Console::SetCursorPosition(rx, ry);
  1024.                     Console::BackgroundColor = ConsoleColor::Black;
  1025.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1026.                     cout << (char)192 << (char)219 << (char)217;
  1027.                     Console::SetCursorPosition(rx, ry + 1);
  1028.                     cout << (char)218 << (char)223 << (char)191; break;
  1029.                 }
  1030.             }
  1031.  
  1032.         }
  1033.         /*--------------------------------------------------*/
  1034.         _sleep(10);
  1035.         Troncozd(tronco, 0, rx, ry, m1);
  1036.         Troncozd(tronco, 1, rx, ry, m1);
  1037.         Troncozd(tronco, 2, rx, ry, m1);
  1038.         Troncozd(tronco, 3, rx, ry, m1);
  1039.         Troncozd(tronco, 4, rx, ry, m1);
  1040.         Troncozd(tronco, 11, rx, ry, m1);
  1041.         /*----------*/
  1042.         Troncodz(tronco, 5, rx, ry, m1);
  1043.         Troncodz(tronco, 6, rx, ry, m1);
  1044.         Troncodz(tronco, 7, rx, ry, m1);
  1045.         Troncodz(tronco, 8, rx, ry, m1);
  1046.         Troncodz(tronco, 9, rx, ry, m1);
  1047.         Troncodz(tronco, 10, rx, ry, m1);
  1048.         /*----------*//*----------*/
  1049.         Carritonegro(enemigo, 0, rx, ry, vidas);
  1050.         Carritonegro(enemigo, 1, rx, ry, vidas);
  1051.         Carritonegro(enemigo, 2, rx, ry, vidas);
  1052.         Carritonegro(enemigo, 3, rx, ry, vidas);
  1053.         /*----------*/
  1054.         CarritoAmarillo2(enemigo, 4, rx, ry);
  1055.         CarritoAmarillo2exception(enemigo, 5, rx, ry);
  1056.         CarritoAmarillo2(enemigo, 6, rx, ry);
  1057.         CarritoAmarillo2(enemigo, 7, rx, ry);
  1058.         /*--------------------------------------------------*/
  1059.         if (ry == 41 && rx == 9)
  1060.             exitmovement[1] = 0;
  1061.     }
  1062. }
  1063. void Movimiento3(int m1[43][81], int *exitmovement)
  1064. {
  1065.     Random x;
  1066.     posctt * tronco = new posctt[20];
  1067.     int tecla;
  1068.     int rx = 42;
  1069.     int ry = 41;
  1070.     /*--------------------------------------------------*/
  1071.     tronco[0].x = x.Next(0, 70);
  1072.     tronco[0].y = 3;
  1073.     tronco[0].delx = 1;
  1074.  
  1075.     tronco[1].x = x.Next(0, 70);
  1076.     tronco[1].y = 7;
  1077.     tronco[1].delx = 1;
  1078.  
  1079.     tronco[2].x = x.Next(0, 70);
  1080.     tronco[2].y = 11;
  1081.     tronco[2].delx = 1;
  1082.  
  1083.     tronco[3].x = x.Next(0, 32);
  1084.     tronco[3].y = 17;
  1085.     tronco[3].delx = 1;
  1086.  
  1087.     tronco[4].x = x.Next(0, 32);
  1088.     tronco[4].y = 21;
  1089.     tronco[4].delx = 1;
  1090.  
  1091.     tronco[5].x = x.Next(0, 70);
  1092.     tronco[5].y = 27;
  1093.     tronco[5].delx = 1;
  1094.  
  1095.     tronco[6].x = x.Next(0, 70);
  1096.     tronco[6].y = 33;
  1097.     tronco[6].delx = 1;
  1098.  
  1099.     tronco[7].x = x.Next(0, 70);
  1100.     tronco[7].y = 37;
  1101.     tronco[7].delx = 1;
  1102.     /*-------------------------*/
  1103.     tronco[8].x = x.Next(0, 32);
  1104.     tronco[8].y = 5;
  1105.     tronco[8].delx = -1;
  1106.  
  1107.     tronco[9].x = x.Next(0, 32);
  1108.     tronco[9].y = 9;
  1109.     tronco[9].delx = -1;
  1110.  
  1111.     tronco[10].x = x.Next(0, 70);
  1112.     tronco[10].y = 15;
  1113.     tronco[10].delx = -1;
  1114.  
  1115.     tronco[11].x = x.Next(0, 70);
  1116.     tronco[11].y = 19;
  1117.     tronco[11].delx = -1;
  1118.  
  1119.     tronco[12].x = x.Next(0, 70);
  1120.     tronco[12].y = 25;
  1121.     tronco[12].delx = -1;
  1122.  
  1123.     tronco[13].x = x.Next(0, 70);
  1124.     tronco[13].y = 29;
  1125.     tronco[13].delx = -1;
  1126.  
  1127.     tronco[14].x = x.Next(0, 70);
  1128.     tronco[14].y = 35;
  1129.     tronco[14].delx = -1;
  1130.  
  1131.     tronco[15].x = x.Next(0, 70);
  1132.     tronco[15].y = 39;
  1133.     tronco[15].delx = -1;
  1134.     /*--------------------------------------------------*/
  1135.     while (exitmovement[2])
  1136.     {
  1137.         switch (m1[ry][rx])
  1138.         {
  1139.         case 3:
  1140.             Console::BackgroundColor = ConsoleColor::DarkGray;
  1141.             Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1142.             Console::SetCursorPosition(rx, ry);
  1143.             cout << (char)192 << (char)219 << (char)217;
  1144.             Console::SetCursorPosition(rx, ry + 1);
  1145.             cout << (char)218 << (char)223 << (char)191; break;
  1146.         }
  1147.         if (kbhit())
  1148.         {
  1149.             tecla = _getch();
  1150.             if (tecla == 224)
  1151.             {
  1152.                 switch (m1[ry][rx])
  1153.                 {
  1154.                 case 3:
  1155.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1156.                     Console::ForegroundColor = ConsoleColor::Gray;
  1157.                     Console::SetCursorPosition(rx, ry);
  1158.                     cout << char(177) << char(177) << char(177);
  1159.                     Console::SetCursorPosition(rx, ry + 1);
  1160.                     cout << char(177) << char(177) << char(177); break;
  1161.                 case 4:
  1162.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  1163.                     Console::SetCursorPosition(rx, ry);
  1164.                     cout << "   ";
  1165.                     Console::SetCursorPosition(rx, ry + 1);
  1166.                     cout << "   ";  break;
  1167.                 case 5:
  1168.                     Console::BackgroundColor = ConsoleColor::Blue;
  1169.                     Console::ForegroundColor = ConsoleColor::Cyan;
  1170.                     Console::SetCursorPosition(rx, ry);
  1171.                     cout << char(177) << char(177) << char(177);
  1172.                     Console::SetCursorPosition(rx, ry + 1);
  1173.                     cout << char(177) << char(177) << char(177); break;
  1174.                 case 8:
  1175.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1176.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1177.                     Console::SetCursorPosition(rx, ry);
  1178.                     cout << (char)192 << (char)219 << (char)217;
  1179.                     Console::SetCursorPosition(rx, ry + 1);
  1180.                     cout << (char)218 << (char)223 << (char)191; break;
  1181.                 }
  1182.                 tecla = _getch();
  1183.                 switch (tecla)
  1184.                 {
  1185.                 case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
  1186.                 case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
  1187.                 case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
  1188.                 case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
  1189.                 }
  1190.                 if (m1[ry][rx] == 5)
  1191.                 {
  1192.                     rx = 42;
  1193.                     ry = 41;
  1194.                 }
  1195.                 switch (m1[ry][rx])
  1196.                 {
  1197.                 case 3:
  1198.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1199.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1200.                     Console::SetCursorPosition(rx, ry);
  1201.                     cout << (char)192 << (char)219 << (char)217;
  1202.                     Console::SetCursorPosition(rx, ry + 1);
  1203.                     cout << (char)218 << (char)223 << (char)191; break;
  1204.                 case 4:
  1205.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  1206.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1207.                     Console::SetCursorPosition(rx, ry);
  1208.                     cout << (char)192 << (char)219 << (char)217;
  1209.                     Console::SetCursorPosition(rx, ry + 1);
  1210.                     cout << (char)218 << (char)223 << (char)191; break;
  1211.                 case 5:
  1212.                     Console::BackgroundColor = ConsoleColor::Blue;
  1213.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1214.                     Console::SetCursorPosition(rx, ry);
  1215.                     cout << (char)192 << (char)219 << (char)217;
  1216.                     Console::SetCursorPosition(rx, ry + 1);
  1217.                     cout << (char)218 << (char)223 << (char)191; break;
  1218.                 }
  1219.             }
  1220.         }
  1221.         /*--------------------------------------------------*/
  1222.         _sleep(50);
  1223.         Troncozd(tronco, 0, rx, ry, m1);
  1224.         Troncozd(tronco, 1, rx, ry, m1);
  1225.         Troncozd(tronco, 2, rx, ry, m1);
  1226.         Troncozd(tronco, 3, rx, ry, m1);
  1227.         Troncozd(tronco, 4, rx, ry, m1);
  1228.         Troncozd(tronco, 5, rx, ry, m1);
  1229.         Troncozd(tronco, 6, rx, ry, m1);
  1230.         Troncozd(tronco, 7, rx, ry, m1);
  1231.         /*-------------------------*/
  1232.         Troncodz(tronco, 8, rx, ry, m1);
  1233.         Troncodz(tronco, 9, rx, ry, m1);
  1234.         Troncodz(tronco, 10, rx, ry, m1);
  1235.         Troncodz(tronco, 11, rx, ry, m1);
  1236.         Troncodz(tronco, 12, rx, ry, m1);
  1237.         Troncodz(tronco, 13, rx, ry, m1);
  1238.         Troncodz(tronco, 14, rx, ry, m1);
  1239.         Troncodz(tronco, 15, rx, ry, m1);
  1240.         /*--------------------------------------------------*/
  1241.         if (ry == 41 && rx == 9)
  1242.             exitmovement[2] = 0;
  1243.     }
  1244.  
  1245. }
  1246. void Movimiento4(int m1[43][81], int *exitmovement)
  1247. {
  1248.     Random x;
  1249.     posctt * tronco = new posctt[18];
  1250.     int tecla;
  1251.     int rx = 42;
  1252.     int ry = 41;
  1253.     /*--------------------------------------------------*/
  1254.     tronco[0].x = x.Next(0, 32);
  1255.     tronco[0].y = 3;
  1256.     tronco[0].delx = 1;
  1257.  
  1258.     tronco[1].x = x.Next(0, 32);
  1259.     tronco[1].y = 9;
  1260.     tronco[1].delx = 1;
  1261.  
  1262.     tronco[2].x = x.Next(0, 70);
  1263.     tronco[2].y = 15;
  1264.     tronco[2].delx = 1;
  1265.  
  1266.     tronco[3].x = x.Next(0, 70);
  1267.     tronco[3].y = 21;
  1268.     tronco[3].delx = 1;
  1269.  
  1270.     tronco[4].x = x.Next(0, 70);
  1271.     tronco[4].y = 27;
  1272.     tronco[4].delx = 1;
  1273.  
  1274.     tronco[5].x = x.Next(0, 70);
  1275.     tronco[5].y = 33;
  1276.     tronco[5].delx = 1;
  1277.  
  1278.     tronco[6].x = x.Next(0, 70);
  1279.     tronco[6].y = 37;
  1280.     tronco[6].delx = 1;
  1281.     /*-------------------------*/
  1282.     tronco[7].x = x.Next(0, 32);
  1283.     tronco[7].y = 5;
  1284.     tronco[7].delx = -1;
  1285.  
  1286.     tronco[8].x = x.Next(0, 70);
  1287.     tronco[8].y = 11;
  1288.     tronco[8].delx = -1;
  1289.  
  1290.     tronco[9].x = x.Next(0, 70);
  1291.     tronco[9].y = 17;
  1292.     tronco[9].delx = -1;
  1293.  
  1294.     tronco[10].x = x.Next(0, 70);
  1295.     tronco[10].y = 23;
  1296.     tronco[10].delx = -1;
  1297.  
  1298.     tronco[11].x = x.Next(0, 70);
  1299.     tronco[11].y = 29;
  1300.     tronco[11].delx = -1;
  1301.  
  1302.     tronco[12].x = x.Next(0, 70);
  1303.     tronco[12].y = 35;
  1304.     tronco[12].delx = -1;
  1305.  
  1306.     tronco[13].x = x.Next(0, 32);
  1307.     tronco[13].y = 39;
  1308.     tronco[13].delx = -1;
  1309.     /*--------------------------------------------------*/
  1310.     while (exitmovement[3])
  1311.     {
  1312.         switch (m1[ry][rx])
  1313.         {
  1314.         case 3:
  1315.             Console::SetCursorPosition(rx, ry);
  1316.             Console::BackgroundColor = ConsoleColor::DarkGray;
  1317.             Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1318.             cout << (char)192 << (char)219 << (char)217;
  1319.             Console::SetCursorPosition(rx, ry + 1);
  1320.             cout << (char)218 << (char)223 << (char)191; break;
  1321.         }
  1322.         if (kbhit())
  1323.         {
  1324.             tecla = _getch();
  1325.             if (tecla == 224)
  1326.             {
  1327.                 switch (m1[ry][rx])
  1328.                 {
  1329.                 case 3:
  1330.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1331.                     Console::ForegroundColor = ConsoleColor::Gray;
  1332.                     Console::SetCursorPosition(rx, ry);
  1333.                     cout << char(177) << char(177) << char(177);
  1334.                     Console::SetCursorPosition(rx, ry + 1);
  1335.                     cout << char(177) << char(177) << char(177); break;
  1336.                 case 5:
  1337.                     Console::BackgroundColor = ConsoleColor::Blue;
  1338.                     Console::ForegroundColor = ConsoleColor::Cyan;
  1339.                     Console::SetCursorPosition(rx, ry);
  1340.                     cout << char(177) << char(177) << char(177);
  1341.                     Console::SetCursorPosition(rx, ry + 1);
  1342.                     cout << char(177) << char(177) << char(177); break;
  1343.                 case 8:
  1344.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1345.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1346.                     Console::SetCursorPosition(rx, ry);
  1347.                     cout << (char)192 << (char)219 << (char)217;
  1348.                     Console::SetCursorPosition(rx, ry + 1);
  1349.                     cout << (char)218 << (char)223 << (char)191; break;
  1350.                 }
  1351.                 tecla = _getch();
  1352.                 switch (tecla)
  1353.                 {
  1354.                 case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
  1355.                 case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
  1356.                 case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
  1357.                 case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
  1358.                 }
  1359.                 switch (m1[ry][rx])
  1360.                 {
  1361.                 case 3:
  1362.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1363.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1364.                     Console::SetCursorPosition(rx, ry);
  1365.                     cout << (char)192 << (char)219 << (char)217;
  1366.                     Console::SetCursorPosition(rx, ry + 1);
  1367.                     cout << (char)218 << (char)223 << (char)191; break;
  1368.                 case 5:
  1369.                     Console::BackgroundColor = ConsoleColor::Blue;
  1370.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1371.                     Console::SetCursorPosition(rx, ry);
  1372.                     cout << (char)192 << (char)219 << (char)217;
  1373.                     Console::SetCursorPosition(rx, ry + 1);
  1374.                     cout << (char)218 << (char)223 << (char)191; break;
  1375.                 }
  1376.             }
  1377.         }
  1378.         _sleep(50);
  1379.         Troncozd(tronco, 0, rx, ry, m1);
  1380.         Troncozd(tronco, 1, rx, ry, m1);
  1381.         Troncozd(tronco, 2, rx, ry, m1);
  1382.         Troncozd(tronco, 3, rx, ry, m1);
  1383.         Troncozd(tronco, 4, rx, ry, m1);
  1384.         Troncozd(tronco, 5, rx, ry, m1);
  1385.         Troncozd(tronco, 6, rx, ry, m1);
  1386.         /*-------------------------*/
  1387.         Troncodz(tronco, 7, rx, ry, m1);
  1388.         Troncodz(tronco, 8, rx, ry, m1);
  1389.         Troncodz(tronco, 9, rx, ry, m1);
  1390.         Troncodz(tronco, 10, rx, ry, m1);
  1391.         Troncodz(tronco, 11, rx, ry, m1);
  1392.         Troncodz(tronco, 12, rx, ry, m1);
  1393.         Troncodz(tronco, 13, rx, ry, m1);
  1394.         /*--------------------------------------------------*/
  1395.         if (ry == 41 && rx == 9)
  1396.             exitmovement[3] = 0;
  1397.     }
  1398. }
  1399. void Movimiento5(int m1[43][81], int *exitmovement)
  1400. {
  1401.     Random x;
  1402.     posctt * tronco = new posctt[18];
  1403.     int tecla;
  1404.     int rx = 42;
  1405.     int ry = 41;
  1406.     /*--------------------------------------------------*/
  1407.     tronco[0].x = x.Next(0, 70);
  1408.     tronco[0].y = 3;
  1409.     tronco[0].delx = 1;
  1410.  
  1411.     tronco[1].x = x.Next(0, 70);
  1412.     tronco[1].y = 7;
  1413.     tronco[1].delx = 1;
  1414.  
  1415.     tronco[2].x = x.Next(0, 70);
  1416.     tronco[2].y = 13;
  1417.     tronco[2].delx = 1;
  1418.  
  1419.     tronco[3].x = x.Next(0, 32);
  1420.     tronco[3].y = 17;
  1421.     tronco[3].delx = 1;
  1422.  
  1423.     tronco[4].x = x.Next(0, 70);
  1424.     tronco[4].y = 23;
  1425.     tronco[4].delx = 1;
  1426.  
  1427.     tronco[5].x = x.Next(0, 32);
  1428.     tronco[5].y = 27;
  1429.     tronco[5].delx = 1;
  1430.  
  1431.     tronco[6].x = x.Next(0, 70);
  1432.     tronco[6].y = 33;
  1433.     tronco[6].delx = 1;
  1434.  
  1435.     tronco[7].x = x.Next(0, 70);
  1436.     tronco[7].y = 37;
  1437.     tronco[7].delx = 1;
  1438.     /*-------------------------*/
  1439.     tronco[8].x = x.Next(0, 70);
  1440.     tronco[8].y = 5;
  1441.     tronco[8].delx = -1;
  1442.  
  1443.     tronco[9].x = x.Next(0, 32);
  1444.     tronco[9].y = 9;
  1445.     tronco[9].delx = -1;
  1446.  
  1447.     tronco[10].x = x.Next(0, 70);
  1448.     tronco[10].y = 15;
  1449.     tronco[10].delx = -1;
  1450.  
  1451.     tronco[11].x = x.Next(0, 32);
  1452.     tronco[11].y = 21;
  1453.     tronco[11].delx = -1;
  1454.  
  1455.     tronco[12].x = x.Next(0, 70);
  1456.     tronco[12].y = 25;
  1457.     tronco[12].delx = -1;
  1458.  
  1459.     tronco[13].x = x.Next(0, 70);
  1460.     tronco[13].y = 29;
  1461.     tronco[13].delx = -1;
  1462.  
  1463.     tronco[14].x = x.Next(0, 70);
  1464.     tronco[14].y = 35;
  1465.     tronco[14].delx = -1;
  1466.  
  1467.     tronco[15].x = x.Next(0, 70);
  1468.     tronco[15].y = 39;
  1469.     tronco[15].delx = -1;
  1470.     /*--------------------------------------------------*/
  1471.     while (exitmovement[4])
  1472.     {
  1473.         switch (m1[ry][rx])
  1474.         {
  1475.         case 3:
  1476.             Console::SetCursorPosition(rx, ry);
  1477.             Console::BackgroundColor = ConsoleColor::DarkGray;
  1478.             Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1479.             cout << (char)192 << (char)219 << (char)217;
  1480.             Console::SetCursorPosition(rx, ry + 1);
  1481.             cout << (char)218 << (char)223 << (char)191; break;
  1482.         }
  1483.         if (kbhit())
  1484.         {
  1485.             tecla = _getch();
  1486.             if (tecla == 224)
  1487.             {
  1488.                 switch (m1[ry][rx])
  1489.                 {
  1490.                 case 13:
  1491.                     Console::BackgroundColor = ConsoleColor::Red;
  1492.                     if ((ry == 14 || ry == 16 || ry == 18) && (rx == 10 || rx == 39 || rx == 66))
  1493.                     {
  1494.                         Console::ForegroundColor = ConsoleColor::Black;
  1495.                         cout << char(186);
  1496.                     }
  1497.                     else
  1498.                     {
  1499.                         Console::ForegroundColor = ConsoleColor::Yellow;
  1500.                         cout << char(176);
  1501.                     }
  1502.                     ; break;
  1503.                 case 9:
  1504.                     Console::BackgroundColor = ConsoleColor::Red;
  1505.                     Console::ForegroundColor = ConsoleColor::Yellow;
  1506.                     Console::SetCursorPosition(rx, ry);
  1507.                     cout << (char)176 << (char)176 << (char)176;
  1508.                     Console::SetCursorPosition(rx, ry + 1);
  1509.                     cout << (char)176 << (char)176 << (char)176; break;
  1510.                 case 3:
  1511.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1512.                     Console::ForegroundColor = ConsoleColor::Gray;
  1513.                     Console::SetCursorPosition(rx, ry);
  1514.                     cout << char(177) << char(177) << char(177);
  1515.                     Console::SetCursorPosition(rx, ry + 1);
  1516.                     cout << char(177) << char(177) << char(177); break;
  1517.                 case 7:
  1518.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1519.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1520.                     Console::SetCursorPosition(rx, ry);
  1521.                     cout << (char)192 << (char)219 << (char)217;
  1522.                     Console::SetCursorPosition(rx, ry + 1);
  1523.                     cout << (char)218 << (char)223 << (char)191; break;
  1524.                 }
  1525.                 tecla = _getch();
  1526.                 switch (tecla)
  1527.                 {
  1528.                 case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
  1529.                 case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
  1530.                 case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
  1531.                 case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
  1532.                 }
  1533.                 switch (m1[ry][rx])
  1534.                 {
  1535.                 case 13:
  1536.                     Console::BackgroundColor = ConsoleColor::Red;
  1537.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1538.                     Console::SetCursorPosition(rx, ry);
  1539.                     cout << (char)192 << (char)219 << (char)217;
  1540.                     Console::SetCursorPosition(rx, ry + 1);
  1541.                     cout << (char)218 << (char)223 << (char)191;
  1542.                     if ((ry == 13 || ry == 15 || ry == 17) && (rx == 12 || rx == 39 || rx == 66))
  1543.                     {
  1544.                         Console::BackgroundColor = ConsoleColor::Red;
  1545.                         Console::ForegroundColor = ConsoleColor::Yellow;
  1546.                         Console::SetCursorPosition(rx, ry);
  1547.                         cout << char(176);
  1548.                         Console::ForegroundColor = ConsoleColor::Black;
  1549.                         Console::SetCursorPosition(rx + 1, ry);
  1550.                         cout << char(186);
  1551.                         Console::ForegroundColor = ConsoleColor::Yellow;
  1552.                         Console::SetCursorPosition(rx + 2, ry);
  1553.                         cout << char(176);
  1554.  
  1555.                         Console::SetCursorPosition(rx, ry + 1);
  1556.                         cout << char(176);
  1557.                         Console::ForegroundColor = ConsoleColor::Black;
  1558.                         Console::SetCursorPosition(rx + 1, ry + 1);
  1559.                         cout << char(186);
  1560.                         Console::ForegroundColor = ConsoleColor::Yellow;
  1561.                         Console::SetCursorPosition(rx + 2, ry + 1);
  1562.                         cout << char(176);
  1563.                     } break;
  1564.                 case 9:
  1565.                     Console::BackgroundColor = ConsoleColor::Red;
  1566.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1567.                     Console::SetCursorPosition(rx, ry);
  1568.                     cout << (char)192 << (char)219 << (char)217;
  1569.                     Console::SetCursorPosition(rx, ry + 1);
  1570.                     cout << (char)218 << (char)223 << (char)191; break;
  1571.                 case 3:
  1572.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1573.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1574.                     Console::SetCursorPosition(rx, ry);
  1575.                     cout << (char)192 << (char)219 << (char)217;
  1576.                     Console::SetCursorPosition(rx, ry + 1);
  1577.                     cout << (char)218 << (char)223 << (char)191; break;
  1578.                 }
  1579.             }
  1580.         }
  1581.         /*--------------------------------------------------*/
  1582.         _sleep(50);
  1583.         Troncolavazd(tronco, 0, rx, ry);
  1584.         Troncolavazd(tronco, 1, rx, ry);
  1585.         Troncolavazd(tronco, 2, rx, ry);
  1586.         Troncolavazd(tronco, 3, rx, ry);
  1587.         Troncolavazd(tronco, 4, rx, ry);
  1588.         Troncolavazd(tronco, 5, rx, ry);
  1589.         Troncolavazd(tronco, 6, rx, ry);
  1590.         Troncolavazd(tronco, 7, rx, ry);
  1591.         /*-------------------------*/
  1592.         Troncolavadz(tronco, 8, rx, ry);
  1593.         Troncolavadz(tronco, 9, rx, ry);
  1594.         Troncolavadz(tronco, 10, rx, ry);
  1595.         Troncolavadz(tronco, 11, rx, ry);
  1596.         Troncolavadz(tronco, 12, rx, ry);
  1597.         Troncolavadz(tronco, 13, rx, ry);
  1598.         Troncolavadz(tronco, 14, rx, ry);
  1599.         Troncolavadz(tronco, 15, rx, ry);
  1600.         /*--------------------------------------------------*/
  1601.         if (ry == 41 && rx == 9)
  1602.             exitmovement[4] = 0;
  1603.     }
  1604. }
  1605. void Movimiento6(int m1[43][81], int *exitmovement)
  1606. {
  1607.  
  1608.     Random x;
  1609.     posctt * tronco = new posctt[6];
  1610.     posctt * rebo_obs = new posctt[20];
  1611.     int tecla;
  1612.     int rx = 0;
  1613.     int ry = 41;
  1614.     /*--------------------------------------------------*/
  1615.     rebo_obs[0].x = 18;
  1616.     rebo_obs[0].y = x.Next(13, 16);
  1617.     rebo_obs[0].minry = 13;
  1618.     rebo_obs[0].maxry = 15;
  1619.     rebo_obs[0].dely = 1;
  1620.  
  1621.     rebo_obs[1].x = 30;
  1622.     rebo_obs[1].y = x.Next(13, 16);
  1623.     rebo_obs[1].minry = 13;
  1624.     rebo_obs[1].maxry = 15;
  1625.     rebo_obs[1].dely = 1;
  1626.  
  1627.     rebo_obs[2].x = 42;
  1628.     rebo_obs[2].y = x.Next(13, 16);
  1629.     rebo_obs[2].minry = 13;
  1630.     rebo_obs[2].maxry = 15;
  1631.     rebo_obs[2].dely = 1;
  1632.  
  1633.     rebo_obs[3].x = 54;
  1634.     rebo_obs[3].y = x.Next(13, 16);
  1635.     rebo_obs[3].minry = 13;
  1636.     rebo_obs[3].maxry = 15;
  1637.     rebo_obs[3].dely = 1;
  1638.     /*-------------------------*/
  1639.     rebo_obs[4].x = 18;
  1640.     rebo_obs[4].y = x.Next(19, 22);
  1641.     rebo_obs[4].minry = 19;
  1642.     rebo_obs[4].maxry = 21;
  1643.     rebo_obs[4].dely = 1;
  1644.  
  1645.     rebo_obs[5].x = 30;
  1646.     rebo_obs[5].y = x.Next(19, 22);
  1647.     rebo_obs[5].minry = 19;
  1648.     rebo_obs[5].maxry = 21;
  1649.     rebo_obs[5].dely = 1;
  1650.  
  1651.     rebo_obs[6].x = 42;
  1652.     rebo_obs[6].y = x.Next(19, 22);
  1653.     rebo_obs[6].minry = 19;
  1654.     rebo_obs[6].maxry = 21;
  1655.     rebo_obs[6].dely = 1;
  1656.  
  1657.     rebo_obs[7].x = 54;
  1658.     rebo_obs[7].y = x.Next(19, 22);
  1659.     rebo_obs[7].minry = 19;
  1660.     rebo_obs[7].maxry = 21;
  1661.     rebo_obs[7].dely = 1;
  1662.     /*-------------------------*/
  1663.     rebo_obs[8].x = 24;
  1664.     rebo_obs[8].y = x.Next(25, 28);
  1665.     rebo_obs[8].minry = 25;
  1666.     rebo_obs[8].maxry = 27;
  1667.     rebo_obs[8].dely = 1;
  1668.  
  1669.     rebo_obs[9].x = 36;
  1670.     rebo_obs[9].y = x.Next(25, 28);
  1671.     rebo_obs[9].minry = 25;
  1672.     rebo_obs[9].maxry = 27;
  1673.     rebo_obs[9].dely = 1;
  1674.  
  1675.     rebo_obs[10].x = 48;
  1676.     rebo_obs[10].y = x.Next(25, 28);
  1677.     rebo_obs[10].minry = 25;
  1678.     rebo_obs[10].maxry = 27;
  1679.     rebo_obs[10].dely = 1;
  1680.  
  1681.     rebo_obs[11].x = 60;
  1682.     rebo_obs[11].y = x.Next(25, 28);
  1683.     rebo_obs[11].minry = 25;
  1684.     rebo_obs[11].maxry = 27;
  1685.     rebo_obs[11].dely = 1;
  1686.     /*-------------------------*/
  1687.     rebo_obs[12].x = 18;
  1688.     rebo_obs[12].y = x.Next(31, 34);
  1689.     rebo_obs[12].minry = 31;
  1690.     rebo_obs[12].maxry = 33;
  1691.     rebo_obs[12].dely = 1;
  1692.  
  1693.     rebo_obs[13].x = 30;
  1694.     rebo_obs[13].y = x.Next(31, 34);
  1695.     rebo_obs[13].minry = 31;
  1696.     rebo_obs[13].maxry = 33;
  1697.     rebo_obs[13].dely = 1;
  1698.  
  1699.     rebo_obs[14].x = 42;
  1700.     rebo_obs[14].y = x.Next(31, 34);
  1701.     rebo_obs[14].minry = 31;
  1702.     rebo_obs[14].maxry = 33;
  1703.     rebo_obs[14].dely = 1;
  1704.  
  1705.     rebo_obs[15].x = 54;
  1706.     rebo_obs[15].y = x.Next(31, 34);
  1707.     rebo_obs[15].minry = 31;
  1708.     rebo_obs[15].maxry = 33;
  1709.     rebo_obs[15].dely = 1;
  1710.     /*-------------------------*/
  1711.     rebo_obs[16].x = 24;
  1712.     rebo_obs[16].y = 37;
  1713.     rebo_obs[16].minry = 37;
  1714.     rebo_obs[16].maxry = 39;
  1715.     rebo_obs[16].dely = 1;
  1716.  
  1717.     rebo_obs[17].x = 36;
  1718.     rebo_obs[17].y = 37;
  1719.     rebo_obs[17].minry = 37;
  1720.     rebo_obs[17].maxry = 39;
  1721.     rebo_obs[17].dely = 1;
  1722.  
  1723.     rebo_obs[18].x = 48;
  1724.     rebo_obs[18].y = 37;
  1725.     rebo_obs[18].minry = 37;
  1726.     rebo_obs[18].maxry = 39;
  1727.     rebo_obs[18].dely = 1;
  1728.  
  1729.     rebo_obs[19].x = 60;
  1730.     rebo_obs[19].y = 37;
  1731.     rebo_obs[19].minry = 37;
  1732.     rebo_obs[19].maxry = 39;
  1733.     rebo_obs[19].dely = 1;
  1734.     /*-------------------------*//*-------------------------*/
  1735.     tronco[0].x = x.Next(0, 32);
  1736.     tronco[0].y = 3;
  1737.     tronco[0].delx = 1;
  1738.  
  1739.     tronco[1].x = x.Next(0, 70);
  1740.     tronco[1].y = 7;
  1741.     tronco[1].delx = 1;
  1742.  
  1743.     tronco[5].x = tronco[0].x + 36;
  1744.     tronco[5].y = 3;
  1745.     tronco[5].delx = 1;
  1746.     /*-------------------------*/
  1747.     tronco[2].x = x.Next(0, 32);
  1748.     tronco[2].y = 5;
  1749.     tronco[2].delx = -1;
  1750.  
  1751.     tronco[3].x = x.Next(0, 70);
  1752.     tronco[3].y = 9;
  1753.     tronco[3].delx = -1;
  1754.  
  1755.     tronco[4].x = tronco[2].x + 36;
  1756.     tronco[4].y = 5;
  1757.     tronco[4].delx = -1;
  1758.     /*--------------------------------------------------*/
  1759.     while (exitmovement[5])
  1760.     {
  1761.         switch (m1[ry][rx])
  1762.         {
  1763.         case 3:
  1764.             Console::BackgroundColor = ConsoleColor::DarkGray;
  1765.             Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1766.             Console::SetCursorPosition(rx, ry);
  1767.             cout << (char)192 << (char)219 << (char)217;
  1768.             Console::SetCursorPosition(rx, ry + 1);
  1769.             cout << (char)218 << (char)223 << (char)191; break;
  1770.         }
  1771.         if (kbhit())
  1772.         {
  1773.             tecla = _getch();
  1774.             if (tecla == 224)
  1775.             {
  1776.                 switch (m1[ry][rx])
  1777.                 {
  1778.                 case 11:
  1779.                     Console::SetCursorPosition(rx, ry);
  1780.                     Console::BackgroundColor = ConsoleColor::Black;
  1781.                     cout << "   ";
  1782.                     Console::SetCursorPosition(rx, ry + 1);
  1783.                     cout << "   "; break;
  1784.                 case 9:
  1785.                     Console::BackgroundColor = ConsoleColor::Red;
  1786.                     Console::ForegroundColor = ConsoleColor::Yellow;
  1787.                     Console::SetCursorPosition(rx, ry);
  1788.                     cout << (char)176 << (char)176 << (char)176;
  1789.                     Console::SetCursorPosition(rx, ry + 1);
  1790.                     cout << (char)176 << (char)176 << (char)176; break;
  1791.                 case 3:
  1792.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1793.                     Console::ForegroundColor = ConsoleColor::Gray;
  1794.                     Console::SetCursorPosition(rx, ry);
  1795.                     cout << char(177) << char(177) << char(177);
  1796.                     Console::SetCursorPosition(rx, ry + 1);
  1797.                     cout << char(177) << char(177) << char(177); break;
  1798.                 case 7:
  1799.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1800.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1801.                     Console::SetCursorPosition(rx, ry);
  1802.                     cout << (char)192 << (char)219 << (char)217;
  1803.                     Console::SetCursorPosition(rx, ry + 1);
  1804.                     cout << (char)218 << (char)223 << (char)191; break;
  1805.                 }
  1806.                 tecla = _getch();
  1807.                 switch (tecla)
  1808.                 {
  1809.                 case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
  1810.                 case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
  1811.                 case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
  1812.                 case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
  1813.                 }
  1814.                 switch (m1[ry][rx])
  1815.                 {
  1816.                 case 11:
  1817.                     Console::BackgroundColor = ConsoleColor::Black;
  1818.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1819.                     Console::SetCursorPosition(rx, ry);
  1820.                     cout << (char)192 << (char)219 << (char)217;
  1821.                     Console::SetCursorPosition(rx, ry + 1);
  1822.                     cout << (char)218 << (char)223 << (char)191; break;
  1823.                 case 9:
  1824.                     Console::BackgroundColor = ConsoleColor::Red;
  1825.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1826.                     Console::SetCursorPosition(rx, ry);
  1827.                     cout << (char)192 << (char)219 << (char)217;
  1828.                     Console::SetCursorPosition(rx, ry + 1);
  1829.                     cout << (char)218 << (char)223 << (char)191; break;
  1830.                 case 3:
  1831.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1832.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1833.                     Console::SetCursorPosition(rx, ry);
  1834.                     cout << (char)192 << (char)219 << (char)217;
  1835.                     Console::SetCursorPosition(rx, ry + 1);
  1836.                     cout << (char)218 << (char)223 << (char)191; break;
  1837.                 }
  1838.             }
  1839.         }
  1840.         /*--------------------------------------------------*/
  1841.         _sleep(100);
  1842.         objeto_rebotador(rebo_obs, 0, rx, ry);
  1843.         objeto_rebotador(rebo_obs, 1, rx, ry);
  1844.         objeto_rebotador(rebo_obs, 2, rx, ry);
  1845.         objeto_rebotador(rebo_obs, 3, rx, ry);
  1846.         /*-------------------------*/
  1847.         objeto_rebotador(rebo_obs, 4, rx, ry);
  1848.         objeto_rebotador(rebo_obs, 5, rx, ry);
  1849.         objeto_rebotador(rebo_obs, 6, rx, ry);
  1850.         objeto_rebotador(rebo_obs, 7, rx, ry);
  1851.         /*-------------------------*/
  1852.         objeto_rebotador(rebo_obs, 8, rx, ry);
  1853.         objeto_rebotador(rebo_obs, 9, rx, ry);
  1854.         objeto_rebotador(rebo_obs, 10, rx, ry);
  1855.         objeto_rebotador(rebo_obs, 11, rx, ry);
  1856.         /*-------------------------*/
  1857.         objeto_rebotador(rebo_obs, 12, rx, ry);
  1858.         objeto_rebotador(rebo_obs, 13, rx, ry);
  1859.         objeto_rebotador(rebo_obs, 14, rx, ry);
  1860.         objeto_rebotador(rebo_obs, 15, rx, ry);
  1861.         /*-------------------------*/
  1862.         objeto_rebotador(rebo_obs, 16, rx, ry);
  1863.         objeto_rebotador(rebo_obs, 17, rx, ry);
  1864.         objeto_rebotador(rebo_obs, 18, rx, ry);
  1865.         objeto_rebotador(rebo_obs, 19, rx, ry);
  1866.         /*-------------------------*//*-------------------------*/
  1867.         Troncolavazd(tronco, 0, rx, ry);
  1868.         Troncolavazd(tronco, 1, rx, ry);
  1869.         Troncolavazd(tronco, 5, rx, ry);
  1870.         /*-------------------------*/
  1871.         Troncolavadz(tronco, 2, rx, ry);
  1872.         Troncolavadz(tronco, 3, rx, ry);
  1873.         Troncolavadz(tronco, 4, rx, ry);
  1874.         /*--------------------------------------------------*/
  1875.         if (ry == 41 && rx == 6)
  1876.             exitmovement[5] = 0;
  1877.     }
  1878. }
  1879. void Movimiento7(int m1[43][81], int *exitmovement)
  1880. {
  1881.     posctt * enemigo = new posctt[15];
  1882.     Random x;
  1883.     int tecla;
  1884.     int rx = 42;
  1885.     int ry = 41;
  1886.     /*--------------------------------------------------*/
  1887.     /*--------------------------------------------------*/
  1888.     while (exitmovement[0])
  1889.     {
  1890.         switch (m1[ry][rx])
  1891.         {
  1892.         case 3:
  1893.             Console::SetCursorPosition(rx, ry);
  1894.             Console::BackgroundColor = ConsoleColor::DarkGray;
  1895.             Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1896.             cout << (char)192 << (char)219 << (char)217;
  1897.             Console::SetCursorPosition(rx, ry + 1);
  1898.             cout << (char)218 << (char)223 << (char)191; break;
  1899.         }
  1900.         if (kbhit())
  1901.         {
  1902.             tecla = _getch();
  1903.             if (tecla == 224)
  1904.             {
  1905.                 switch (m1[ry][rx])
  1906.                 {
  1907.                 case 14:
  1908.                     Console::SetCursorPosition(rx, ry);
  1909.                     Console::BackgroundColor = ConsoleColor::Black;
  1910.                     cout << "   ";
  1911.                     Console::SetCursorPosition(rx, ry + 1);
  1912.                     cout << "   ";  break;
  1913.                 case 3:
  1914.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1915.                     Console::ForegroundColor = ConsoleColor::Gray;
  1916.                     Console::SetCursorPosition(rx, ry);
  1917.                     cout << char(177) << char(177) << char(177);
  1918.                     Console::SetCursorPosition(rx, ry + 1);
  1919.                     cout << char(177) << char(177) << char(177); break;
  1920.                 case 4:
  1921.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  1922.                     Console::SetCursorPosition(rx, ry);
  1923.                     cout << "   ";
  1924.                     Console::SetCursorPosition(rx, ry + 1);
  1925.                     cout << "   ";  break;
  1926.                 }
  1927.                 tecla = _getch();
  1928.                 switch (tecla)
  1929.                 {
  1930.                 case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
  1931.                 case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
  1932.                 case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
  1933.                 case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
  1934.                 }
  1935.                 switch (m1[ry][rx])
  1936.                 {
  1937.                 case 14:
  1938.                     Console::SetCursorPosition(rx, ry);
  1939.                     Console::BackgroundColor = ConsoleColor::Black;
  1940.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1941.                     cout << (char)192 << (char)219 << (char)217;
  1942.                     Console::SetCursorPosition(rx, ry + 1);
  1943.                     cout << (char)218 << (char)223 << (char)191; break;
  1944.                 case 3:
  1945.                     Console::SetCursorPosition(rx, ry);
  1946.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  1947.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1948.                     cout << (char)192 << (char)219 << (char)217;
  1949.                     Console::SetCursorPosition(rx, ry + 1);
  1950.                     cout << (char)218 << (char)223 << (char)191; break;
  1951.                 case 4:
  1952.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  1953.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1954.                     Console::SetCursorPosition(rx, ry);
  1955.                     cout << (char)192 << (char)219 << (char)217;
  1956.                     Console::SetCursorPosition(rx, ry + 1);
  1957.                     cout << (char)218 << (char)223 << (char)191; break;
  1958.                 case 6:
  1959.                     Console::BackgroundColor = ConsoleColor::Black;
  1960.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  1961.                     Console::SetCursorPosition(rx, ry);
  1962.                     cout << (char)192 << (char)219 << (char)217;
  1963.                     Console::SetCursorPosition(rx, ry + 1);
  1964.                     cout << (char)218 << (char)223 << (char)191; break;
  1965.                 }
  1966.             }
  1967.  
  1968.         }
  1969.         /*--------------------------------------------------*/
  1970.         _sleep(10);
  1971.         /*--------------------------------------------------*/
  1972.     }
  1973. }
  1974. void Movimiento8(int m1[43][81], int *exitmovement)
  1975. {
  1976.     posctt * enemigo = new posctt[15];
  1977.     Random x;
  1978.     int tecla;
  1979.     int rx = 42;
  1980.     int ry = 41;
  1981.     /*--------------------------------------------------*/
  1982.     enemigo[0].x = x.Next(0, 79);
  1983.     enemigo[0].y = 3;
  1984.     enemigo[0].delx = 2;
  1985.  
  1986.     enemigo[1].x = x.Next(0, 79);
  1987.     enemigo[1].y = 7;
  1988.     enemigo[1].delx = 1;
  1989.  
  1990.     enemigo[2].x = x.Next(0, 79);
  1991.     enemigo[2].y = 11;
  1992.     enemigo[2].delx = 1;
  1993.  
  1994.     enemigo[3].x = x.Next(0, 79);
  1995.     enemigo[3].y = 15;
  1996.     enemigo[3].delx = 2;
  1997.  
  1998.     enemigo[4].x = x.Next(0, 79);
  1999.     enemigo[4].y = 19;
  2000.     enemigo[4].delx = 1;
  2001.  
  2002.     enemigo[5].x = x.Next(0, 79);
  2003.     enemigo[5].y = 23;
  2004.     enemigo[5].delx = 2;
  2005.  
  2006.     enemigo[6].x = x.Next(0, 79);
  2007.     enemigo[6].y = 27;
  2008.     enemigo[6].delx = 1;
  2009.  
  2010.     enemigo[7].x = x.Next(0, 79);
  2011.     enemigo[7].y = 31;
  2012.     enemigo[7].delx = 2;
  2013.  
  2014.     enemigo[8].x = x.Next(0, 79);
  2015.     enemigo[8].y = 35;
  2016.     enemigo[8].delx = 1;
  2017.  
  2018.     enemigo[9].x = x.Next(0, 79);
  2019.     enemigo[9].y = 39;
  2020.     enemigo[9].delx = 2;
  2021.     /*------------------------------*/
  2022.     enemigo[10].x = x.Next(0, 79);
  2023.     enemigo[10].y = 5;
  2024.     enemigo[10].delx = -2;
  2025.  
  2026.     enemigo[11].x = x.Next(0, 79);
  2027.     enemigo[11].y = 13;
  2028.     enemigo[11].delx = -1;
  2029.  
  2030.     enemigo[12].x = x.Next(0, 79);
  2031.     enemigo[12].y = 21;
  2032.     enemigo[12].delx = -1;
  2033.  
  2034.     enemigo[13].x = x.Next(0, 79);
  2035.     enemigo[13].y = 29;
  2036.     enemigo[13].delx = -1;
  2037.  
  2038.     enemigo[14].x = x.Next(0, 79);
  2039.     enemigo[14].y = 37;
  2040.     enemigo[14].delx = -1;
  2041.     /*--------------------------------------------------*/
  2042.     while (exitmovement[0])
  2043.     {
  2044.         switch (m1[ry][rx])
  2045.         {
  2046.         case 3:
  2047.             Console::SetCursorPosition(rx, ry);
  2048.             Console::BackgroundColor = ConsoleColor::DarkGray;
  2049.             Console::ForegroundColor = ConsoleColor::DarkMagenta;
  2050.             cout << (char)192 << (char)219 << (char)217;
  2051.             Console::SetCursorPosition(rx, ry + 1);
  2052.             cout << (char)218 << (char)223 << (char)191;
  2053.             break;
  2054.         }
  2055.         if (kbhit())
  2056.         {
  2057.             tecla = _getch();
  2058.             if (tecla == 224)
  2059.             {
  2060.                 switch (m1[ry][rx])
  2061.                 {
  2062.                 case 14:
  2063.                     Console::BackgroundColor = ConsoleColor::Black;
  2064.                     Console::SetCursorPosition(rx, ry);
  2065.                     cout << "   ";
  2066.                     Console::SetCursorPosition(rx, ry + 1);
  2067.                     cout << "   ";  break;
  2068.                 case 3:
  2069.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  2070.                     Console::ForegroundColor = ConsoleColor::Gray;
  2071.                     Console::SetCursorPosition(rx, ry);
  2072.                     cout << char(177) << char(177) << char(177);
  2073.                     Console::SetCursorPosition(rx, ry + 1);
  2074.                     cout << char(177) << char(177) << char(177);
  2075.                     break;
  2076.                 case 4:
  2077.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  2078.                     Console::SetCursorPosition(rx, ry);
  2079.                     cout << "   ";
  2080.                     Console::SetCursorPosition(rx, ry + 1);
  2081.                     cout << "   ";  break;
  2082.                 }
  2083.                 tecla = _getch();
  2084.                 switch (tecla)
  2085.                 {
  2086.                 case 77:if ((m1[ry][rx + 3] != 1) && rx < 78)rx += 3; break;
  2087.                 case 75:if ((m1[ry][rx - 3] != 1) && rx > 0)rx -= 3; break;
  2088.                 case 72:if ((m1[ry - 2][rx] != 1) && ry > 0)ry -= 2; break;
  2089.                 case 80:if ((m1[ry + 2][rx] != 1) && ry < 41)ry += 2; break;
  2090.                 }
  2091.                 switch (m1[ry][rx])
  2092.                 {
  2093.                 case 14:
  2094.                     Console::SetCursorPosition(rx, ry);
  2095.                     Console::BackgroundColor = ConsoleColor::Black;
  2096.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  2097.                     cout << (char)192 << (char)219 << (char)217;
  2098.                     Console::SetCursorPosition(rx, ry + 1);
  2099.                     cout << (char)218 << (char)223 << (char)191; break;
  2100.                 case 3:
  2101.                     Console::BackgroundColor = ConsoleColor::DarkGray;
  2102.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  2103.                     Console::SetCursorPosition(rx, ry);
  2104.                     cout << (char)192 << (char)219 << (char)217;
  2105.                     Console::SetCursorPosition(rx, ry + 1);
  2106.                     cout << (char)218 << (char)223 << (char)191; break;
  2107.                 case 4:
  2108.                     Console::BackgroundColor = ConsoleColor::DarkGreen;
  2109.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  2110.                     Console::SetCursorPosition(rx, ry);
  2111.                     cout << (char)192 << (char)219 << (char)217;
  2112.                     Console::SetCursorPosition(rx, ry + 1);
  2113.                     cout << (char)218 << (char)223 << (char)191; break;
  2114.                 case 6:
  2115.                     Console::BackgroundColor = ConsoleColor::Black;
  2116.                     Console::ForegroundColor = ConsoleColor::DarkMagenta;
  2117.                     Console::SetCursorPosition(rx, ry);
  2118.                     cout << (char)192 << (char)219 << (char)217;
  2119.                     Console::SetCursorPosition(rx, ry + 1);
  2120.                     cout << (char)218 << (char)223 << (char)191; break;
  2121.                 }
  2122.             }
  2123.         }
  2124.         /*--------------------------------------------------*/
  2125.         _sleep(10);
  2126.         /*--------------------------------------------------*//*------------------------------------------------------------------------------------------------------------------------------------------------------*//*------------------------------------------------------------------------------------------------------------------------------------------------------*/
  2127.     int Map1[43][81] =
  2128.     {
  2129.         //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
  2130.         { 1,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,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
  2131.         { 1,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1,1,1 },     // 1
  2132.         { 1,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,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------------------------------------------------------------------------------------------------------*/
  2185.     int Map2[43][81] =
  2186.     {
  2187.         //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
  2188.         { 1,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,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         
  2189.         { 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         
  2190.         { 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         
  2191.  
  2192.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2193.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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  
  2194.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5 ,5,5,5 },   // 5  
  2195.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2196.  
  2197.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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  
  2198.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2199.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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  
  2200.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2201.  
  2202.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2203.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2204.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2205.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2206.  
  2207.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2208.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2209.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2210.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2211.  
  2212.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2213.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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
  2214.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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    
  2215.         { 5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,5,5,5    ,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    
  2216.  
  2217.         { 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    
  2218.         { 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    
  2219.         { 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 },  // 25  
  2220.         { 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 },  // 26    
  2221.  
  2222.         { 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 },// 27    
  2223.         { 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 },// 28
  2224.         { 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
  2225.         { 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 },// 30
  2226.  
  2227.         { 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 },// 31
  2228.         { 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
  2229.         { 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 },// 33
  2230.         { 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 },// 34
  2231.  
  2232.         { 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 }, // 35
  2233.         { 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 }, // 36
  2234.         { 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
  2235.         { 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 },   // 38  
  2236.  
  2237.         { 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 },  // 39      
  2238.         { 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 },  // 40       
  2239.         { 3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,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      
  2240.         { 3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,3,3,3    ,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          
  2241.     };
  2242.     /*------------------------------------------------------------------------------------------------------------------------------------------------------*/
  2243.     int Map3[43][81] =
  2244.     {
  2245.         //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
  2246.         { 1,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,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  
  2247.         { 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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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 ,3,3,3 ,3,3,3 ,3,3,3 },      // 42
  2299.  
  2300.     };
  2301.     /*------------------------------------------------------------------------------------------------------------------------------------------------------*/
  2302.     int Map4[43][81] =
  2303.     {
  2304.         //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
  2305.         { 1,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,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  
  2306.         { 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  
  2307.         { 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  
  2308.  
  2309.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,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 },      // 39
  2355.         { 5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,5,5,5 ,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
  2356.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,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
  2357.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,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
  2358.     };
  2359.     /*------------------------------------------------------------------------------------------------------------------------------------------------------*/
  2360.     int Map5[43][81] =
  2361.     {
  2362.         //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
  2363.         { 1,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  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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 ,3,3,3 ,3,3,3 ,3,3,3 },     // 41
  2415.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,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
  2416.     };
  2417.     /*------------------------------------------------------------------------------------------------------------------------------------------------------*/
  2418.     int Map6[43][81] =
  2419.     {
  2420.         //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
  2421.         { 1,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,1,1,1,1        ,1,1,1,1,1,1,1,1,1,1,1,1                ,1,1,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
  2422.         { 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
  2423.         { 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
  2424.  
  2425.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,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
  2426.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,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
  2427.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,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
  2428.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,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
  2429.  
  2430.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,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
  2431.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,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
  2432.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9 ,9,9,9 },   // 9
  2433.         { 9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,9,9,9    ,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
  2434.  
  2435.         { 1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,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
  2436.         { 1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,1,1,1    ,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
  2437.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,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
  2438.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,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
  2439.  
  2440.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,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
  2441.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,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
  2442.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,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 },   // 17
  2443.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,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 },   // 18
  2444.  
  2445.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,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
  2446.         { 11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,11,11,11 ,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
  2447.         { 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 },   // 23
  2448.         { 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 },   // 24
  2449.  
  2450.         { 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
  2451.         { 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
  2452.         { 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
  2453.         { 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
  2454.  
  2455.         { 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
  2456.         { 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
  2457.         { 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
  2458.         { 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
  2459.  
  2460.         { 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 },   // 29
  2461.         { 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 },   // 30
  2462.         { 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 },   // 31
  2463.         { 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 },   // 32
  2464.  
  2465.         { 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 },   // 35
  2466.         { 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 },   // 36
  2467.         { 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
  2468.         { 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
  2469.  
  2470.         { 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
  2471.         { 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
  2472.         { 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
  2473.         { 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
  2474.     };
  2475.     /*------------------------------------------------------------------------------------------------------------------------------------------------------*/
  2476.     int Map7[43][81] =
  2477.     {
  2478.         //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/*------------------------------------------------------------------------------------------------------------------------------------------------------*/
  2479.     int Map8[43][81] =
  2480.     {
  2481.         //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
  2482.         { 1,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,1,1,1,1,1,1,1 },
  2483.         { 1,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1,1,1 },
  2484.         { 1,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1  ,1,1,1,1,1,1,1,1,1,1,1,1    ,1,6,6,6,6,1,1,1 },
  2485.  
  2486.         { 14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 },
  2487.         { 14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 ,14,14,14 },
  2488.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2489.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2490.  
  2491.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2492.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2493.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2494.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2495.  
  2496.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2497.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2498.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2499.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2500.         //0      3      6         6         6         6         6         6         6         6         6         6         6         6         6         6         6         6         6         6         6         6         6         6         6         6         6         6    
  2501.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2502.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2503.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2504.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2505.  
  2506.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2507.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2508.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2509.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2510.  
  2511.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2512.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2513.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2514.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2515.  
  2516.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2517.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2518.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2519.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2520.  
  2521.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2522.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2523.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2524.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2525.  
  2526.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2527.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2528.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2529.         { 14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 },
  2530.  
  2531.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2532.         { 15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 ,15,15,15 ,15,15,15 ,14,14,14 ,14,14,14 },
  2533.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },
  2534.         { 3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 ,3,3,3 },
  2535.     };
  2536.     /*------------------------------------------------------------------------------------------------------------------------------------------------------*/
  2537.     Exitmove[0] = 1;
  2538.     Exitmove[1] = 1;
  2539.     Exitmove[2] = 1;
  2540.     Exitmove[3] = 1;
  2541.     Exitmove[4] = 1;
  2542.     Exitmove[5] = 1;
  2543.     Exitmove[6] = 1;
  2544.     Exitmove[7] = 1;
  2545.     /*------------------------------------------------------------------------------------------------------------------------------------------------------*/
  2546.     /*DibujaMapa(FondoNegro);
  2547.     Banner_Derrota(FondoNegro);
  2548.     _getch();
  2549.     Console::Clear();*/
  2550.     ///*-------------------------*/
  2551.     //DibujaMapa(ScreenInicio);
  2552.     //Screen_Inicio(ScreenInicio);
  2553.     //_getch();
  2554.     //Console::Clear();
  2555.     ///*-------------------------*/
  2556.     //DibujaMapa(FondoNegro);
  2557.     //Instrucciones(FondoNegro);
  2558.     //_getch();
  2559.     //Console::Clear();
  2560.     ///*-------------------------*/
  2561.     /*DibujaMapa(Map1);
  2562.     Movimiento1(Map1, Exitmove);
  2563.     _getch();
  2564.     Console::Clear();*/
  2565.     /*-------------------------*/
  2566.     DibujaMapa(Map2);
  2567.     Movimiento2(Map2, Exitmove);
  2568.     _getch();
  2569.     Console::Clear();
  2570.     /*-------------------------*/
  2571.     DibujaMapa(Map3);
  2572.     Movimiento3(Map3, Exitmove);
  2573.     _getch();
  2574.     Console::Clear();
  2575.     /*-------------------------*/
  2576.     DibujaMapa(Map4);
  2577.     Movimiento4(Map4, Exitmove);
  2578.     _getch();
  2579.     Console::Clear();
  2580.     /*-------------------------*/
  2581.     DibujaMapa(Map5);
  2582.     Movimiento5(Map5, Exitmove);
  2583.     _getch();
  2584.     Console::Clear();
  2585.     /*-------------------------*/
  2586.     DibujaMapa(Map6);
  2587.     Movimiento6(Map6, Exitmove);
  2588.     _getch();
  2589.     Console::Clear();
  2590.     /*-------------------------*/
  2591.     DibujaMapa(Map7);
  2592.     Movimiento7(Map7, Exitmove);
  2593.     _getch();
  2594.     /*-------------------------*/
  2595.     DibujaMapa(Map8);
  2596.     Movimiento8(Map8, Exitmove);
  2597.     _getch();
  2598.     Console::Clear();
  2599.     return 0;
  2600. }
Advertisement
Add Comment
Please, Sign In to add comment