- #pragma once
- #include <iostream>
- #include <conio.h>
- #define left (75) //Âëåâî Ñòðåëêà âëåâî 75
- #define right (77) //Âïðàâî Ñòðåëêà âïðàâî 77
- #define up (72) //Ââåðõ Ñòðåëêà ââåðõ 72
- #define down (80) //Âíèç Ñòðåëêà âíèç 80
- #define esc (27) //Âûõîä èç èãðû ESC 27
- #define stop __asm nop
- extern char key;// äëÿ ââîäà êîäà ñèìâîëà ñ êëàâèàòóðû
- extern char keep_direct; // äëÿ ñîõðàíåíèÿ ñèìâîëà íàïðàâëåíèÿ äâèæåíèÿ.
- //extern int _getch(void); // ïîëó÷àåò ñèìâîë èç êîíñîëè áåç îòîáðàæåíèÿ
|