static unsigned int maptiles[33][16]={//dark, light, attributes //rien !!! {}, {}, {}, //neige { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, {0x710,0xDE57,0x599D,0xFB72,0x3C13,0xDC7F,0x7522,0xB97,0xCBE9,0x409D,0xFFEB,0x3CBC,0x13C9,0xF2AB,0xC6A4,0x2E5B}, {},
je declare la map
unsigned int **map=NULL; ... map=malloc(2000*sizeof(int));
g une erreur ici
for (b=0;b<13;b++) { for (a=0;a<17;a++) { Sprite16_OR(a*16+1,b*16+1,16,maptiles[map[b][a]*3],&virtu1); Sprite16_OR(a*16+1,b*16+1,16,maptiles[map[b][a]*3]+16,&virtu0); ....
et ici (l'erreur est la meme je croa):
for (a=0;a<41;a++) for (b=0;b<51;b++) map[a][b]=&maptiles+3*16;
g cherché pls hures mais g pas trouvé sniffffff
helpme !