Commit c92959e2 authored by Bruno Freitas Tissei's avatar Bruno Freitas Tissei
Browse files

Merge branch 'Issue#2' of gitlab.c3sl.ufpr.br:bft15/boulder-dash-ASCII into Issue#2

parents 576a7d15 577307d5
000000000000000000000000000000000000000
011111111111111111111111111111111111110
010000000000000000000000000000000000010
010111100111101000011100011110111000010
010100010100101000010010010000100100010
010100010100101000010001011100101000010
010100100100101000010001011100110000010
010100010100101000010010010000101000010
010111100111101111011100011110100100010
010000000000000000000000000000000000010
010000000000011100000100011111010001010
010000000000010010001010010000010001010
010000000000010001010001011111011111010
010000000000010001011111000001011111010
010000000000010010010001000001010001010
010000000000011100010001011111010001010
010000000000000000000000000000000000010
011111111111111111111111111111111111110
000000000000000000000000000000000000000
00000000high0score:0######0000000000000
00000000last000000:0######0000000000000
0000<0>00000000cave0a000000000000000000
000000000000000000000000000000000enter0
#include<menu.h>
char one[3][6] = {" ",
" -| ",
" _|_ "};
char two[3][6] = {" __ ",
" __] ",
" |__ "};
char three[3][6] = {" __ ",
" __] ",
" __] "};
char four[3][6] = {" ",
" /_| ",
" | "};
char five[3][6] = {" __ ",
" |__ ",
" __] "};
char six[3][6] = {" __ ",
" |__ ",
" [__] "};
char seven[3][6] = {" ___ ",
" / ",
" / "};
char eight[3][6] = {" __ ",
" [__] ",
" [__] "};
char nine[3][6] = {" __ ",
" [__] ",
" _/ "};
char zero[3][6] = {" __ ",
" | | ",
" |__| "};
char a[3][6] = {" __ ",
" |__| ",
" | | "};
char b[3][6] = {" __ ",
" | ) ",
" |__) "};
char c[3][6] = {" __ ",
" | ",
" |__ "};
char d[3][6] = {" __ ",
" | \ ",
" |__/ "};
char e[3][6] = {" __ ",
" |__ ",
" |__ "};
char g[3][6] = {" __ ",
" | _ ",
" |__| "};
char h[3][6] = {" ",
" |__| ",
" | | "};
char i[3][6] = {" ___ ",
" | ",
" _|_ "};
char l[3][6] = {" ",
" | ",
" |__ "};
char n[3][6] = {" ",
" |\ | ",
" | \| "};
char r[3][6] = {" __ ",
" |__| ",
" | \ "};
char s[3][6] = {" __ ",
" |__ ",
" __| "};
char t[3][6] = {" ___ ",
" | ",
" | "};
char v[3][6] = {" ",
" \ / ",
" \/ "};
char <[3][6] = {" ",
" /___ ",
" \ "};
char >[3][6] = {" ",
" ___\ ",
" / "};
void readFileMenu(menu *menu) {
int i, j;
menu->sprite = fopen("./sprites/menu.txt", "r");
for (i = 0; i < HEIGHT; i++) {
fscanf(menu->sprite, "%s", input);
for (j = 0; j < WIDTH; j++) {
menu->grid[j][i] = input[j];
}
}
fclose(m->sprite);
getmaxyx(stdscr, row, col);
offmenuy = (row / 2) - (12 * 3);
offmenux = (col / 2) - (20 * 6);
}
void HandleMenu(){
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment