| 115 | |
| 116 | |
| 117 | void F_Start() { |
| 118 | |
| 119 | F_Map(); |
| 120 | if ((x % 2 == 0) && sf::Keyboard::isKeyPressed(sf::Keyboard::Key::Space)) { |
| 121 | //sound_Rington.play(); |
| 122 | window.clear(); |
| 123 | window.display(); |
| 124 | Sleep(0700); Sleep(0700); Sleep(0700); |
| 125 | x++; |
| 126 | F_Logic(); |
| 127 | F_Start(); |
| 128 | } |
| 129 | else if (x % 2 == 1) { |
| 130 | //sound_Rington.play(); |
| 131 | window.clear(); |
| 132 | window.display(); |
| 133 | Sleep(0700); Sleep(0700); Sleep(0700); |
| 134 | x++; |
| 135 | F_Logic(); |
| 136 | F_Start(); |
| 137 | } |
| 138 | else F_Start(); |
| 139 | } |
| 140 | |
| 141 | |
| 142 | void F_Loading() { |