Мы извиняем тебя! Что бы с нами было без твоих шашлыков? От силы пара релизов =)
Вид для печати
Mike^ZT успешно долетел до Праги :v2_thumb:
вот оно.
блин, знал бы что это та самая дема, не парился бы:)
вот че-то такое. все картинки делал в паинте, режим 256 цветов.Код:#include <stdio.h>
FILE *f;
char *fff;
char sbuf[192][256];
int get_pix(int x, int y)
{
int disp=0x436+((4740-1-y)*6320)+x;
return fff[disp];
}
void set_pix(int x, int y, int val)
{
int disp=0x436+((4740-1-y)*6320)+x;
fff[disp]=val;
}
int main(int argc, char* argv[])
{
fff=(char*)malloc(29957878);
f=fopen("dump.bmp","rb");
fread(fff,1,29957878,f);
fclose(f);
for(int y=191;y>=0;y--)
for(int x=0;x<256;x++)
{
int rx,ry;
rx=11+(6307-11)*x/255; //магия!!!
ry=11+(3060-11)*y/127;
sbuf[191-y][x]=get_pix(rx,ry);
}
f=fopen("scr_tmp.bmp","rb");
fread(fff,1,0x436,f); //get header
fclose(f);
f=fopen("scr.bmp","wb");
fwrite(fff,1,0x436,f); //save header
fwrite(sbuf,1,256*192,f); //save data
fclose(f);
return 0;
}
scr_tmp.bmp - пустая болванка 256х192.
Ну понятно, наши тоже такой метод предложили. Только закодить не успели.
Return home from Russia. Thanks for all your food, vodka, money and what is most important your care. It was good time and great vacation and I enjoy every minute there.
Now - someone translate for nonenglish speaking people and probably post it to the DiHalt forum too. Thanks again!
Mike please sort you EVM and DiHalt fotoz - we need to provide them to masses. I have full torrent but i don't know is it possible to publish them. Also important to divide fotos between this 2 parties.
Передача: "Очевидное-Невероятное" в прямом эфире :-)
mikezt
Done :)
http://dihalt.org.ru/smfbrd/index.ph...sg4686#msg4686
I am waiting for yours DiHalt fotoz to.
The best way is to send it to pulsar,
curator of DiHalt gallery
http://picasaweb.google.com/dihalt2010
There is not only 2010, but from 2005
фотки EVM Openair от mikezt
http://dl.dropbox.com/u/4081187/Mike...openair_11.zip
https://www.dropbox.com/gallery/4081...ir_11?h=6e14a5