www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/22/19:04:16.1

From: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: But..........
Date: Tue, 23 May 2000 00:03:16 +0400
Organization: MTU-Intel ISP
Lines: 32
Message-ID: <39299284.9EEDEAA0@mtu-net.ru>
References: <nKVV4.5169$wYl DOT 218653696 AT newsb DOT telia DOT net> <3928452F DOT F08F3E1F AT mtu-net DOT ru> <Lc4W4.8945$Za1 DOT 137570 AT newsc DOT telia DOT net> <8VeW4.5318$wYl DOT 221486080 AT newsb DOT telia DOT net>
NNTP-Posting-Host: ppp103-117.dialup.mtu-net.ru
Mime-Version: 1.0
X-Trace: gavrilo.mtu.ru 959025805 73280 212.188.103.117 (22 May 2000 20:03:25 GMT)
X-Complaints-To: usenet-abuse AT mtu DOT ru
NNTP-Posting-Date: 22 May 2000 20:03:25 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

I don't know because I haven't really started Allegro. But there are a lot
of example programs that come with Allegro and could help you. You may refer
Allegro FAQ (which is pretty good) also.

Better start with some example program from Allegro and try to put your own
picture instead of a default one, then change gfx mode, etc etc. Do it step
by step and see what's going on. Refer to the FAQ -- it worths.

-- 
Alexei A. Frounze
-----------------------------------------
Homepage: http://alexfru.chat.ru
Mirror:   http://members.xoom.com/alexfru

Christian wrote:
> 
> It still doesn't work.
> 
> To get the pallete from a file(for example a bmp), do i write something like
> this?
> 
> PALLETE pal;
> BITMAP *bmp = load_bmp("file", pal);
> ???
> 
> The program compiles fine but when i start it up all i get is a black
> screen.
> 
> Thanx for any help
> 
> /Christian

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019