Commit 0d6905ba authored by Ivo Júnior's avatar Ivo Júnior
Browse files

Adicionado Map3, adicionado creditos na tela incial com as respectivas letras no utils

parent 43ecb49d
650 650 650
0 0 0
412 228 136
1000 988 0
400 400 400
200 200 200
600 0 600
0000000000000000000000000000000000000000
1111111111111111111111111111111111111111
162wz2w662w2226w62262222w2226222226w2721
1225w27262z222wzw22z262222622626222z2z61
12222w22672262222w2222262wz62222222w2wz1
172z22z6z62262222z22262222226266222222w1
162w222w2262wz2262wz722222226266222222z1
1662262222z222622222262662222226227zw221
12262wz226266222w22226266222222w2262z261
122z222722222272622zw62262z2z622z6227261
16262222w2wz2272622wz62262272w222w2262w1
1262zw2222266z62272z2z622z6222z622726221
1w2zw22222266w62262w2wz222w2262wz2262wz1
12z26262z222wz62262222w222622222wz262zw1
12w26262w272z2w622w6222262262662222w2221
1z22z6z62262222z2227222z26z222222z2zw271
1w222zw622w27222w62262622262w6222222z221
1z27222262zw2262zw6222222262z6222222w221
12262222w22262222226266222222w2262w222w1
162zw2262zw222z22226266222222z2267226224
1w222622222262672222226222wz22w62272w221
166222z222226267222222z2262w72726z262221
1111111111111111111111111111111111111111
1000 1000 1000
0 0 0
0 0 1000
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!@
@!###################################!@
@!#!!!!##!!!!#!####!!!###!!!!#!!!####!@
......@@ -19,8 +18,10 @@
@!###########!!!###!###!#!!!!!#!###!#!@
@!###################################!@
@!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!@
@creators:@ivo@@@@@@@@e@@bruno@@@@@@@@@
@@@@@@@@@@@@@@junior@@@@@@@@@tissei@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@high@score:@@@@@@@@@@@@@@@@@@@@
@@@@@@@@last@@@@@@:@@@@@@@@@@@@@@@@@@@@
@@@@<@>@@@@@@@@cave@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@enter@
@@@@@@@@@@@@@@cave:@@@@@@@<@>@@@@enter@
......@@ -51,18 +51,18 @@ int updateMenu(menu *menu, int action) {
switch(action){
case 6:
currmap = (currmap + 1) % 5;
menu->grid[21][21] = mps[currmap];
menu->grid[21][22] = mps[currmap];
break;
case 4:
currmap = currmap == 0 ? 4 : currmap - 1;
menu->grid[21][21] = mps[currmap];
menu->grid[21][22] = mps[currmap];
break;
case 1:
buffer = currmap;
break;
default:
menu->grid[21][21] = mps[currmap];
menu->grid[21][22] = mps[currmap];
break;
}
return buffer;
......@@ -71,19 +71,19 @@ int updateMenu(menu *menu, int action) {
void renderMenu(menu *menu){
int i, j;
menu->grid[21][19] = ((menu->high / 100000) % 10) + '0';
menu->grid[22][19] = ((menu->high / 10000) % 10) + '0';
menu->grid[23][19] = ((menu->high / 1000) % 10) + '0';
menu->grid[24][19] = ((menu->high / 100) % 10) + '0';
menu->grid[25][19] = ((menu->high / 10) % 10) + '0';
menu->grid[26][19] = (menu->high % 10) + '0';
menu->grid[21][20] = ((menu->high / 100000) % 10) + '0';
menu->grid[22][20] = ((menu->high / 10000) % 10) + '0';
menu->grid[23][20] = ((menu->high / 1000) % 10) + '0';
menu->grid[24][20] = ((menu->high / 100) % 10) + '0';
menu->grid[25][20] = ((menu->high / 10) % 10) + '0';
menu->grid[26][20] = (menu->high % 10) + '0';
menu->grid[21][20] = ((menu->last / 100000) % 10) + '0';
menu->grid[22][20] = ((menu->last / 10000) % 10) + '0';
menu->grid[23][20] = ((menu->last / 1000) % 10) + '0';
menu->grid[24][20] = ((menu->last / 100) % 10) + '0';
menu->grid[25][20] = ((menu->last / 10) % 10) + '0';
menu->grid[26][20] = (menu->last % 10) + '0';
menu->grid[21][21] = ((menu->last / 100000) % 10) + '0';
menu->grid[22][21] = ((menu->last / 10000) % 10) + '0';
menu->grid[23][21] = ((menu->last / 1000) % 10) + '0';
menu->grid[24][21] = ((menu->last / 100) % 10) + '0';
menu->grid[25][21] = ((menu->last / 10) % 10) + '0';
menu->grid[26][21] = (menu->last % 10) + '0';
for (i = 0; i < WIDTH; i++) {
for (j = 0; j < HEIGHT; j++) {
......@@ -97,59 +97,65 @@ void renderMenu(menu *menu){
case('#'):
renderChar(empty, i, j, offmenux, offmenuy, 3);
break;
case('h'):
renderChar(H, i, j, offmenux, offmenuy, 2);
case('<'):
renderChar(SL, i, j, offmenux, offmenuy, 2);
break;
case('i'):
renderChar(I, i, j, offmenux, offmenuy, 2);
case('>'):
renderChar(SR, i, j, offmenux, offmenuy, 2);
break;
case('g'):
renderChar(G, i, j, offmenux, offmenuy, 2);
case(':'):
renderChar(DOTS, i, j, offmenux, offmenuy, 2);
break;
case('s'):
renderChar(S, i, j, offmenux, offmenuy, 2);
case('a'):
renderChar(A, i, j, offmenux, offmenuy, 2);
break;
case('o'):
renderChar(zero, i, j, offmenux, offmenuy, 2);
case('b'):
renderChar(B, i, j, offmenux, offmenuy, 2);
break;
case('r'):
renderChar(R, i, j, offmenux, offmenuy, 2);
case('c'):
renderChar(C, i, j, offmenux, offmenuy, 2);
break;
case('d'):
renderChar(D, i, j, offmenux, offmenuy, 2);
break;
case('e'):
renderChar(E, i, j, offmenux, offmenuy, 2);
break;
case('g'):
renderChar(G, i, j, offmenux, offmenuy, 2);
break;
case('h'):
renderChar(H, i, j, offmenux, offmenuy, 2);
break;
case('i'):
renderChar(I, i, j, offmenux, offmenuy, 2);
break;
case('j'):
renderChar(J, i, j, offmenux, offmenuy, 2);
break;
case('l'):
renderChar(L, i, j, offmenux, offmenuy, 2);
break;
case('a'):
renderChar(A, i, j, offmenux, offmenuy, 2);
case('n'):
renderChar(N, i, j, offmenux, offmenuy, 2);
break;
case('b'):
renderChar(B, i, j, offmenux, offmenuy, 2);
case('o'):
renderChar(zero, i, j, offmenux, offmenuy, 2);
break;
case('d'):
renderChar(D, i, j, offmenux, offmenuy, 2);
case('r'):
renderChar(R, i, j, offmenux, offmenuy, 2);
break;
case('s'):
renderChar(S, i, j, offmenux, offmenuy, 2);
break;
case('t'):
renderChar(T, i, j, offmenux, offmenuy, 2);
break;
case('<'):
renderChar(SL, i, j, offmenux, offmenuy, 2);
break;
case('>'):
renderChar(SR, i, j, offmenux, offmenuy, 2);
break;
case('c'):
renderChar(C, i, j, offmenux, offmenuy, 2);
case('u'):
renderChar(U, i, j, offmenux, offmenuy, 2);
break;
case('v'):
renderChar(V, i, j, offmenux, offmenuy, 2);
break;
case('n'):
renderChar(N, i, j, offmenux, offmenuy, 2);
break;
case(':'):
renderChar(DOTS, i, j, offmenux, offmenuy, 2);
break;
case('1'):
renderChar(one, i, j, offmenux, offmenuy, 2);
......
......@@ -20,11 +20,13 @@ char E[3][6] = {" __ ", " |__ ", " |__ "};
char G[3][6] = {" __ ", " | _ ", " |__| "};
char H[3][6] = {" ", " |__| ", " | | "};
char I[3][6] = {" ___ ", " | ", " _|_ "};
char J[3][6] = {" ___ ", " | ", " |_| "};
char L[3][6] = {" ", " | ", " |__ "};
char N[3][6] = {" ", " |\\ | ", " | \\| "};
char R[3][6] = {" __ ", " |__| ", " | \\ "};
char S[3][6] = {" __ ", " |__ ", " __| "};
char T[3][6] = {" ___ ", " | ", " | "};
char U[3][6] = {" ", " | | ", " |__| "};
char V[3][6] = {" ", " \\ / ", " \\/ "};
char SL[3][6] = {" ", " /___ ", " \\ "};
char SR[3][6] = {" ", " ___\\ ", " / "};
......
......@@ -33,11 +33,13 @@ char E[3][6];
char G[3][6];
char H[3][6];
char I[3][6];
char J[3][6];
char L[3][6];
char N[3][6];
char R[3][6];
char S[3][6];
char T[3][6];
char U[3][6];
char V[3][6];
char SL[3][6];
char SR[3][6];
......
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