| delorie.com/archives/browse.cgi | search |
| From: | "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: palette still dont work... =( |
| Date: | Thu, 25 May 2000 11:33:33 +0400 |
| Organization: | MTU-Intel ISP |
| Lines: | 26 |
| Message-ID: | <392CD74D.4E351021@mtu-net.ru> |
| References: | <gIRW4.5531$wYl DOT 221161984 AT newsb DOT telia DOT net> |
| NNTP-Posting-Host: | ppp103-96.dialup.mtu-net.ru |
| Mime-Version: | 1.0 |
| X-Trace: | gavrilo.mtu.ru 959239999 93046 212.188.103.96 (25 May 2000 07:33:19 GMT) |
| X-Complaints-To: | usenet-abuse AT mtu DOT ru |
| NNTP-Posting-Date: | 25 May 2000 07:33:19 GMT |
| X-Mailer: | Mozilla 4.72 [en] (Win95; I) |
| X-Accept-Language: | ru,en |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
have you tried my source posted recently???
bye.
Alexei A. Frounze
-----------------------------------------
Homepage: http://alexfru.chat.ru
Mirror: http://members.xoom.com/alexfru
Fredrik Persson wrote:
>
> Hi i tried to set_pelette after loading the bitmap but it still just returns
> a black screen..
>
> {
> allegro_init();
> install_keyboard();
> set_gfx_mode(GFX_VGA, 320, 200, 0, 0);
> PALETTE p;
> screen=load_bitmap("drop.bmp",p);
> set_palette(p);
> readkey();
> allegro_exit();
> }
>
> what is wrong??
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |