-
Notifications
You must be signed in to change notification settings - Fork 0
/
macros.hpp
69 lines (58 loc) · 3.17 KB
/
macros.hpp
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* macros.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jochang <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/10/07 13:03:03 by jochang #+# #+# */
/* Updated: 2018/10/07 20:57:16 by jochang ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef MACROS_HPP
#define MACROS_HPP
/****** WINDOW *******/
#define WIN_WIDTH 101
#define WIN_HEIGHT 39
#define CHAR_WIDTH 12
#define CHAR_HEIGHT 3
#define ENEMY_WIDTH 17
#define ENEMY_HEIGHT 5
#define ENEMY_SPEED 1
#define BULLET_SPEED 3
/****** SPRITES ******/
//https://www.asciiart.eu/vehicles/choppers
#define PLAYER_SPRITE1 " -----|-----"
#define PLAYER_SPRITE2 "*>=====[_]L)"
#define PLAYER_SPRITE3 " -'-`-"
//https://www.asciiart.eu/animals/fish
#define ENEMY_SPRITE1 " ,-,"
#define ENEMY_SPRITE2 " ,/.( __"
#define ENEMY_SPRITE3 " ,-' `!._/ /"
#define ENEMY_SPRITE4 " > @ )<| _ <"
#define ENEMY_SPRITE5 " `-....,,;' \\_\\"
//http://www.ascii-art.de/ascii/s/sharks.txt
#define SHARK_SPRITE_WKM1 " _.-\"{ _.-"
#define SHARK_SPRITE_WKM2 " .-*'`` ``*---..-i__.-`:'"
#define SHARK_SPRITE_WKM3 ".'* (( , _ .---._\\"
#define SHARK_SPRITE_WKM4 " `-'.._'._(__...--*\"` `\" ``"
//https://www.asciiart.eu/space/aliens
#define BOSS_SPRITE_1 " \\. \\. __,-\"-.__ ./ ./"
#define BOSS_SPRITE_2 " \\. \\`. \\`.-'\"\" _,=\"=._ \"\"`-.'/ .'/ ./"
#define BOSS_SPRITE_3 " \\`. \\_`-'' _,=\"=._ ``-'_/ .'/"
#define BOSS_SPRITE_4 " \\ `-',-._ _. _,=\"=._ ,_ _.-,`-' /"
#define BOSS_SPRITE_5 " \\. /`,-',-._\"\"\" \\ _,=\"=._ / \"\"\"_.-,`-,'\\ ./"
#define BOSS_SPRITE_6 " \\`-' / `-._ \" \" _.-' \\ `-'/"
#define BOSS_SPRITE_7 " /) ( \\ ,-. / ) (\\"
#define BOSS_SPRITE_8 " ,-'\" `-. \\ / \\ / .-' \"`-,"
#define BOSS_SPRITE_9 " ,'_._ `-.____/ / _ \\ \\____.-' _._`,"
#define BOSS_SPRITE_10 " /,' `. \\_/ \\_/ .' `,\\"
#define BOSS_SPRITE_11 "/' ) _ ( `\\"
#define BOSS_SPRITE_12 " / _,-'\"`-. ,++|T|||T|++. .-'\"`-,_ \\"
#define BOSS_SPRITE_13 " / ,-' \\/|`|`|`|'|'|'|\\/ `-, \\"
#define BOSS_SPRITE_14 " /,' | | | | | | | `,\\"
#define BOSS_SPRITE_15 " /' ` | | | | | ' `\\"
#define BOSS_SPRITE_16 " ` | | | '"
#define BOSS_SPRITE_17 " ` | '"
#define BULLET_SPRITE1 "o"
#endif