-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTank.cpp
More file actions
43 lines (32 loc) · 823 Bytes
/
Tank.cpp
File metadata and controls
43 lines (32 loc) · 823 Bytes
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
// Tank.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <iostream>
#include<graphics.h>
#include<conio.h>
#include<Windows.h>
#include<time.h>
#include<winerror.h>
#include"menu.hpp"
#include"change_pos_data.hpp"
#include"initmap.hpp"
#include"tank_move.hpp"
#include"bullet_act.hpp"
#include"bullet_hit_wall.hpp"
#include"init_tank_pos.hpp"
#include"control_tank_move.hpp"
#include"result_show.hpp"
//void getimage(IMAGE img, const char[] path, int width, int length) {
// loadimage(&img, _T("path"), width, length);
//}
//void bullet_hit_wall(int x,int y,bullet* bullet);
int main()
{
int res ;
//初始化绘图窗口
initgraph(650,650);
menu();
initmap();
res = init_tank_pos();
result_show(res);
system("pause");
}