Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
36 kB
2
Indexable
Never
#include <iostream>
#include <conio.h>
using namespace std;
void ClearAndDrawFixedObject(char X[][1330], int rWelcome, int cWelcome)
{
    for (int r = 0; r < 64; r++)
    {
        for (int c = 0; c < 1330; c++)
        {
            X[r][c] = ' ';
        }
    }
}
void CoutMatToScreen(char X[][1330])
{
    system("cls");
    for (int i = 0; i < 3000000; i++)
    {

    }

    for (int r = 0; r < 64; r++)
    {
        for (int c = 0; c < 420; c++)
        {
            cout << X[r][c];
        }
        cout << endl;
    }

}
void frame(char x[][1330], int& rWelcome, int& cWelcome)
{
    for (int c = 0; c < 418; c++)
    {
        x[0][c] = 220;
        x[63][c] = 220;
    }
    for (int r = 0; r < 63; r++)
    {
        x[r][0] = 219;
        x[r][1329] = 219;

    }
}
void ersmtare2(char x[][1330], int rtare2, int ctare2) {
    for (int i = 0; i < 211; i++) {
        x[60][i] = 211;

    }
}
//void ersmtaree2(char x[][1330], int rtare2, int ctare2) {
   // for (int i = 184; i < 211; i++) {
     //   x[40][i] = 211;

  //  }
//}
void ersmtare22(char x[][1330], int rtare2, int ctare2) {
    for (int i = 0; i < 211; i++) {
        x[40][i] = 211;
    }
}
    void ele(int rele, int cele, char X[][1330])
    {
        X[rele][cele + 8] = '.';
        X[rele][cele + 9] = '-';
        X[rele][cele + 10] = '-';
        X[rele][cele + 11] = '-';
        X[rele][cele + 12] = '.';
        //////////////////////////
        X[rele + 1][cele + 7] = '/';
        X[rele + 1][cele + 8] = '_';
        X[rele + 1][cele + 9] = '_';
        X[rele + 1][cele + 10] = 92;
        X[rele + 1][cele + 11] = '_';
        X[rele + 1][cele + 12] = '_';
        X[rele + 1][cele + 13] = 92;
        ///////////////////////////
        X[rele + 2][cele] = '.';
        X[rele + 2][cele + 1] = '-';
        X[rele + 2][cele + 2] = '-';
        X[rele + 2][cele + 3] = '-';
        X[rele + 2][cele + 4] = '-';
        X[rele + 2][cele + 5] = '-';
        X[rele + 2][cele + 6] = '-';
        X[rele + 2][cele + 7] = '-';
        X[rele + 2][cele + 8] = '-';
        X[rele + 2][cele + 9] = '-';
        X[rele + 2][cele + 10] = '-';
        X[rele + 2][cele + 11] = '-';
        X[rele + 2][cele + 12] = '-';
        X[rele + 2][cele + 13] = '-';
        X[rele + 2][cele + 14] = '-';
        X[rele + 2][cele + 15] = '-';
        X[rele + 2][cele + 16] = '-';
        X[rele + 2][cele + 17] = '-';
        X[rele + 2][cele + 18] = '-';
        X[rele + 2][cele + 19] = '-';
        X[rele + 2][cele + 20] = '.';
        /////////////////////////////
        X[rele + 3][cele] = '|';
        X[rele + 3][cele + 1] = '|';
        X[rele + 3][cele + 10] = '|';
        X[rele + 3][cele + 19] = '|';
        X[rele + 3][cele + 20] = '|';
        /////////////////////////////
        X[rele + 4][cele] = '|';
        X[rele + 4][cele + 1] = '|';
        X[rele + 4][cele + 10] = '|';
        X[rele + 4][cele + 19] = '|';
        X[rele + 4][cele + 20] = '|';
        /////////////////////////////
        X[rele + 5][cele] = '|';
        X[rele + 5][cele + 1] = '|';
        X[rele + 5][cele + 10] = '|';
        X[rele + 5][cele + 19] = '|';
        X[rele + 5][cele + 20] = '|';
        /////////////////////////////
        X[rele + 6][cele] = '|';
        X[rele + 6][cele + 1] = '|';
        X[rele + 6][cele + 10] = '|';
        X[rele + 6][cele + 19] = '|';
        X[rele + 6][cele + 20] = '|';
        /////////////////////////////
        X[rele + 7][cele] = '|';
        X[rele + 7][cele + 1] = '|';
        X[rele + 7][cele + 10] = '|';
        X[rele + 7][cele + 19] = '|';
        X[rele + 7][cele + 20] = '|';
        /////////////////////////////
        X[rele + 8][cele] = '|';
        X[rele + 8][cele + 1] = '|';
        X[rele + 8][cele + 10] = '|';
        X[rele + 8][cele + 19] = '|';
        X[rele + 8][cele + 20] = '|';
        /////////////////////////////
        X[rele + 9][cele] = '|';
        X[rele + 9][cele + 1] = '|';
        X[rele + 9][cele + 10] = '|';
        X[rele + 9][cele + 19] = '|';
        X[rele + 9][cele + 20] = '|';
        /////////////////////////////
        X[rele + 10][cele] = '|';
        X[rele + 10][cele + 1] = '|';
        X[rele + 10][cele + 10] = '|';
        X[rele + 10][cele + 19] = '|';
        X[rele + 10][cele + 20] = '|';
        /////////////////////////////
        X[rele + 11][cele] = '|';
        X[rele + 11][cele + 1] = '|';
        X[rele + 11][cele + 10] = '|';
        X[rele + 11][cele + 19] = '|';
        X[rele + 11][cele + 20] = '|';
        /////////////////////////////
        X[rele + 12][cele] = '|';
        X[rele + 12][cele + 1] = '|';
        X[rele + 12][cele + 10] = '|';
        X[rele + 12][cele + 19] = '|';
        X[rele + 12][cele + 20] = '|';
        /////////////////////////////
        X[rele + 13][cele] = '|';
        X[rele + 13][cele + 1] = '|';
        X[rele + 13][cele + 10] = '|';
        X[rele + 13][cele + 19] = '|';
        X[rele + 13][cele + 20] = '|';
        /////////////////////////////
        X[rele + 14][cele] = '|';
        X[rele + 14][cele + 1] = '|';
        X[rele + 14][cele + 10] = '|';
        X[rele + 14][cele + 19] = '|';
        X[rele + 14][cele + 20] = '|';
        /////////////////////////////
        X[rele + 15][cele] = 39;
        X[rele + 15][cele + 1] = '-';
        X[rele + 15][cele + 2] = '-';
        X[rele + 15][cele + 3] = '-';
        X[rele + 15][cele + 4] = '-';
        X[rele + 15][cele + 5] = '-';
        X[rele + 15][cele + 6] = '-';
        X[rele + 15][cele + 7] = '-';
        X[rele + 15][cele + 8] = '-';
        X[rele + 15][cele + 9] = '-';
        X[rele + 15][cele + 10] = '-';
        X[rele + 15][cele + 11] = '-';
        X[rele + 15][cele + 12] = '-';
        X[rele + 15][cele + 13] = '-';
        X[rele + 15][cele + 14] = '-';
        X[rele + 15][cele + 15] = '-';
        X[rele + 15][cele + 16] = '-';
        X[rele + 15][cele + 17] = '-';
        X[rele + 15][cele + 18] = '-';
        X[rele + 15][cele + 19] = '-';
        X[rele + 15][cele + 20] = 39;
        //////////////////////////////
    
   
}
void heart(int rheart, int cheart, char x[][1330]) {
    x[rheart][cheart] = 3;
}
void elet(int relet, int celet, char x[][1330]) {
    for (relet = 40;relet < 61; relet++) {
        x[relet ][201] = 181;
    }
}
void elet1(int relet1, int celet1, char x[][1330]) {
    for (relet1 = 40; relet1 < 61; relet1++) {
        x[relet1][180] = 198;
    }
}
void drawEnemy2(int renm2, int cenm2, char X[][1330]) {
  //  X[renm2][cenm2] = ' ';
    //X[renm2][cenm2 + 1] = '/';
    //X[renm2][cenm2 + 2] = '/';
//    X[renm2][cenm2 + 3] = '/';
  //  X[renm2][cenm2 + 4] = '/';
  //  X[renm2][cenm2 + 5] = '/';
   // X[renm2][cenm2 + 6] = '/';
   // X[renm2][cenm2 + 7] = '/';
    //X[renm2][cenm2 + 8] = '/';
  //  X[renm2][cenm2 + 9] = '/';
  //  X[renm2][cenm2 + 10] = '/';
   // X[renm2][cenm2 + 11] = '/';
  //  X[renm2][cenm2 + 12] = '/';
  //  X[renm2][cenm2 + 13] = '/';
   /// X[renm2][cenm2 + 14] = 92;
   // /X[renm2][cenm2 + 15] = 92;
   // X[renm2][cenm2 + 16] = 92;
    //X[renm2][cenm2 + 17] = 92;
    ////////////////////////
    X[renm2 + 1][cenm2] = '(';
    X[renm2 + 1][cenm2 + 1] = '(';
    X[renm2 + 1][cenm2 + 2] = '(';
    X[renm2 + 1][cenm2 + 3] = '(';
    X[renm2 + 1][cenm2 + 4] = '(';
    X[renm2 + 1][cenm2 + 5] = '(';
    X[renm2 + 1][cenm2 + 6] = '(';
    X[renm2 + 1][cenm2 + 7] = '(';
    X[renm2 + 1][cenm2 + 8] = '(';
    X[renm2 + 1][cenm2 + 9] = '(';
    X[renm2 + 1][cenm2 + 10] = '(';
    X[renm2 + 1][cenm2 + 11] = '(';
    X[renm2 + 1][cenm2 + 12] = '(';
    X[renm2 + 1][cenm2 + 13] = '(';
    X[renm2 + 1][cenm2 + 14] = ' ';
    X[renm2 + 1][cenm2 + 15] = 92;
    X[renm2 + 1][cenm2 + 16] = 92;
    X[renm2 + 1][cenm2 + 17] = 92;
    X[renm2 + 1][cenm2 + 18] = 92;
    /////////////////////////
    X[renm2 + 2][cenm2] = ')';
    X[renm2 + 2][cenm2 + 1] = ')';
    X[renm2 + 2][cenm2 + 2] = ')';
    X[renm2 + 2][cenm2 + 3] = ' ';
    X[renm2 + 2][cenm2 + 4] = '~';
    X[renm2 + 2][cenm2 + 5] = '~';
    X[renm2 + 2][cenm2 + 6] = ' ';
    X[renm2 + 2][cenm2 + 7] = ' ';
    X[renm2 + 2][cenm2 + 8] = ' ';
    X[renm2 + 2][cenm2 + 9] = ' ';
    X[renm2 + 2][cenm2 + 10] = ' ';
    X[renm2 + 2][cenm2 + 11] = ' ';
    X[renm2 + 2][cenm2 + 12] = '~';
    X[renm2 + 2][cenm2 + 13] = '~';
    X[renm2 + 2][cenm2 + 14] = ' ';
    X[renm2 + 2][cenm2 + 15] = ' ';
    X[renm2 + 2][cenm2 + 16] = '(';
    X[renm2 + 2][cenm2 + 17] = '(';
    X[renm2 + 2][cenm2 + 18] = '(';
    //////////////////////////
    X[renm2 + 3][cenm2] = '(';
    X[renm2 + 3][cenm2 + 1] = '(';
    X[renm2 + 3][cenm2 + 2] = '(';
    X[renm2 + 3][cenm2 + 3] = ' ';
    X[renm2 + 3][cenm2 + 4] = '(';
    X[renm2 + 3][cenm2 + 5] = 'q';
    X[renm2 + 3][cenm2 + 6] = ')';
    X[renm2 + 3][cenm2 + 7] = ' ';
    X[renm2 + 3][cenm2 + 8] = ' ';
    X[renm2 + 3][cenm2 + 9] = ' ';
    X[renm2 + 3][cenm2 + 10] = ' ';
    X[renm2 + 3][cenm2 + 11] = ' ';
    X[renm2 + 3][cenm2 + 12] = '(';
    X[renm2 + 3][cenm2 + 13] = 'q';
    X[renm2 + 3][cenm2 + 14] = ')';
    X[renm2 + 3][cenm2 + 15] = ' ';
    X[renm2 + 3][cenm2 + 16] = ')';
    X[renm2 + 3][cenm2 + 17] = ')';
    X[renm2 + 3][cenm2 + 18] = ')';
    //////////////////////////
    X[renm2 + 4][cenm2] = ')';
    X[renm2 + 4][cenm2 + 1] = ')';
    X[renm2 + 4][cenm2 + 2] = ')';
    X[renm2 + 4][cenm2 + 3] = ' ';
    X[renm2 + 4][cenm2 + 4] = ' ';
    X[renm2 + 4][cenm2 + 5] = ' ';
    X[renm2 + 4][cenm2 + 6] = ' ';
    X[renm2 + 4][cenm2 + 7] = ' ';
    X[renm2 + 4][cenm2 + 8] = '<';
    X[renm2 + 4][cenm2 + 9] = ' ';
    X[renm2 + 4][cenm2 + 10] = ' ';
    X[renm2 + 4][cenm2 + 11] = ' ';
    X[renm2 + 4][cenm2 + 12] = ' ';
    X[renm2 + 4][cenm2 + 13] = ' ';
    X[renm2 + 4][cenm2 + 14] = ' ';
    X[renm2 + 4][cenm2 + 15] = ' ';
    X[renm2 + 4][cenm2 + 16] = '(';
    X[renm2 + 4][cenm2 + 17] = '(';
    X[renm2 + 4][cenm2 + 18] = '(';
    ///////////////////////////
    X[renm2 + 4][cenm2] = '(';
    X[renm2 + 4][cenm2 + 1] = '(';
    X[renm2 + 4][cenm2 + 2] = '(';
    X[renm2 + 4][cenm2 + 3] = ' ';
    X[renm2 + 4][cenm2 + 4] = 39;
    X[renm2 + 4][cenm2 + 5] = 92;
    X[renm2 + 4][cenm2 + 6] = '_';
    X[renm2 + 4][cenm2 + 7] = '_';
    X[renm2 + 4][cenm2 + 8] = '_';
    X[renm2 + 4][cenm2 + 9] = '_';
    X[renm2 + 4][cenm2 + 10] = '_';
    X[renm2 + 4][cenm2 + 11] = '_';
    X[renm2 + 4][cenm2 + 12] = '/';
    X[renm2 + 4][cenm2 + 13] = '`';
    X[renm2 + 4][cenm2 + 14] = ' ';
    X[renm2 + 4][cenm2 + 15] = ' ';
    X[renm2 + 4][cenm2 + 16] = ')';
    X[renm2 + 4][cenm2 + 17] = ')';
    X[renm2 + 4][cenm2 + 18] = ')';
    //////////////////////////
    X[renm2 + 5][cenm2] = ')';
    X[renm2 + 5][cenm2 + 1] = ')';
    X[renm2 + 5][cenm2 + 2] = ')';
    X[renm2 + 5][cenm2 + 3] = 92;
    X[renm2 + 5][cenm2 + 4] = '_';
    X[renm2 + 5][cenm2 + 5] = '_';
    X[renm2 + 5][cenm2 + 6] = '_';
    X[renm2 + 5][cenm2 + 7] = '_';
    X[renm2 + 5][cenm2 + 8] = '_';
    X[renm2 + 5][cenm2 + 9] = '_';
    X[renm2 + 5][cenm2 + 10] = '_';
    X[renm2 + 5][cenm2 + 11] = '_';
    X[renm2 + 5][cenm2 + 12] = '_';
    X[renm2 + 5][cenm2 + 13] = '_';
    X[renm2 + 5][cenm2 + 14] = '_';
    X[renm2 + 5][cenm2 + 15] = '/';
    X[renm2 + 5][cenm2 + 16] = '(';
    X[renm2 + 5][cenm2 + 17] = '(';
    X[renm2 + 5][cenm2 + 18] = '(';
    //////////////////////////
    X[renm2 + 6][cenm2] = ' ';
    X[renm2 + 6][cenm2 + 1] = ' ';
    X[renm2 + 6][cenm2 + 2] = ' ';
    X[renm2 + 6][cenm2 + 3] = ' ';
    X[renm2 + 6][cenm2 + 4] = ' ';
    X[renm2 + 6][cenm2 + 5] = ' ';
    X[renm2 + 6][cenm2 + 6] = ' ';
    X[renm2 + 6][cenm2 + 7] = '_';
    X[renm2 + 6][cenm2 + 8] = ')';
    X[renm2 + 6][cenm2 + 9] = ' ';
    X[renm2 + 6][cenm2 + 10] = '(';
    X[renm2 + 6][cenm2 + 11] = '_';
    ///////////////////////
    X[renm2 + 7][cenm2] = ' ';
    X[renm2 + 7][cenm2 + 1] = ' ';
    X[renm2 + 7][cenm2 + 2] = ' ';
    X[renm2 + 7][cenm2 + 3] = ' ';
    X[renm2 + 7][cenm2 + 4] = ' ';
    X[renm2 + 7][cenm2 + 5] = ' ';
    X[renm2 + 7][cenm2 + 6] = '/';
    X[renm2 + 7][cenm2 + 7] = ' ';
    X[renm2 + 7][cenm2 + 8] = 92;
    X[renm2 + 7][cenm2 + 9] = '_';
    X[renm2 + 7][cenm2 + 10] = '/';
    X[renm2 + 7][cenm2 + 11] = ' ';
    X[renm2 + 7][cenm2 + 12] = 92;
    ///////////////////////
    X[renm2 + 8][cenm2] = ' ';
    X[renm2 + 8][cenm2 + 1] = ' ';
    X[renm2 + 8][cenm2 + 2] = ' ';
    X[renm2 + 8][cenm2 + 3] = ' ';
    X[renm2 + 8][cenm2 + 4] = ' ';
    X[renm2 + 8][cenm2 + 5] = '/';
    X[renm2 + 8][cenm2 + 6] = '(';
    X[renm2 + 8][cenm2 + 7] = ' ';
    X[renm2 + 8][cenm2 + 8] = ' ';
    X[renm2 + 8][cenm2 + 9] = ' ';
    X[renm2 + 8][cenm2 + 10] = ' ';
    X[renm2 + 8][cenm2 + 11] = ' ';
    X[renm2 + 8][cenm2 + 12] = ')';
    X[renm2 + 8][cenm2 + 13] = 92;
    //////////////////////////
    X[renm2 + 9][cenm2] = ' ';
    X[renm2 + 9][cenm2 + 1] = ' ';
    X[renm2 + 9][cenm2 + 2] = ' ';
    X[renm2 + 9][cenm2 + 3] = ' ';
    X[renm2 + 9][cenm2 + 4] = '/';
    X[renm2 + 9][cenm2 + 5] = '/';
    X[renm2 + 9][cenm2 + 6] = ' ';
    X[renm2 + 9][cenm2 + 7] = ')';
    X[renm2 + 9][cenm2 + 8] = '_';
    X[renm2 + 9][cenm2 + 9] = '_';
    X[renm2 + 9][cenm2 + 10] = '_';
    X[renm2 + 9][cenm2 + 11] = ' ';
    X[renm2 + 9][cenm2 + 12] = 92;
    X[renm2 + 9][cenm2 + 13] = 92;
    /////////////////////////
    X[renm2 + 10][cenm2] = ' ';
    X[renm2 + 10][cenm2 + 1] = ' ';
    X[renm2 + 10][cenm2 + 2] = ' ';
    X[renm2 + 10][cenm2 + 3] = ' ';
    X[renm2 + 10][cenm2 + 4] = 92;
    X[renm2 + 10][cenm2 + 5] = 92;
    X[renm2 + 10][cenm2 + 6] = '(';
    X[renm2 + 10][cenm2 + 7] = ' ';
    X[renm2 + 10][cenm2 + 8] = ' ';
    X[renm2 + 10][cenm2 + 9] = ' ';
    X[renm2 + 10][cenm2 + 10] = ' ';
    X[renm2 + 10][cenm2 + 11] = ' ';
    X[renm2 + 10][cenm2 + 12] = ')';
    X[renm2 + 10][cenm2 + 13] = '/';
    X[renm2 + 10][cenm2 + 14] = '/';
    /////////////////////////
    X[renm2 + 11][cenm2] = ' ';
    X[renm2 + 11][cenm2 + 1] = ' ';
    X[renm2 + 11][cenm2 + 2] = ' ';
    X[renm2 + 11][cenm2 + 3] = ' ';
    X[renm2 + 11][cenm2 + 4] = ' ';
    X[renm2 + 11][cenm2 + 5] = '(';
    X[renm2 + 11][cenm2 + 6] = ' ';
    X[renm2 + 11][cenm2 + 7] = ' ';
    X[renm2 + 11][cenm2 + 8] = ' ';
    X[renm2 + 11][cenm2 + 9] = ' ';
    X[renm2 + 11][cenm2 + 10] = ' ';
    X[renm2 + 11][cenm2 + 11] = ' ';
    X[renm2 + 11][cenm2 + 12] = ' ';
    X[renm2 + 11][cenm2 + 12] = ')';
    //////////////////////////
    X[renm2 + 12][cenm2] = ' ';
    X[renm2 + 12][cenm2 + 1] = ' ';
    X[renm2 + 12][cenm2 + 2] = ' ';
    X[renm2 + 12][cenm2 + 3] = ' ';
    X[renm2 + 12][cenm2 + 4] = ' ';
    X[renm2 + 12][cenm2 + 5] = ' ';
    X[renm2 + 12][cenm2 + 6] = '|';
    X[renm2 + 12][cenm2 + 7] = ' ';
    X[renm2 + 12][cenm2 + 8] = ' ';
    X[renm2 + 12][cenm2 + 9] = '|';
    X[renm2 + 12][cenm2 + 10] = ' ';
    X[renm2 + 12][cenm2 + 11] = ' ';
    X[renm2 + 12][cenm2 + 12] = '|';
    ///////////////////////////
    X[renm2 + 13][cenm2] = ' ';
    X[renm2 + 13][cenm2 + 1] = ' ';
    X[renm2 + 13][cenm2 + 2] = ' ';
    X[renm2 + 13][cenm2 + 3] = ' ';
    X[renm2 + 13][cenm2 + 4] = ' ';
    X[renm2 + 13][cenm2 + 5] = ' ';
    X[renm2 + 13][cenm2 + 6] = ' ';
    X[renm2 + 13][cenm2 + 7] = '|';
    X[renm2 + 13][cenm2 + 8] = ' ';
    X[renm2 + 13][cenm2 + 9] = '|';
    X[renm2 + 13][cenm2 + 10] = ' ';
    X[renm2 + 13][cenm2 + 11] = '|';
    ///////////////////////////
    X[renm2 + 14][cenm2] = ' ';
    X[renm2 + 14][cenm2 + 1] = ' ';
    X[renm2 + 14][cenm2 + 2] = ' ';
    X[renm2 + 14][cenm2 + 3] = ' ';
    X[renm2 + 14][cenm2 + 4] = ' ';
    X[renm2 + 14][cenm2 + 5] = ' ';
    X[renm2 + 14][cenm2 + 6] = ' ';
    X[renm2 + 14][cenm2 + 7] = '|';
    X[renm2 + 14][cenm2 + 8] = ' ';
    X[renm2 + 14][cenm2 + 9] = '|';
    X[renm2 + 14][cenm2 + 10] = ' ';
    X[renm2 + 14][cenm2 + 11] = '|';
    ///////////////////////////
    X[renm2 + 15][cenm2] = ' ';
    X[renm2 + 15][cenm2 + 1] = ' ';
    X[renm2 + 15][cenm2 + 2] = ' ';
    X[renm2 + 15][cenm2 + 3] = ' ';
    X[renm2 + 15][cenm2 + 4] = ' ';
    X[renm2 + 15][cenm2 + 5] = ' ';
    X[renm2 + 15][cenm2 + 6] = '_';
    X[renm2 + 15][cenm2 + 7] = '|';
    X[renm2 + 15][cenm2 + 8] = '_';
    X[renm2 + 15][cenm2 + 9] = '|';
    X[renm2 + 15][cenm2 + 10] = '_';
    X[renm2 + 15][cenm2 + 11] = '|';
    X[renm2 + 15][cenm2 + 12] = '_';
}
void ersembox(int rbox, int cbox, char X[][1330])
{
    X[rbox][cbox] = ' ';
    X[rbox][cbox + 1] = '_';
    X[rbox][cbox + 2] = '_';
    X[rbox][cbox + 3] = '_';
    X[rbox][cbox + 4] = '_';
    X[rbox][cbox + 5] = '_';
    X[rbox][cbox + 6] = '_';
    X[rbox][cbox + 7] = '_';
    X[rbox][cbox + 8] = '_';
    X[rbox][cbox + 9] = '_';
    /////////////////////
    X[rbox + 1][cbox] = '|';
    X[rbox + 1][cbox + 1] = '_';
    X[rbox + 1][cbox + 2] = '|';
    X[rbox + 1][cbox + 3] = '_';
    X[rbox + 1][cbox + 4] = '_';
    X[rbox + 1][cbox + 5] = '-';
    X[rbox + 1][cbox + 6] = '_';
    X[rbox + 1][cbox + 7] = '_';
    X[rbox + 1][cbox + 8] = '|';
    X[rbox + 1][cbox + 9] = '_';
    X[rbox + 1][cbox + 10] = '|';
    /////////////////////
    X[rbox + 2][cbox] = '|';
    X[rbox + 2][cbox + 1] = ' ';
    X[rbox + 2][cbox + 2] = '|';
    X[rbox + 2][cbox + 3] = '_';
    X[rbox + 2][cbox + 4] = '|';
    X[rbox + 2][cbox + 5] = '_';
    X[rbox + 2][cbox + 6] = '|';
    X[rbox + 2][cbox + 7] = '_';
    X[rbox + 2][cbox + 8] = '|';
    X[rbox + 2][cbox + 9] = '| ';
    X[rbox + 2][cbox + 10] = ' |';
    /////////////////////
    X[rbox + 3][cbox] = '|';
    X[rbox + 3][cbox + 1] = '_';
    X[rbox + 3][cbox + 2] = '|';
    X[rbox + 3][cbox + 3] = '_';
    X[rbox + 3][cbox + 4] = '|';
    X[rbox + 3][cbox + 5] = '_';
    X[rbox + 3][cbox + 6] = '|';
    X[rbox + 3][cbox + 7] = '_';
    X[rbox + 3][cbox + 8] = '|';
    X[rbox + 3][cbox + 9] = '_';
    X[rbox + 3][cbox + 10] = '|';
    /////////////////////
}
void moveenem(int& renm, int& cenm, char X[][1330])//, int& cenmr)
{

    cenm -= 5;
    if (cenm == 0)
    {
        cenm = +5;

    }
    if (cenm == 15)
    {
       // cenmr = 10;
        cenm = 150;
    }
}
void dai(int rd,int cd, char x[][1330]) {
    x[rd][cd] = 6;
}
void ersemcloud(char x[][1330], int rcloud, int ccloud)
{
    x[rcloud][ccloud] = 124;
    x[rcloud - 1][ccloud] = 47;
    x[rcloud - 2][ccloud + 1] = 44;
    x[rcloud - 2][ccloud + 2] = 45;
    x[rcloud - 2][ccloud + 3] = 126;
    x[rcloud - 2][ccloud + 4] = 126;
    x[rcloud - 2][ccloud + 5] = 45;
    x[rcloud - 2][ccloud + 6] = 40;
    x[rcloud - 3][ccloud + 7] = 44;
    x[rcloud - 3][ccloud + 8] = 45;
    x[rcloud - 3][ccloud + 9] = 126;
    x[rcloud - 3][ccloud + 10] = 126;
    x[rcloud - 3][ccloud + 11] = 45;
    x[rcloud - 3][ccloud + 12] = 46;
    x[rcloud - 2][ccloud + 13] = 41;
    x[rcloud - 2][ccloud + 14] = 95;
    x[rcloud - 2][ccloud + 15] = 95;
    x[rcloud - 1][ccloud + 16] = 126;
    x[rcloud - 1][ccloud + 17] = 45;
    x[rcloud - 1][ccloud + 18] = 46;
    x[rcloud][ccloud + 19] = 92;
    x[rcloud + 1][ccloud + 19] = 44;
    x[rcloud + 2][ccloud + 18] = 46;
    x[rcloud + 3][ccloud + 17] = 126;
    x[rcloud + 3][ccloud + 16] = 45;
    x[rcloud + 3][ccloud + 15] = 46;
    x[rcloud + 3][ccloud + 14] = 95;
    x[rcloud + 3][ccloud + 13] = 95;
    x[rcloud + 3][ccloud + 12] = 95;
    x[rcloud + 3][ccloud + 11] = 95;
    x[rcloud + 3][ccloud + 10] = 95;
    x[rcloud + 3][ccloud + 9] = 95;
    x[rcloud + 3][ccloud + 8] = 95;
    x[rcloud + 3][ccloud + 7] = 95;
    x[rcloud + 3][ccloud + 6] = 95;
    x[rcloud + 3][ccloud + 5] = 95;
    x[rcloud + 3][ccloud + 4] = 46;
    x[rcloud + 3][ccloud + 3] = 45;
    x[rcloud + 3][ccloud + 2] = 39;
    x[rcloud + 2][ccloud + 1] = 92;
    x[rcloud + 1][ccloud] = 92;
}
void ersemshamos(int rshms, int cshms, char X[][1330]) {

    X[rshms][cshms + 4] = '.';

    // Row 1
    X[rshms + 1][cshms + 2] = ' ';
    X[rshms + 1][cshms + 3] = '\\';
    X[rshms + 1][cshms + 4] = ' ';
    X[rshms + 1][cshms + 5] = '|';
    X[rshms + 1][cshms + 6] = ' ';
    X[rshms + 1][cshms + 7] = '/';

    // Row 2
    X[rshms + 2][cshms + 1] = '\'';
    X[rshms + 2][cshms + 2] = '-';
    X[rshms + 2][cshms + 3] = '.';
    X[rshms + 2][cshms + 4] = ';';
    X[rshms + 2][cshms + 5] = ';';
    X[rshms + 2][cshms + 6] = ';';
    X[rshms + 2][cshms + 7] = '.';
    X[rshms + 2][cshms + 8] = '-';
    X[rshms + 2][cshms + 9] = '\'';

    // Row 3
    X[rshms + 3][cshms] = '-';
    X[rshms + 3][cshms + 1] = '=';
    X[rshms + 3][cshms + 2] = '=';
    X[rshms + 3][cshms + 3] = ';';
    X[rshms + 3][cshms + 4] = ';';
    X[rshms + 3][cshms + 5] = ';';
    X[rshms + 3][cshms + 6] = ';';
    X[rshms + 3][cshms + 7] = ';';
    X[rshms + 3][cshms + 8] = '=';
    X[rshms + 3][cshms + 9] = '=';
    X[rshms + 3][cshms + 10] = '-';

    // Row 4
    X[rshms + 4][cshms + 1] = '.';
    X[rshms + 4][cshms + 2] = '-';
    X[rshms + 4][cshms + 3] = '\'';
    X[rshms + 4][cshms + 4] = ';';
    X[rshms + 4][cshms + 5] = ';';
    X[rshms + 4][cshms + 6] = ';';
    X[rshms + 4][cshms + 7] = '\'';
    X[rshms + 4][cshms + 8] = '-';
    X[rshms + 4][cshms + 9] = '.';

    // Row 5
    X[rshms + 5][cshms + 2] = '/';
    X[rshms + 5][cshms + 3] = ' ';
    X[rshms + 5][cshms + 4] = '|';
    X[rshms + 5][cshms + 5] = ' ';
    X[rshms + 5][cshms + 6] = '\\';

    // Row 6
    X[rshms + 6][cshms + 5] = '\'';

}
void ersemshok(int rshk, int cshk, char X[][1330])
{
    X[rshk][cshk] = 211;
    X[rshk][cshk + 1] = 211;
    X[rshk][cshk + 5] = 211;
    X[rshk][cshk + 9] = 211;
    X[rshk][cshk + 10] = 211;
    ///////////////////////
    X[rshk + 1][cshk] = 92;
    X[rshk + 1][cshk + 1] = 92;
    X[rshk + 1][cshk + 4] = '|';
    X[rshk + 1][cshk + 7] = '/';
    X[rshk + 1][cshk + 8] = '/';
    ///////////////////////
    X[rshk + 2][cshk] = 92;
    X[rshk + 2][cshk + 1] = 92;
    X[rshk + 2][cshk + 3] = '|';
    X[rshk + 2][cshk + 5] = '/';
    X[rshk + 2][cshk + 6] = '/';
    ///////////////////////
}
void ersembossrev(int rbossr, int cbossr, char X[][1330])
{
    X[rbossr][cbossr + 9] = '_';
    X[rbossr][cbossr + 10] = '_';
    X[rbossr][cbossr + 11] = '_';
    X[rbossr][cbossr + 12] = '-';
    X[rbossr][cbossr + 13] = '-';
    X[rbossr][cbossr + 14] = '=';
    X[rbossr][cbossr + 15] = '-';
    X[rbossr][cbossr + 16] = '-';
    X[rbossr][cbossr + 17] = '-';
    X[rbossr][cbossr + 18] = '-';
    X[rbossr][cbossr + 19] = '-';
    X[rbossr][cbossr + 20] = '-';
    X[rbossr][cbossr + 21] = '-';
    X[rbossr][cbossr + 22] = '-';
    X[rbossr][cbossr + 23] = '_';
    X[rbossr][cbossr + 24] = '_';
    X[rbossr][cbossr + 25] = '_';
    /////////////////////////////
    X[rbossr + 1][cbossr + 9] = '/';
    X[rbossr + 1][cbossr + 10] = '.';
    X[rbossr + 1][cbossr + 12] = 92;
    X[rbossr + 1][cbossr + 13] = '_';
    X[rbossr + 1][cbossr + 14] = '_';
    X[rbossr + 1][cbossr + 15] = '_';
    X[rbossr + 1][cbossr + 16] = 92;
    X[rbossr + 1][cbossr + 17] = '_';
    X[rbossr + 1][cbossr + 18] = '_';
    X[rbossr + 1][cbossr + 19] = '_';
    X[rbossr + 1][cbossr + 20] = '_';
    X[rbossr + 1][cbossr + 24] = '_';
    X[rbossr + 1][cbossr + 25] = ',';
    X[rbossr + 1][cbossr + 27] = 92;
    X[rbossr + 1][cbossr + 28] = '_';
    //////////////////////////////
    X[rbossr + 2][cbossr + 8] = '/';
    X[rbossr + 2][cbossr + 9] = '.';
    X[rbossr + 2][cbossr + 10] = '.';
    X[rbossr + 2][cbossr + 13] = '_';
    X[rbossr + 2][cbossr + 14] = '_';
    X[rbossr + 2][cbossr + 15] = '_';
    X[rbossr + 2][cbossr + 16] = '_';
    X[rbossr + 2][cbossr + 17] = '_';
    X[rbossr + 2][cbossr + 18] = '_';
    X[rbossr + 2][cbossr + 19] = '_';
    X[rbossr + 2][cbossr + 25] = '_';
    X[rbossr + 2][cbossr + 26] = '_';
    X[rbossr + 2][cbossr + 27] = '/';
    ////////////////////////////////
    X[rbossr + 3][cbossr + 8] = 92;
    X[rbossr + 3][cbossr + 9] = '-';
    X[rbossr + 3][cbossr + 10] = '-';
    X[rbossr + 3][cbossr + 11] = '-';
    X[rbossr + 3][cbossr + 12] = '-';
    X[rbossr + 3][cbossr + 13] = '/';
    X[rbossr + 3][cbossr + 16] = '|';
    X[rbossr + 3][cbossr + 19] = '/';
    X[rbossr + 3][cbossr + 21] = 92;
    X[rbossr + 3][cbossr + 22] = '_';
    X[rbossr + 3][cbossr + 23] = '_';
    X[rbossr + 3][cbossr + 24] = '_';
    X[rbossr + 3][cbossr + 25] = '_';
    X[rbossr + 3][cbossr + 26] = '_';
    X[rbossr + 3][cbossr + 27] = '_';
    X[rbossr + 3][cbossr + 28] = '/';
    /////////////////////////////////
    X[rbossr + 4][cbossr + 3] = '_';
    X[rbossr + 4][cbossr + 4] = '/';
    X[rbossr + 4][cbossr + 14] = '_';
    X[rbossr + 4][cbossr + 15] = '/';
    X[rbossr + 4][cbossr + 17] = 'o';
    X[rbossr + 4][cbossr + 19] = 92;
    /////////////////////////////////
    X[rbossr + 5][cbossr + 2] = '/';
    X[rbossr + 5][cbossr + 4] = '|';
    X[rbossr + 5][cbossr + 9] = 'o';
    X[rbossr + 5][cbossr + 13] = '/';
    X[rbossr + 5][cbossr + 16] = '_';
    X[rbossr + 5][cbossr + 17] = '_';
    X[rbossr + 5][cbossr + 18] = '_';
    X[rbossr + 5][cbossr + 20] = 92;
    /////////////////////////////////
    X[rbossr + 6][cbossr + 1] = '/';
    X[rbossr + 6][cbossr + 3] = '/';
    X[rbossr + 6][cbossr + 8] = 'o';
    X[rbossr + 6][cbossr + 9] = 92;
    X[rbossr + 6][cbossr + 10] = 92;
    X[rbossr + 6][cbossr + 12] = '|';
    X[rbossr + 6][cbossr + 15] = '/';
    X[rbossr + 6][cbossr + 17] = 'O';
    X[rbossr + 6][cbossr + 19] = 92;
    X[rbossr + 6][cbossr + 21] = '/';
    X[rbossr + 6][cbossr + 22] = '|';
    X[rbossr + 6][cbossr + 29] = '_';
    X[rbossr + 6][cbossr + 30] = '_';
    X[rbossr + 6][cbossr + 31] = '-';
    X[rbossr + 6][cbossr + 32] = '_';
    /////////////////////////////////
    X[rbossr + 7][cbossr] = '|';
    X[rbossr + 7][cbossr + 1] = 'o';
    X[rbossr + 7][cbossr + 2] = '|';
    X[rbossr + 7][cbossr + 8] = 'o';
    X[rbossr + 7][cbossr + 9] = 92;
    X[rbossr + 7][cbossr + 10] = 92;
    X[rbossr + 7][cbossr + 11] = 92;
    X[rbossr + 7][cbossr + 15] = '|';
    X[rbossr + 7][cbossr + 18] = 92;
    X[rbossr + 7][cbossr + 20] = 92;
    X[rbossr + 7][cbossr + 22] = '/';
    X[rbossr + 7][cbossr + 23] = '_';
    X[rbossr + 7][cbossr + 24] = '_';
    X[rbossr + 7][cbossr + 25] = '-';
    X[rbossr + 7][cbossr + 26] = '-';
    X[rbossr + 7][cbossr + 27] = 'o';
    X[rbossr + 7][cbossr + 28] = '/';
    X[rbossr + 7][cbossr + 29] = 'o';
    X[rbossr + 7][cbossr + 30] = '_';
    X[rbossr + 7][cbossr + 31] = '_';
    X[rbossr + 7][cbossr + 32] = '_';
    X[rbossr + 7][cbossr + 33] = '-';
    X[rbossr + 7][cbossr + 34] = '_';
    /////////////////////////////////
    X[rbossr + 8][cbossr] = '|';
    X[rbossr + 8][cbossr + 2] = '|';
    X[rbossr + 8][cbossr + 9] = 92;
    X[rbossr + 8][cbossr + 10] = 92;
    X[rbossr + 8][cbossr + 11] = 92;
    X[rbossr + 8][cbossr + 12] = '-';
    X[rbossr + 8][cbossr + 13] = '_';
    X[rbossr + 8][cbossr + 16] = 92;
    X[rbossr + 8][cbossr + 17] = '_';
    X[rbossr + 8][cbossr + 18] = '_';
    X[rbossr + 8][cbossr + 19] = '_';
    X[rbossr + 8][cbossr + 20] = '_';
    X[rbossr + 8][cbossr + 23] = '-';
    X[rbossr + 8][cbossr + 24] = '-';
    X[rbossr + 8][cbossr + 25] = '-';
    X[rbossr + 8][cbossr + 26] = '-';
    X[rbossr + 8][cbossr + 29] = 'o';
    X[rbossr + 8][cbossr + 30] = '_';
    X[rbossr + 8][cbossr + 31] = '_';
    X[rbossr + 8][cbossr + 32] = '_';
    X[rbossr + 8][cbossr + 33] = '-';
    /////////////////////////////////
    X[rbossr + 9][cbossr] = '|';
    X[rbossr + 9][cbossr + 1] = 'o';
    X[rbossr + 9][cbossr + 2] = '|';
    X[rbossr + 9][cbossr + 10] = 92;
    X[rbossr + 9][cbossr + 11] = '_';
    X[rbossr + 9][cbossr + 13] = 92;
    X[rbossr + 9][cbossr + 19] = '/';
    X[rbossr + 9][cbossr + 20] = 92;
    X[rbossr + 9][cbossr + 21] = '_';
    X[rbossr + 9][cbossr + 23] = '_';
    X[rbossr + 9][cbossr + 24] = '_';
    X[rbossr + 9][cbossr + 25] = '_';
    X[rbossr + 9][cbossr + 26] = '_';
    X[rbossr + 9][cbossr + 27] = '_';
    X[rbossr + 9][cbossr + 28] = '-';
    X[rbossr + 9][cbossr + 29] = 'o';
    X[rbossr + 9][cbossr + 30] = 92;
    X[rbossr + 9][cbossr + 31] = '_';
    X[rbossr + 9][cbossr + 32] = '-';
    //////////////////////////////////
    X[rbossr + 10][cbossr] = '|';
    X[rbossr + 10][cbossr + 2] = 92;
    X[rbossr + 10][cbossr + 10] = '_';
    X[rbossr + 10][cbossr + 11] = 92;
    X[rbossr + 10][cbossr + 13] = 92;
    X[rbossr + 10][cbossr + 16] = '_';
    X[rbossr + 10][cbossr + 17] = '/';
    X[rbossr + 10][cbossr + 19] = '/';
    X[rbossr + 10][cbossr + 21] = '|';
    //////////////////////////////////
    X[rbossr + 11][cbossr] = 92;
    X[rbossr + 11][cbossr + 1] = 'o';
    X[rbossr + 11][cbossr + 3] = 92;
    X[rbossr + 11][cbossr + 4] = '_';
    X[rbossr + 11][cbossr + 8] = '_';
    X[rbossr + 11][cbossr + 9] = '/';
    X[rbossr + 11][cbossr + 16] = '_';
    X[rbossr + 11][cbossr + 17] = '_';
    X[rbossr + 11][cbossr + 18] = '/';
    X[rbossr + 11][cbossr + 20] = '/';
    //////////////////////////////////
    X[rbossr + 12][cbossr + 1] = 92;
    X[rbossr + 12][cbossr + 5] = 92;
    X[rbossr + 12][cbossr + 6] = '-';
    X[rbossr + 12][cbossr + 7] = '/';
    X[rbossr + 12][cbossr + 11] = '_';
    X[rbossr + 12][cbossr + 19] = '/';
    X[rbossr + 12][cbossr + 21] = '|';
    X[rbossr + 12][cbossr + 22] = '_';
    //////////////////////////////////
    X[rbossr + 13][cbossr + 2] = 92;
    X[rbossr + 13][cbossr + 3] = '_';
    X[rbossr + 13][cbossr + 10] = '/';
    X[rbossr + 13][cbossr + 12] = '|';
    X[rbossr + 13][cbossr + 16] = '-';
    X[rbossr + 13][cbossr + 18] = 92;
    X[rbossr + 13][cbossr + 21] = '|';
    X[rbossr + 13][cbossr + 22] = 92;
    //////////////////////////////////
    X[rbossr + 14][cbossr + 4] = 92;
    X[rbossr + 14][cbossr + 5] = '_';
    X[rbossr + 14][cbossr + 6] = '_';
    X[rbossr + 14][cbossr + 7] = '_';
    X[rbossr + 14][cbossr + 8] = '_';
    X[rbossr + 14][cbossr + 9] = '/';
    X[rbossr + 14][cbossr + 12] = 92;
    X[rbossr + 14][cbossr + 14] = '|';
    X[rbossr + 14][cbossr + 16] = '/';
    X[rbossr + 14][cbossr + 19] = 92;
    X[rbossr + 14][cbossr + 23] = '|';
    X[rbossr + 14][cbossr + 24] = 92;
    //////////////////////////////////
    X[rbossr + 15][cbossr + 12] = '|';
    X[rbossr + 15][cbossr + 14] = 'o';
    X[rbossr + 15][cbossr + 16] = '|';
    X[rbossr + 15][cbossr + 20] = '|';
    X[rbossr + 15][cbossr + 22] = 92;
    X[rbossr + 15][cbossr + 24] = '|';
    //////////////////////////////////
    X[rbossr + 16][cbossr + 12] = '|';
    X[rbossr + 16][cbossr + 14] = '|';
    X[rbossr + 16][cbossr + 16] = '|';
    X[rbossr + 16][cbossr + 21] = 92;
    X[rbossr + 16][cbossr + 23] = '|';
    X[rbossr + 16][cbossr + 25] = 92;
    ///////////////////////////////////
    X[rbossr + 17][cbossr + 11] = '/';
    X[rbossr + 17][cbossr + 13] = '|';
    X[rbossr + 17][cbossr + 15] = '/';
    X[rbossr + 17][cbossr + 22] = 92;
    X[rbossr + 17][cbossr + 24] = 92;
    X[rbossr + 17][cbossr + 26] = 92;
    ///////////////////////////////////
    X[rbossr + 18][cbossr + 9] = '/';
    X[rbossr + 18][cbossr + 10] = '|';
    X[rbossr + 18][cbossr + 13] = 92;
    X[rbossr + 18][cbossr + 14] = 'o';
    X[rbossr + 18][cbossr + 15] = '|';
    X[rbossr + 18][cbossr + 16] = 92;
    X[rbossr + 18][cbossr + 17] = '-';
    X[rbossr + 18][cbossr + 18] = '-';
    X[rbossr + 18][cbossr + 19] = 92;
    X[rbossr + 18][cbossr + 22] = '/';
    X[rbossr + 18][cbossr + 25] = 'o';
    X[rbossr + 18][cbossr + 27] = '|';
    X[rbossr + 18][cbossr + 28] = 92;
    X[rbossr + 18][cbossr + 29] = '-';
    X[rbossr + 18][cbossr + 30] = '-';
    X[rbossr + 18][cbossr + 31] = 92;
    //////////////////////////////////
    X[rbossr + 19][cbossr + 9] = 92;
    X[rbossr + 19][cbossr + 10] = '-';
    X[rbossr + 19][cbossr + 11] = '-';
    X[rbossr + 19][cbossr + 12] = '-';
    X[rbossr + 19][cbossr + 13] = '-';
    X[rbossr + 19][cbossr + 14] = '-';
    X[rbossr + 19][cbossr + 15] = '-';
    X[rbossr + 19][cbossr + 16] = '-';
    X[rbossr + 19][cbossr + 17] = '-';
    X[rbossr + 19][cbossr + 18] = '-';
    X[rbossr + 19][cbossr + 19] = '-';
    X[rbossr + 19][cbossr + 20] = 39;
    X[rbossr + 19][cbossr + 22] = 92;
    X[rbossr + 19][cbossr + 23] = '-';
    X[rbossr + 19][cbossr + 24] = '-';
    X[rbossr + 19][cbossr + 25] = '-';
    X[rbossr + 19][cbossr + 26] = '-';
    X[rbossr + 19][cbossr + 27] = '-';
    X[rbossr + 19][cbossr + 28] = '-';
    X[rbossr + 19][cbossr + 29] = '-';
    X[rbossr + 19][cbossr + 30] = '-';
    X[rbossr + 19][cbossr + 31] = '-';
    X[rbossr + 19][cbossr + 32] = 39;
    ////////////////////////////////////
}
void ersemlamp(int rlamp, int clamp, char X[][1330])
{
    X[rlamp][clamp + 5] = '.';
    X[rlamp][clamp + 6] = '-';
    X[rlamp][clamp + 7] = '-';
    X[rlamp][clamp + 8] = '-';
    X[rlamp][clamp + 9] = ',';
    /////////////////////////////////
    X[rlamp + 1][clamp + 5] = '(';
    X[rlamp + 1][clamp + 6] = '_';
    X[rlamp + 1][clamp + 7] = '_';
    X[rlamp + 1][clamp + 8] = '_';
    X[rlamp + 1][clamp + 9] = ')';
    /////////////////////////////////
    X[rlamp + 2][clamp + 5] = '(';
    X[rlamp + 2][clamp + 6] = '_';
    X[rlamp + 2][clamp + 7] = '_';
    X[rlamp + 2][clamp + 8] = '_';
    X[rlamp + 2][clamp + 9] = ')';
    /////////////////////////////////
    X[rlamp + 3][clamp + 5] = '|';
    X[rlamp + 3][clamp + 7] = '|';
    X[rlamp + 3][clamp + 9] = '|';
    /////////////////////////////////
    X[rlamp + 4][clamp + 3] = '.';
    X[rlamp + 4][clamp + 4] = 39;
    X[rlamp + 4][clamp + 6] = 92;
    X[rlamp + 4][clamp + 7] = 39;
    X[rlamp + 4][clamp + 8] = '/';
    X[rlamp + 4][clamp + 10] = '`';
    X[rlamp + 4][clamp + 11] = '.';
    /////////////////////////////////
    X[rlamp + 5][clamp + 1] = '.';
    X[rlamp + 5][clamp + 2] = 39;
    X[rlamp + 5][clamp + 5] = '+';
    X[rlamp + 5][clamp + 6] = 'v';
    X[rlamp + 5][clamp + 7] = 'v';
    X[rlamp + 5][clamp + 8] = 'v';
    X[rlamp + 5][clamp + 9] = '+';
    X[rlamp + 5][clamp + 12] = 39;
    X[rlamp + 5][clamp + 13] = '.';
    /////////////////////////////////
    X[rlamp + 6][clamp + 1] = '|';
    X[rlamp + 6][clamp + 13] = '|';
    /////////////////////////////////
    X[rlamp + 7][clamp + 2] = 92;
    X[rlamp + 7][clamp + 11] = '/';
    /////////////////////////////////
    X[rlamp + 8][clamp + 3] = 39;
    X[rlamp + 8][clamp + 4] = '.';
    X[rlamp + 8][clamp + 5] = '_';
    X[rlamp + 8][clamp + 6] = '_';
    X[rlamp + 8][clamp + 7] = '_';
    X[rlamp + 8][clamp + 8] = '_';
    X[rlamp + 8][clamp + 9] = '_';
    X[rlamp + 8][clamp + 10] = '.';
    X[rlamp + 8][clamp + 11] = '`';
    /////////////////////////////////
}
void main() {
    char X[64][1330];
    int rHero = 39, cHero = 20;
    int rWelcome = 28, cWelcome = 340;
    int clearr = 0;
    int rcloud = 3, ccloud = 10;
    int rcld = 3, ccld = 60;
    int csem;
    int rsem;
    int dirb = 2;
    int page = 0;
    int rselem = 100;
    int cselem = 100;
    int renm = 50, cenm = 150;
    char moveHero;
    int rbta = 18;
    int cbta = 100, cbta2 = 150, cbta3 = 200;
    int rs7ab = 3; int cs7ab = 150;
    int cumb = 43, rumd = 24;
    int renmr = 50, cenmr = 10;
    char d;
    int rbomb1 = 25, cbomb1 = 43;
    int rele = 45;
    int renm2 = 44; int cenm2 = 160;

    for (;;)
    {

        for (; !_kbhit();)
        {
            ClearAndDrawFixedObject(X, rWelcome, cWelcome);

            ersmtare2(X, 70, 30);
            ersemcloud(X, 15, 35);
            ersemcloud(X, 16, 90);
            ersemcloud(X, 15 ,150);
            //  ersmtaree2(X, 40, 170);
            ersmtare22(X, 50, 30);
            ele(45, 180, X);
            heart(17, 5, X);
            heart(17, 7, X);
            heart(17, 9, X);
            heart(17, 11, X);
            elet(40, 180, X);
            elet1(40, 190, X);
            drawEnemy2(44, 160, X);
            if (cenm > 10 && cenmr == 150)
            {
                drawEnemy2(renm2, cenm2, X);

                moveenem(renm2, cenm2, X);
            }
            ersembox(56, 60, X);
            dai(56, 60, X);
            dai(56, 62, X);
            dai(56, 64, X);
            dai(56, 66, X);
            ersemshamos(10, 6, X);
            ersemshok(40, 22, X);
            ersemshok(40, 120, X);
            ersemlamp(41, 90, X);
            ersembossrev(20, 4,X);
            CoutMatToScreen(X);
        }
    }
}
Leave a Comment