summaryrefslogtreecommitdiffstats
path: root/veh_models.hpp
blob: 165715a6dde6991ef5e2d907df61012d396e90b5 (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
#ifndef ASCIIROAD_VEHMODELS_H
#define ASCIIROAD_VEHMODELS_H

#define SUPPORT_CHAR ' '

enum vehicle_types {
	veh_default,
	veh_ems,
	veh_cabriolet,
	veh_bus,
	veh_zaz,
	veh_landrover,
	veh_police,
	veh_smalltruck,
	veh_bigtruck,
	veh_bicycle,
	veh_manipulator,
	veh_camper,
	veh_types_max
};

struct vehicle_info {
	const char * const *model;
	int length;
	int height;
};

/* SUPPORT_CHAR use only for support rectangular array */ 
const char * const veh_default_model[] = {
	"  ______     ",
	" /|_||_\\`.__ ",
	"(   _    _ _\\",
	//"(___________\\",
	"=`-(_)--(_)-'"
};

const char * const veh_ems_model[] = {
	"o____________<0>      ",
	"|           |@  \\     ",
	"|   EMS     ||_/_\\__  ",
	"|-----------|       | ",
	"|  _        |    _  []",
	"`-(_)-----------(_)-' "
};

const char * const veh_cabriolet_model[] = {
	"       @  \\       ",
	" ______|_/_>____  ",
	"/  _\\<>    |  _ \\ ",
	"`-(_)--------(_)-]"
};

const char * const veh_bus_model[] = {
	" _____________________   ",
	"|   |     |     | |@  \\  ",
	"|___|_____|_____|_||_/_\\ ",
	"|   _  _        | |_    \\",
	"`--(_)(_)---------(_)---'"
};

const char * const veh_zaz_model[] = {
	"     _____      ",
	" ___/__|__\\____ ",
	"|  _   |    _ o)",
	"`-(_)------(_)-'"
};

const char * const veh_landrover_model[] = {
	"         ___      ",
	" _______|___\\____ ",
	"|o  _   |-  | _ o)",
	"`--(_)-------(_)' "
};

const char * const veh_police_model[] = {
	" ________<o>_      ",
	"|___][__][__\\\\____ ",
	"|o _  PD |-  |_  o)",
	"`-(_)--------(_)-' "
};

const char * const veh_smalltruck_model[] = {
	" __________   ___   ",
	"|          | |__\\\\_ ",
	"|  _    _  |-|  _  |",
	"`-(_)--(_)-' `-(_)-'"
};

const char * const veh_bigtruck_model[] = {
	" __________   __________   ___   ",
	"|          | |          | |__\\\\_ ",
	"|  _    _  |-|  _    _  |-|  _  |",
	"`-(_)--(_)-' `-(_)--(_)-' `-(_)-'"
};

const char * const veh_bicycle_model[] = {
	"   @    ",
	"  / \\>  ",
	" _I--.\\ ",
	"(_))\"(_)"
};

const char * const veh_manipulator_model[] = {
	"        ..  ",
	"       //\\\\ ",
	"   _  //  \\\\",
	" _[_]//  (_/",
	"|_____|     ",
	"(O_o_O)     "
};

const char * const veh_camper_model[] = {
	" ______________   ",
	"|            __]  ",
	"|  [] [] [] |_\\__ ",
	"|                ]",
	"`--(_)-------(_)-'"
};

const struct vehicle_info veh_info[] = {
	{veh_default_model, 13, 4},
	{veh_ems_model, 22, 6},
	{veh_cabriolet_model, 18, 4},
	{veh_bus_model, 25, 5},
	{veh_zaz_model, 16, 4},
	{veh_landrover_model, 18, 4},
	{veh_police_model, 19, 4},
	{veh_smalltruck_model, 20, 4},
	{veh_bigtruck_model, 33, 4},
	{veh_bicycle_model, 8, 4},
	{veh_manipulator_model, 12, 6},
	{veh_camper_model, 18, 5}
};

#endif /* ASCIIROAD_VEHMODELS_H */