-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.cpp
57 lines (51 loc) · 1.03 KB
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#include <Windows.h>
#include<Mmsystem.h>
#pragma comment(lib,"winmm.lib")
#include <iostream>
#include <vector>
#include <cstdlib>
#include <ctime>
#include <thread>
#include <chrono>
#include <windows.h>
#include <conio.h>
#include"mainPlot1.cpp"
#include"mainPlot2.cpp"
#include"mainPlot3.cpp"
#include"mainPlot4.cpp"
#include"mainPlot5.cpp"
#include"gm1.h"
#include"gm1.cpp"
#include"game2.h"
#include"game2.cpp"
#include"game3.cpp"
#include"game4.cpp"
using namespace std;
int main()
{
PlaySound(TEXT("song.wav"), NULL, SND_FILENAME | SND_ASYNC);
system("color 0A");
Plot1();
Game game;
game.startGame();
system("cls");
Plot2();
system("cls");
game2();
PlaySound(TEXT("song1.wav"), NULL, SND_FILENAME | SND_ASYNC);
Plot3();
system("cls");
bool t = false;
while(!t)
{
system("cls");
point21 a;
t = a.game_start();
}
PlaySound(TEXT("song2.wav"), NULL, SND_FILENAME | SND_ASYNC);
Plot4();
game_power gm4;
gm4.start();
system("cls");
Plot5();
}