narnaud
2 years ago
14 changed files with 501 additions and 90 deletions
Binary file not shown.
@ -0,0 +1,93 @@ |
|||
/* ************************************************************************** */ |
|||
/* */ |
|||
/* ::: :::::::: */ |
|||
/* mlx_1.c :+: :+: :+: */ |
|||
/* +:+ +:+ +:+ */ |
|||
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */ |
|||
/* +#+#+#+#+#+ +#+ */ |
|||
/* Created: 2022/08/25 14:14:46 by narnaud #+# #+# */ |
|||
/* Updated: 2022/08/25 14:18:18 by narnaud ### ########.fr */ |
|||
/* */ |
|||
/* ************************************************************************** */ |
|||
|
|||
#include "../../includes/cub3d.h" |
|||
|
|||
#ifdef __linux__ |
|||
|
|||
void init_window(t_env *env) |
|||
{ |
|||
void *mlx; |
|||
void *window; |
|||
|
|||
mlx = mlx_init(); |
|||
env->mlx = mlx; |
|||
window = mlx_new_window(mlx, WIN_X_SZ, WIN_Y_SZ, "Cub3D"); |
|||
env->win = window; |
|||
mlx_mouse_hide(mlx, win); |
|||
} |
|||
|
|||
int mouse_move_hook(int x, int y, t_env *env) |
|||
{ |
|||
int dx; |
|||
|
|||
(void)y; |
|||
dx = WIN_X_SZ / 2 - x; |
|||
if (dx) |
|||
env->playerDir = dvec_rot(env->playerDir, |
|||
(double)(-M_PI * dx / 1800.0), 1); |
|||
mlx_mouse_move(env->mlx, env->win, WIN_X_SZ / 2, WIN_Y_SZ / 2); |
|||
return (1); |
|||
} |
|||
|
|||
#elif __APPLE__ |
|||
|
|||
void init_window(t_env *env) |
|||
{ |
|||
void *mlx; |
|||
void *window; |
|||
|
|||
mlx = mlx_init(); |
|||
env->mlx = mlx; |
|||
window = mlx_new_window(mlx, WIN_X_SZ, WIN_Y_SZ, "Cub3D"); |
|||
env->win = window; |
|||
mlx_mouse_hide(); |
|||
} |
|||
|
|||
int mouse_move_hook(int x, int y, t_env *env) |
|||
{ |
|||
int dx; |
|||
|
|||
(void)y; |
|||
dx = WIN_X_SZ / 2 - x; |
|||
if (dx) |
|||
env->playerDir = dvec_rot(env->playerDir, |
|||
(double)(-M_PI * dx / 1800.0), 1); |
|||
mlx_mouse_move(env->win, WIN_X_SZ / 2, WIN_Y_SZ / 2); |
|||
return (1); |
|||
} |
|||
#endif |
|||
|
|||
void init_game(t_env *env) |
|||
{ |
|||
int y; |
|||
|
|||
y = 0; |
|||
while (y < 5) |
|||
{ |
|||
env->tex[y].img = mlx_xpm_file_to_image(env->mlx, |
|||
env->tex[y].file, &env->tex[y].width, &env->tex[y].height); |
|||
env->tex[y].buffer = (int *)mlx_get_data_addr(env->tex[y].img, \ |
|||
&env->tex[y].pixel_bits, |
|||
&env->tex[y].line_bytes, |
|||
&env->tex[y].endian); |
|||
env->tex[y].line_bytes /= 4; |
|||
y++; |
|||
} |
|||
env->img = mlx_new_image(env->mlx, WIN_X_SZ, WIN_Y_SZ); |
|||
env->buffer = (int *)mlx_get_data_addr(env->img, \ |
|||
&env->pixel_bits, &env->line_bytes, &env->endian); |
|||
env->line_bytes /= 4; |
|||
mlx_hook(env->win, 2, 1L << 0, key_press_hook, env); |
|||
mlx_hook(env->win, 3, 1L << 1, key_release_hook, env); |
|||
mlx_hook(env->win, 6, 0L, mouse_move_hook, env); |
|||
} |
@ -0,0 +1,96 @@ |
|||
/* XPM */ |
|||
static char *_b5a7e7efb414f3bb578ade0f180d64bkrjcui0RVaKIC1jq[] = { |
|||
/* columns rows colors chars-per-pixel */ |
|||
"64 64 26 1 ", |
|||
" c #202020", |
|||
". c #2C2C2C", |
|||
"X c gray19", |
|||
"o c #343434", |
|||
"O c gray22", |
|||
"+ c #000040", |
|||
"@ c #00004C", |
|||
"# c #000058", |
|||
"$ c #000064", |
|||
"% c #000070", |
|||
"& c #00007C", |
|||
"* c gray25", |
|||
"= c #484848", |
|||
"- c #4C4C4C", |
|||
"; c gray33", |
|||
": c gray36", |
|||
"> c #646464", |
|||
", c #000088", |
|||
"< c #000098", |
|||
"1 c #0000A4", |
|||
"2 c #0000B0", |
|||
"3 c #0000BC", |
|||
"4 c #0000C8", |
|||
"5 c #0000D4", |
|||
"6 c #0000E0", |
|||
"7 c #0000EC", |
|||
/* pixels */ |
|||
"OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO", |
|||
";O;=====;======;=O=======;;;;;;=========;;;;;;;====OOO==;;=====O", |
|||
"O775555555551==;775555555555555555551=O;77776666665555544443331=", |
|||
"=74225,15,41$.=;73,3,3,3&3<3<3&3&341%.=O51424224%4&424,21&4<41&.", |
|||
"=51&1,1<%1,%$.=;53,,1,%11%<11%<1%1<%#.=;511&$1,%,1&,11,1&,1#1%$.", |
|||
"=5&11%<11%1#+.=;5,31,1%1,1%1%,&1%<&%#.==5%1$,1$1%1&1,1$1<&1&1%@.", |
|||
"=41&,<&1%,1%+.=;33,1,,<1%,%1,%<&,%1%+.O=3%1&1,$1%%11%1,11&1#1,@.", |
|||
"=3&11%1<%<%#+.==34,1%1%1%1%<,%&1%<&%#.O=3<1$,1&,%,&1,1$1&,1&1%+.", |
|||
"=31%,#%&#%,%+.O;<<%%@,%%,%@%,%,%@,%%+.O=3%%#%%@,@%#,@%@,$@%,%,+.", |
|||
"=&$$$++++++++.O=&$$#########+++++++++.O=,$$$$$$$$$$#########+++.", |
|||
"==........ .O;=..... .. .....=;O........... .......", |
|||
";OOOO====OOOOO=O=======OOO;===OO======;O=;;;;:>>:;;==*O*;O;===;O", |
|||
"7555333333333331=;=7755555544444443333333333333333331=*;77555555", |
|||
"2,,2<&2&<,2$2,1+O=;7%24&3$,3,,4<1,&,1,1,1&4$4,<34<41+O=O74&2,2,2", |
|||
",1,1&,,$1,$,11%+.==52%1&11,1$1%$,1&1&1$11,$1,1%,1%1%+O=;42&1,&1<", |
|||
"%11,<$1&,,<$1,%+.O=5%1,<,,$,,%1,$1,&$&,,1#,&1%1%11%%+.*=4&111&1&", |
|||
"1,,1,&&,&1<$1$%+.O=5%11&1$,1$%1$,1&,&1$1,#1$1%,%1%1%+.O=42&1&1<&", |
|||
"%1$1%,&<$1$,11%+.=;52#1&1,$,#,%$1,&#&1$,#,1$,1%,1%1%+ O=2&11#1&,", |
|||
"%2$%@&%<%<%#<%%+.=;21%,#%<%,$%,#%<%<$,%,,#<%%,@%<%,%+ *;21&%#%<%", |
|||
"+@@@@@@@@@@@@+++O=;1$$$$$$$$$$$$$##################++ =O1$+$++$+", |
|||
"... ... ... .O=O=Oo......ooOOo... ... .....O=;=.......", |
|||
";;=OO=;O;O==OOOO==;===*O*O*O*===;O;=*OOO**==;*OO*===;=;O;*O*;===", |
|||
";775555555333333333333333331=;;77555555555533333333333333333331=", |
|||
";7,23&3&3&2,2,24,2,2,32$24%+O=;73%512,12,2<2&$1,%,1&,1<,1&,1#1+.", |
|||
"O72,1<1&%,11,<,1,$1%1,$,1%2+.=:53<1$1$,%<,$1$,1$1%1&1,1$1<&1&%+.", |
|||
"=3$11%,#1$1%1,<1$,1%,1,$&1%+.;>53&1&1$1%<1&1&1,$1%%1<%<,11&1#%+.", |
|||
"=32,1@1#%,1,%&1&,$&1$1,$1%#+.;:5%1%<,$,<%1$,$,1&,%,&1,1$1&,1&%+.", |
|||
";3%$1@,&1$1#1$1,$,1,$1$,&&2+.=;54%1%1,1,%1$1#%%@1@1#1@11,$@%,%+.", |
|||
"=41$%%%#%@%%,$,%%,%%$%<%<%%+.O;41%<%,#%%%%$,%,@1#%1@%,@1#1@1%%+.", |
|||
"=1<$$$$$$$$$$$$$$@@@@@@@@@++.O;1$$$$$$$$$$$$$$############+#&#+.", |
|||
"==O.................OOO......===........ .OOO. ...........", |
|||
";;;;;==O=OOO=;>>;;;===**OO*OO*;===;O;=;=*O*O*=;;==*O*===;O;===;O", |
|||
"33333333331=O;55555555333333333333333331=;;475555555553333333333", |
|||
"1212<42241+O=O51$1%11$1,11%1,$11$11%1&1+O=;51&1%11$1&,&1%1,1&1%1", |
|||
"1&,1<1&1,%+.=;5$1&,1&1<%1,,%,,1,$1%,1$1+O;;51#1%1,$1,1&,,<%<&<,%", |
|||
",&1<&1&<1%+.=O5$11&<1%1%1,1#1@,,1,%<1&1+O;>51&1%1,1,11&1%<,1<&1%", |
|||
"1,&1<1<&,%+O=;5<$1&1&#<,,,%,1$1,$,<%,1&+O;>5&11%1$11&&1&1,<<,&%,", |
|||
"1,&1&1&<1%+O==5$1&#<1%,,1,1%,@$<$1<%1&1+O=;41&11%1,,&1&1%<,1&,1%", |
|||
"%%,<%%<%%%+O==<$11#1&%1%1$1#,$1,$<%<1$&+.=;41#1%11,1,1&1%<%<&11%", |
|||
"++@@@@@@@++.==1$$$$$$$$$##############++.==1$$$$$$$$$$$$$$$####+", |
|||
"............=;=. ..OOO. .........O===....OO=O.. .......", |
|||
";=;O=OO==OOOO==OOO=====;;==OOO;===;O=O=O==;=;O;=;:>;-==O;=;=;O;O", |
|||
"O7555555533333333333333333333331O;O7755555555333333333333333331=", |
|||
";51,,1$11&<1&1%,1$1&1,1$1$11&%1+O=;711$1$1#1%1#1,#<,%1,&1&<%,1+.", |
|||
"=51$1,$1,<&1$,#1<$1#,<,$1&1&1%<+.==5,1$,$&#,#<&1#1$1%,%1,&<1$,+.", |
|||
"=5,$1$,%$1$1,&,1$<,,#&1@<#,$,,%+.O=5,1$$,1&#<1#1%%1%1&1%,$1+.", |
|||
"O51,1,$1,&<1&1#,1$1#,1#<1&111%&+.O=51$1,$1#1%<&&#,$1&,<,<&%1,1+.", |
|||
";51$,1$1$1$1$1%1$$1#,&1&,$<$,%1+ O;51$$1$#1#<#1$,%1%&1&<,$%+.", |
|||
"O41$1$,%,<&1,,,1<$,&#$1@1%<&1%1+ O;4%1$,$1#&1&#<%,$1%1%1&<%1$1+.", |
|||
";1$$$$$$$$$@@@@@@@@@@@@@@@@@@@@+.=;1$$$$$$$$$#####@@@@@@@@@@@++.", |
|||
"O=..........OOO. ... .. ..=O=...... .oOo. .... ......", |
|||
";O;O;=;====;>>;=;O;=;=*OOO*=;==O==;O;========-;;;-====OX XO==;=", |
|||
"555553333333333331=;=77555555553333333333333331=O;75555533333333", |
|||
"&1#11$<$1&4&1$1&1+.==51111$1@1&1$1$1<1$1$1#1%$+O=;51$,1#1%1%1$1%", |
|||
"1&&1&1$<&$1#&$,$,+.==5&1%1$%@&<&1,$,<$&,%,#1$1+o=;5$1#1%1%,1%1,@", |
|||
"1&#&1$<$&1,$<&+.=*5&&%1$&&1#1@11$1$1$,#,,$%+.=;5$1%%11,%,%$%,", |
|||
"&<#<$$1$1&1#&%$1$+.=*51@%1$1@1&<$1$,&$1$1,#%<$+.=;51$#1,%%1%1$%1", |
|||
"$1&1$1$,1$1&#,1&,+.=*5@11$1&%,#&@1$1$&&$,%#,%$+.==5$1,1%1,%%#1%1", |
|||
"$1&&$<<$<$$1$<+.==5@1%1$&&,@<$,@1&$1,$1#1#,+.O=5$1#%#1%1%#$1@", |
|||
"&<#1$$,$&&1#1$%,&+.=;41@%1$1@,$1$1%$1$&1$,%,$,+.O=4$$#1#1%1%1$1%", |
|||
"@@@@@@@@@@@@@@@@++.==1+++++@@@@@@@@@@@@@@@@@@++ =;1++@@@@@@@@@@@", |
|||
"...................=;=Ooo.............. . O==...... ..", |
|||
"O;O;OOO=====;;O====;;;;;===;===;==O===*OO*OO*=*O*;==O;====*O*===", |
|||
";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" |
|||
}; |
@ -0,0 +1,96 @@ |
|||
/* XPM */ |
|||
static char *_b5a7e7efb414f3bb578ade0f180d64bkrjcui0RVaKIC1jq[] = { |
|||
/* columns rows colors chars-per-pixel */ |
|||
"64 64 26 1 ", |
|||
" c #202020", |
|||
". c #2C2C2C", |
|||
"X c gray19", |
|||
"o c #343434", |
|||
"O c gray22", |
|||
"+ c #400000", |
|||
"@ c #4C0000", |
|||
"# c #580000", |
|||
"$ c #640000", |
|||
"% c #700000", |
|||
"& c #7C0000", |
|||
"* c gray25", |
|||
"= c #484848", |
|||
"- c #4C4C4C", |
|||
"; c gray33", |
|||
": c gray36", |
|||
"> c #646464", |
|||
", c #885000", |
|||
"< c #985000", |
|||
"1 c #A45000", |
|||
"2 c #B05000", |
|||
"3 c #BC5000", |
|||
"4 c #C85000", |
|||
"5 c #D45000", |
|||
"6 c #E05000", |
|||
"7 c #EC5000", |
|||
/* pixels */ |
|||
"OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO", |
|||
";O;=====;======;=O=======;;;;;;=========;;;;;;;====OOO==;;=====O", |
|||
"O775555555551==;775555555555555555551=O;77776666665555544443331=", |
|||
"=74225,15,41$.=;73,3,3,3&3<3<3&3&341%.=O51424224%4&424,21&4<41&.", |
|||
"=51&1,1<%1,%$.=;53,,1,%11%<11%<1%1<%#.=;511&$1,%,1&,11,1&,1#1%$.", |
|||
"=5&11%<11%1#+.=;5,31,1%1,1%1%,&1%<&%#.==5%1$,1$1%1&1,1$1<&1&1%@.", |
|||
"=41&,<&1%,1%+.=;33,1,,<1%,%1,%<&,%1%+.O=3%1&1,$1%%11%1,11&1#1,@.", |
|||
"=3&11%1<%<%#+.==34,1%1%1%1%<,%&1%<&%#.O=3<1$,1&,%,&1,1$1&,1&1%+.", |
|||
"=31%,#%&#%,%+.O;<<%%@,%%,%@%,%,%@,%%+.O=3%%#%%@,@%#,@%@,$@%,%,+.", |
|||
"=&$$$++++++++.O=&$$#########+++++++++.O=,$$$$$$$$$$#########+++.", |
|||
"==........ .O;=..... .. .....=;O........... .......", |
|||
";OOOO====OOOOO=O=======OOO;===OO======;O=;;;;:>>:;;==*O*;O;===;O", |
|||
"7555333333333331=;=7755555544444443333333333333333331=*;77555555", |
|||
"2,,2<&2&<,2$2,1+O=;7%24&3$,3,,4<1,&,1,1,1&4$4,<34<41+O=O74&2,2,2", |
|||
",1,1&,,$1,$,11%+.==52%1&11,1$1%$,1&1&1$11,$1,1%,1%1%+O=;42&1,&1<", |
|||
"%11,<$1&,,<$1,%+.O=5%1,<,,$,,%1,$1,&$&,,1#,&1%1%11%%+.*=4&111&1&", |
|||
"1,,1,&&,&1<$1$%+.O=5%11&1$,1$%1$,1&,&1$1,#1$1%,%1%1%+.O=42&1&1<&", |
|||
"%1$1%,&<$1$,11%+.=;52#1&1,$,#,%$1,&#&1$,#,1$,1%,1%1%+ O=2&11#1&,", |
|||
"%2$%@&%<%<%#<%%+.=;21%,#%<%,$%,#%<%<$,%,,#<%%,@%<%,%+ *;21&%#%<%", |
|||
"+@@@@@@@@@@@@+++O=;1$$$$$$$$$$$$$##################++ =O1$+$++$+", |
|||
"... ... ... .O=O=Oo......ooOOo... ... .....O=;=.......", |
|||
";;=OO=;O;O==OOOO==;===*O*O*O*===;O;=*OOO**==;*OO*===;=;O;*O*;===", |
|||
";775555555333333333333333331=;;77555555555533333333333333333331=", |
|||
";7,23&3&3&2,2,24,2,2,32$24%+O=;73%512,12,2<2&$1,%,1&,1<,1&,1#1+.", |
|||
"O72,1<1&%,11,<,1,$1%1,$,1%2+.=:53<1$1$,%<,$1$,1$1%1&1,1$1<&1&%+.", |
|||
"=3$11%,#1$1%1,<1$,1%,1,$&1%+.;>53&1&1$1%<1&1&1,$1%%1<%<,11&1#%+.", |
|||
"=32,1@1#%,1,%&1&,$&1$1,$1%#+.;:5%1%<,$,<%1$,$,1&,%,&1,1$1&,1&%+.", |
|||
";3%$1@,&1$1#1$1,$,1,$1$,&&2+.=;54%1%1,1,%1$1#%%@1@1#1@11,$@%,%+.", |
|||
"=41$%%%#%@%%,$,%%,%%$%<%<%%+.O;41%<%,#%%%%$,%,@1#%1@%,@1#1@1%%+.", |
|||
"=1<$$$$$$$$$$$$$$@@@@@@@@@++.O;1$$$$$$$$$$$$$$############+#&#+.", |
|||
"==O.................OOO......===........ .OOO. ...........", |
|||
";;;;;==O=OOO=;>>;;;===**OO*OO*;===;O;=;=*O*O*=;;==*O*===;O;===;O", |
|||
"33333333331=O;55555555333333333333333331=;;475555555553333333333", |
|||
"1212<42241+O=O51$1%11$1,11%1,$11$11%1&1+O=;51&1%11$1&,&1%1,1&1%1", |
|||
"1&,1<1&1,%+.=;5$1&,1&1<%1,,%,,1,$1%,1$1+O;;51#1%1,$1,1&,,<%<&<,%", |
|||
",&1<&1&<1%+.=O5$11&<1%1%1,1#1@,,1,%<1&1+O;>51&1%1,1,11&1%<,1<&1%", |
|||
"1,&1<1<&,%+O=;5<$1&1&#<,,,%,1$1,$,<%,1&+O;>5&11%1$11&&1&1,<<,&%,", |
|||
"1,&1&1&<1%+O==5$1&#<1%,,1,1%,@$<$1<%1&1+O=;41&11%1,,&1&1%<,1&,1%", |
|||
"%%,<%%<%%%+O==<$11#1&%1%1$1#,$1,$<%<1$&+.=;41#1%11,1,1&1%<%<&11%", |
|||
"++@@@@@@@++.==1$$$$$$$$$##############++.==1$$$$$$$$$$$$$$$####+", |
|||
"............=;=. ..OOO. .........O===....OO=O.. .......", |
|||
";=;O=OO==OOOO==OOO=====;;==OOO;===;O=O=O==;=;O;=;:>;-==O;=;=;O;O", |
|||
"O7555555533333333333333333333331O;O7755555555333333333333333331=", |
|||
";51,,1$11&<1&1%,1$1&1,1$1$11&%1+O=;711$1$1#1%1#1,#<,%1,&1&<%,1+.", |
|||
"=51$1,$1,<&1$,#1<$1#,<,$1&1&1%<+.==5,1$,$&#,#<&1#1$1%,%1,&<1$,+.", |
|||
"=5,$1$,%$1$1,&,1$<,,#&1@<#,$,,%+.O=5,1$$,1&#<1#1%%1%1&1%,$1+.", |
|||
"O51,1,$1,&<1&1#,1$1#,1#<1&111%&+.O=51$1,$1#1%<&&#,$1&,<,<&%1,1+.", |
|||
";51$,1$1$1$1$1%1$$1#,&1&,$<$,%1+ O;51$$1$#1#<#1$,%1%&1&<,$%+.", |
|||
"O41$1$,%,<&1,,,1<$,&#$1@1%<&1%1+ O;4%1$,$1#&1&#<%,$1%1%1&<%1$1+.", |
|||
";1$$$$$$$$$@@@@@@@@@@@@@@@@@@@@+.=;1$$$$$$$$$#####@@@@@@@@@@@++.", |
|||
"O=..........OOO. ... .. ..=O=...... .oOo. .... ......", |
|||
";O;O;=;====;>>;=;O;=;=*OOO*=;==O==;O;========-;;;-====OX XO==;=", |
|||
"555553333333333331=;=77555555553333333333333331=O;75555533333333", |
|||
"&1#11$<$1&4&1$1&1+.==51111$1@1&1$1$1<1$1$1#1%$+O=;51$,1#1%1%1$1%", |
|||
"1&&1&1$<&$1#&$,$,+.==5&1%1$%@&<&1,$,<$&,%,#1$1+o=;5$1#1%1%,1%1,@", |
|||
"1&#&1$<$&1,$<&+.=*5&&%1$&&1#1@11$1$1$,#,,$%+.=;5$1%%11,%,%$%,", |
|||
"&<#<$$1$1&1#&%$1$+.=*51@%1$1@1&<$1$,&$1$1,#%<$+.=;51$#1,%%1%1$%1", |
|||
"$1&1$1$,1$1&#,1&,+.=*5@11$1&%,#&@1$1$&&$,%#,%$+.==5$1,1%1,%%#1%1", |
|||
"$1&&$<<$<$$1$<+.==5@1%1$&&,@<$,@1&$1,$1#1#,+.O=5$1#%#1%1%#$1@", |
|||
"&<#1$$,$&&1#1$%,&+.=;41@%1$1@,$1$1%$1$&1$,%,$,+.O=4$$#1#1%1%1$1%", |
|||
"@@@@@@@@@@@@@@@@++.==1+++++@@@@@@@@@@@@@@@@@@++ =;1++@@@@@@@@@@@", |
|||
"...................=;=Ooo.............. . O==...... ..", |
|||
"O;O;OOO=====;;O====;;;;;===;===;==O===*OO*OO*=*O*;==O;====*O*===", |
|||
";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" |
|||
}; |
@ -0,0 +1,96 @@ |
|||
/* XPM */ |
|||
static char *_b5a7e7efb414f3bb578ade0f180d64bkrjcui0RVaKIC1jq[] = { |
|||
/* columns rows colors chars-per-pixel */ |
|||
"64 64 26 1 ", |
|||
" c #202020", |
|||
". c #2C2C2C", |
|||
"X c gray19", |
|||
"o c #343434", |
|||
"O c gray22", |
|||
"+ c #004000", |
|||
"@ c #004C00", |
|||
"# c #005800", |
|||
"$ c #006400", |
|||
"% c #007000", |
|||
"& c #007C00", |
|||
"* c gray25", |
|||
"= c #484848", |
|||
"- c #4C4C4C", |
|||
"; c gray33", |
|||
": c gray36", |
|||
"> c #646464", |
|||
", c #008800", |
|||
"< c #009800", |
|||
"1 c #00A400", |
|||
"2 c #00B000", |
|||
"3 c #00BC00", |
|||
"4 c #00C800", |
|||
"5 c #00D400", |
|||
"6 c #00E000", |
|||
"7 c #00EC00", |
|||
/* pixels */ |
|||
"OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO", |
|||
";O;=====;======;=O=======;;;;;;=========;;;;;;;====OOO==;;=====O", |
|||
"O775555555551==;775555555555555555551=O;77776666665555544443331=", |
|||
"=74225,15,41$.=;73,3,3,3&3<3<3&3&341%.=O51424224%4&424,21&4<41&.", |
|||
"=51&1,1<%1,%$.=;53,,1,%11%<11%<1%1<%#.=;511&$1,%,1&,11,1&,1#1%$.", |
|||
"=5&11%<11%1#+.=;5,31,1%1,1%1%,&1%<&%#.==5%1$,1$1%1&1,1$1<&1&1%@.", |
|||
"=41&,<&1%,1%+.=;33,1,,<1%,%1,%<&,%1%+.O=3%1&1,$1%%11%1,11&1#1,@.", |
|||
"=3&11%1<%<%#+.==34,1%1%1%1%<,%&1%<&%#.O=3<1$,1&,%,&1,1$1&,1&1%+.", |
|||
"=31%,#%&#%,%+.O;<<%%@,%%,%@%,%,%@,%%+.O=3%%#%%@,@%#,@%@,$@%,%,+.", |
|||
"=&$$$++++++++.O=&$$#########+++++++++.O=,$$$$$$$$$$#########+++.", |
|||
"==........ .O;=..... .. .....=;O........... .......", |
|||
";OOOO====OOOOO=O=======OOO;===OO======;O=;;;;:>>:;;==*O*;O;===;O", |
|||
"7555333333333331=;=7755555544444443333333333333333331=*;77555555", |
|||
"2,,2<&2&<,2$2,1+O=;7%24&3$,3,,4<1,&,1,1,1&4$4,<34<41+O=O74&2,2,2", |
|||
",1,1&,,$1,$,11%+.==52%1&11,1$1%$,1&1&1$11,$1,1%,1%1%+O=;42&1,&1<", |
|||
"%11,<$1&,,<$1,%+.O=5%1,<,,$,,%1,$1,&$&,,1#,&1%1%11%%+.*=4&111&1&", |
|||
"1,,1,&&,&1<$1$%+.O=5%11&1$,1$%1$,1&,&1$1,#1$1%,%1%1%+.O=42&1&1<&", |
|||
"%1$1%,&<$1$,11%+.=;52#1&1,$,#,%$1,&#&1$,#,1$,1%,1%1%+ O=2&11#1&,", |
|||
"%2$%@&%<%<%#<%%+.=;21%,#%<%,$%,#%<%<$,%,,#<%%,@%<%,%+ *;21&%#%<%", |
|||
"+@@@@@@@@@@@@+++O=;1$$$$$$$$$$$$$##################++ =O1$+$++$+", |
|||
"... ... ... .O=O=Oo......ooOOo... ... .....O=;=.......", |
|||
";;=OO=;O;O==OOOO==;===*O*O*O*===;O;=*OOO**==;*OO*===;=;O;*O*;===", |
|||
";775555555333333333333333331=;;77555555555533333333333333333331=", |
|||
";7,23&3&3&2,2,24,2,2,32$24%+O=;73%512,12,2<2&$1,%,1&,1<,1&,1#1+.", |
|||
"O72,1<1&%,11,<,1,$1%1,$,1%2+.=:53<1$1$,%<,$1$,1$1%1&1,1$1<&1&%+.", |
|||
"=3$11%,#1$1%1,<1$,1%,1,$&1%+.;>53&1&1$1%<1&1&1,$1%%1<%<,11&1#%+.", |
|||
"=32,1@1#%,1,%&1&,$&1$1,$1%#+.;:5%1%<,$,<%1$,$,1&,%,&1,1$1&,1&%+.", |
|||
";3%$1@,&1$1#1$1,$,1,$1$,&&2+.=;54%1%1,1,%1$1#%%@1@1#1@11,$@%,%+.", |
|||
"=41$%%%#%@%%,$,%%,%%$%<%<%%+.O;41%<%,#%%%%$,%,@1#%1@%,@1#1@1%%+.", |
|||
"=1<$$$$$$$$$$$$$$@@@@@@@@@++.O;1$$$$$$$$$$$$$$############+#&#+.", |
|||
"==O.................OOO......===........ .OOO. ...........", |
|||
";;;;;==O=OOO=;>>;;;===**OO*OO*;===;O;=;=*O*O*=;;==*O*===;O;===;O", |
|||
"33333333331=O;55555555333333333333333331=;;475555555553333333333", |
|||
"1212<42241+O=O51$1%11$1,11%1,$11$11%1&1+O=;51&1%11$1&,&1%1,1&1%1", |
|||
"1&,1<1&1,%+.=;5$1&,1&1<%1,,%,,1,$1%,1$1+O;;51#1%1,$1,1&,,<%<&<,%", |
|||
",&1<&1&<1%+.=O5$11&<1%1%1,1#1@,,1,%<1&1+O;>51&1%1,1,11&1%<,1<&1%", |
|||
"1,&1<1<&,%+O=;5<$1&1&#<,,,%,1$1,$,<%,1&+O;>5&11%1$11&&1&1,<<,&%,", |
|||
"1,&1&1&<1%+O==5$1&#<1%,,1,1%,@$<$1<%1&1+O=;41&11%1,,&1&1%<,1&,1%", |
|||
"%%,<%%<%%%+O==<$11#1&%1%1$1#,$1,$<%<1$&+.=;41#1%11,1,1&1%<%<&11%", |
|||
"++@@@@@@@++.==1$$$$$$$$$##############++.==1$$$$$$$$$$$$$$$####+", |
|||
"............=;=. ..OOO. .........O===....OO=O.. .......", |
|||
";=;O=OO==OOOO==OOO=====;;==OOO;===;O=O=O==;=;O;=;:>;-==O;=;=;O;O", |
|||
"O7555555533333333333333333333331O;O7755555555333333333333333331=", |
|||
";51,,1$11&<1&1%,1$1&1,1$1$11&%1+O=;711$1$1#1%1#1,#<,%1,&1&<%,1+.", |
|||
"=51$1,$1,<&1$,#1<$1#,<,$1&1&1%<+.==5,1$,$&#,#<&1#1$1%,%1,&<1$,+.", |
|||
"=5,$1$,%$1$1,&,1$<,,#&1@<#,$,,%+.O=5,1$$,1&#<1#1%%1%1&1%,$1+.", |
|||
"O51,1,$1,&<1&1#,1$1#,1#<1&111%&+.O=51$1,$1#1%<&&#,$1&,<,<&%1,1+.", |
|||
";51$,1$1$1$1$1%1$$1#,&1&,$<$,%1+ O;51$$1$#1#<#1$,%1%&1&<,$%+.", |
|||
"O41$1$,%,<&1,,,1<$,&#$1@1%<&1%1+ O;4%1$,$1#&1&#<%,$1%1%1&<%1$1+.", |
|||
";1$$$$$$$$$@@@@@@@@@@@@@@@@@@@@+.=;1$$$$$$$$$#####@@@@@@@@@@@++.", |
|||
"O=..........OOO. ... .. ..=O=...... .oOo. .... ......", |
|||
";O;O;=;====;>>;=;O;=;=*OOO*=;==O==;O;========-;;;-====OX XO==;=", |
|||
"555553333333333331=;=77555555553333333333333331=O;75555533333333", |
|||
"&1#11$<$1&4&1$1&1+.==51111$1@1&1$1$1<1$1$1#1%$+O=;51$,1#1%1%1$1%", |
|||
"1&&1&1$<&$1#&$,$,+.==5&1%1$%@&<&1,$,<$&,%,#1$1+o=;5$1#1%1%,1%1,@", |
|||
"1&#&1$<$&1,$<&+.=*5&&%1$&&1#1@11$1$1$,#,,$%+.=;5$1%%11,%,%$%,", |
|||
"&<#<$$1$1&1#&%$1$+.=*51@%1$1@1&<$1$,&$1$1,#%<$+.=;51$#1,%%1%1$%1", |
|||
"$1&1$1$,1$1&#,1&,+.=*5@11$1&%,#&@1$1$&&$,%#,%$+.==5$1,1%1,%%#1%1", |
|||
"$1&&$<<$<$$1$<+.==5@1%1$&&,@<$,@1&$1,$1#1#,+.O=5$1#%#1%1%#$1@", |
|||
"&<#1$$,$&&1#1$%,&+.=;41@%1$1@,$1$1%$1$&1$,%,$,+.O=4$$#1#1%1%1$1%", |
|||
"@@@@@@@@@@@@@@@@++.==1+++++@@@@@@@@@@@@@@@@@@++ =;1++@@@@@@@@@@@", |
|||
"...................=;=Ooo.............. . O==...... ..", |
|||
"O;O;OOO=====;;O====;;;;;===;===;==O===*OO*OO*=*O*;==O;====*O*===", |
|||
";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" |
|||
}; |
@ -0,0 +1,96 @@ |
|||
/* XPM */ |
|||
static char *_b5a7e7efb414f3bb578ade0f180d64bkrjcui0RVaKIC1jq[] = { |
|||
/* columns rows colors chars-per-pixel */ |
|||
"64 64 26 1 ", |
|||
" c #202020", |
|||
". c #2C2C2C", |
|||
"X c gray19", |
|||
"o c #343434", |
|||
"O c gray22", |
|||
"+ c #404040", |
|||
"@ c #4C4C4C", |
|||
"# c #585858", |
|||
"$ c #646464", |
|||
"% c #707070", |
|||
"& c #7C7C7C", |
|||
"* c gray25", |
|||
"= c #484848", |
|||
"- c #4C4C4C", |
|||
"; c gray33", |
|||
": c gray36", |
|||
"> c #646464", |
|||
", c #888888", |
|||
"< c #989898", |
|||
"1 c #A4A4A4", |
|||
"2 c #B0B0B0", |
|||
"3 c #BCBCBC", |
|||
"4 c #C8C8C8", |
|||
"5 c #D4D4D4", |
|||
"6 c #E0E0E0", |
|||
"7 c #ECECEC", |
|||
/* pixels */ |
|||
"OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO", |
|||
";O;=====;======;=O=======;;;;;;=========;;;;;;;====OOO==;;=====O", |
|||
"O775555555551==;775555555555555555551=O;77776666665555544443331=", |
|||
"=74225,15,41$.=;73,3,3,3&3<3<3&3&341%.=O51424224%4&424,21&4<41&.", |
|||
"=51&1,1<%1,%$.=;53,,1,%11%<11%<1%1<%#.=;511&$1,%,1&,11,1&,1#1%$.", |
|||
"=5&11%<11%1#+.=;5,31,1%1,1%1%,&1%<&%#.==5%1$,1$1%1&1,1$1<&1&1%@.", |
|||
"=41&,<&1%,1%+.=;33,1,,<1%,%1,%<&,%1%+.O=3%1&1,$1%%11%1,11&1#1,@.", |
|||
"=3&11%1<%<%#+.==34,1%1%1%1%<,%&1%<&%#.O=3<1$,1&,%,&1,1$1&,1&1%+.", |
|||
"=31%,#%&#%,%+.O;<<%%@,%%,%@%,%,%@,%%+.O=3%%#%%@,@%#,@%@,$@%,%,+.", |
|||
"=&$$$++++++++.O=&$$#########+++++++++.O=,$$$$$$$$$$#########+++.", |
|||
"==........ .O;=..... .. .....=;O........... .......", |
|||
";OOOO====OOOOO=O=======OOO;===OO======;O=;;;;:>>:;;==*O*;O;===;O", |
|||
"7555333333333331=;=7755555544444443333333333333333331=*;77555555", |
|||
"2,,2<&2&<,2$2,1+O=;7%24&3$,3,,4<1,&,1,1,1&4$4,<34<41+O=O74&2,2,2", |
|||
",1,1&,,$1,$,11%+.==52%1&11,1$1%$,1&1&1$11,$1,1%,1%1%+O=;42&1,&1<", |
|||
"%11,<$1&,,<$1,%+.O=5%1,<,,$,,%1,$1,&$&,,1#,&1%1%11%%+.*=4&111&1&", |
|||
"1,,1,&&,&1<$1$%+.O=5%11&1$,1$%1$,1&,&1$1,#1$1%,%1%1%+.O=42&1&1<&", |
|||
"%1$1%,&<$1$,11%+.=;52#1&1,$,#,%$1,&#&1$,#,1$,1%,1%1%+ O=2&11#1&,", |
|||
"%2$%@&%<%<%#<%%+.=;21%,#%<%,$%,#%<%<$,%,,#<%%,@%<%,%+ *;21&%#%<%", |
|||
"+@@@@@@@@@@@@+++O=;1$$$$$$$$$$$$$##################++ =O1$+$++$+", |
|||
"... ... ... .O=O=Oo......ooOOo... ... .....O=;=.......", |
|||
";;=OO=;O;O==OOOO==;===*O*O*O*===;O;=*OOO**==;*OO*===;=;O;*O*;===", |
|||
";775555555333333333333333331=;;77555555555533333333333333333331=", |
|||
";7,23&3&3&2,2,24,2,2,32$24%+O=;73%512,12,2<2&$1,%,1&,1<,1&,1#1+.", |
|||
"O72,1<1&%,11,<,1,$1%1,$,1%2+.=:53<1$1$,%<,$1$,1$1%1&1,1$1<&1&%+.", |
|||
"=3$11%,#1$1%1,<1$,1%,1,$&1%+.;>53&1&1$1%<1&1&1,$1%%1<%<,11&1#%+.", |
|||
"=32,1@1#%,1,%&1&,$&1$1,$1%#+.;:5%1%<,$,<%1$,$,1&,%,&1,1$1&,1&%+.", |
|||
";3%$1@,&1$1#1$1,$,1,$1$,&&2+.=;54%1%1,1,%1$1#%%@1@1#1@11,$@%,%+.", |
|||
"=41$%%%#%@%%,$,%%,%%$%<%<%%+.O;41%<%,#%%%%$,%,@1#%1@%,@1#1@1%%+.", |
|||
"=1<$$$$$$$$$$$$$$@@@@@@@@@++.O;1$$$$$$$$$$$$$$############+#&#+.", |
|||
"==O.................OOO......===........ .OOO. ...........", |
|||
";;;;;==O=OOO=;>>;;;===**OO*OO*;===;O;=;=*O*O*=;;==*O*===;O;===;O", |
|||
"33333333331=O;55555555333333333333333331=;;475555555553333333333", |
|||
"1212<42241+O=O51$1%11$1,11%1,$11$11%1&1+O=;51&1%11$1&,&1%1,1&1%1", |
|||
"1&,1<1&1,%+.=;5$1&,1&1<%1,,%,,1,$1%,1$1+O;;51#1%1,$1,1&,,<%<&<,%", |
|||
",&1<&1&<1%+.=O5$11&<1%1%1,1#1@,,1,%<1&1+O;>51&1%1,1,11&1%<,1<&1%", |
|||
"1,&1<1<&,%+O=;5<$1&1&#<,,,%,1$1,$,<%,1&+O;>5&11%1$11&&1&1,<<,&%,", |
|||
"1,&1&1&<1%+O==5$1&#<1%,,1,1%,@$<$1<%1&1+O=;41&11%1,,&1&1%<,1&,1%", |
|||
"%%,<%%<%%%+O==<$11#1&%1%1$1#,$1,$<%<1$&+.=;41#1%11,1,1&1%<%<&11%", |
|||
"++@@@@@@@++.==1$$$$$$$$$##############++.==1$$$$$$$$$$$$$$$####+", |
|||
"............=;=. ..OOO. .........O===....OO=O.. .......", |
|||
";=;O=OO==OOOO==OOO=====;;==OOO;===;O=O=O==;=;O;=;:>;-==O;=;=;O;O", |
|||
"O7555555533333333333333333333331O;O7755555555333333333333333331=", |
|||
";51,,1$11&<1&1%,1$1&1,1$1$11&%1+O=;711$1$1#1%1#1,#<,%1,&1&<%,1+.", |
|||
"=51$1,$1,<&1$,#1<$1#,<,$1&1&1%<+.==5,1$,$&#,#<&1#1$1%,%1,&<1$,+.", |
|||
"=5,$1$,%$1$1,&,1$<,,#&1@<#,$,,%+.O=5,1$$,1&#<1#1%%1%1&1%,$1+.", |
|||
"O51,1,$1,&<1&1#,1$1#,1#<1&111%&+.O=51$1,$1#1%<&&#,$1&,<,<&%1,1+.", |
|||
";51$,1$1$1$1$1%1$$1#,&1&,$<$,%1+ O;51$$1$#1#<#1$,%1%&1&<,$%+.", |
|||
"O41$1$,%,<&1,,,1<$,&#$1@1%<&1%1+ O;4%1$,$1#&1&#<%,$1%1%1&<%1$1+.", |
|||
";1$$$$$$$$$@@@@@@@@@@@@@@@@@@@@+.=;1$$$$$$$$$#####@@@@@@@@@@@++.", |
|||
"O=..........OOO. ... .. ..=O=...... .oOo. .... ......", |
|||
";O;O;=;====;>>;=;O;=;=*OOO*=;==O==;O;========-;;;-====OX XO==;=", |
|||
"555553333333333331=;=77555555553333333333333331=O;75555533333333", |
|||
"&1#11$<$1&4&1$1&1+.==51111$1@1&1$1$1<1$1$1#1%$+O=;51$,1#1%1%1$1%", |
|||
"1&&1&1$<&$1#&$,$,+.==5&1%1$%@&<&1,$,<$&,%,#1$1+o=;5$1#1%1%,1%1,@", |
|||
"1&#&1$<$&1,$<&+.=*5&&%1$&&1#1@11$1$1$,#,,$%+.=;5$1%%11,%,%$%,", |
|||
"&<#<$$1$1&1#&%$1$+.=*51@%1$1@1&<$1$,&$1$1,#%<$+.=;51$#1,%%1%1$%1", |
|||
"$1&1$1$,1$1&#,1&,+.=*5@11$1&%,#&@1$1$&&$,%#,%$+.==5$1,1%1,%%#1%1", |
|||
"$1&&$<<$<$$1$<+.==5@1%1$&&,@<$,@1&$1,$1#1#,+.O=5$1#%#1%1%#$1@", |
|||
"&<#1$$,$&&1#1$%,&+.=;41@%1$1@,$1$1%$1$&1$,%,$,+.O=4$$#1#1%1%1$1%", |
|||
"@@@@@@@@@@@@@@@@++.==1+++++@@@@@@@@@@@@@@@@@@++ =;1++@@@@@@@@@@@", |
|||
"...................=;=Ooo.............. . O==...... ..", |
|||
"O;O;OOO=====;;O====;;;;;===;===;==O===*OO*OO*=*O*;==O;====*O*===", |
|||
";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" |
|||
}; |
Loading…
Reference in new issue