delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/27/12:30:33.1

From: "Justin Szczap" <jmszczap82 AT adelphia DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <W_MX4.2771$D%2 DOT 66210 AT news1 DOT news DOT adelphia DOT net> <392FB870 DOT 58FCE4C0 AT the_message_body DOT com>
Subject: Re: Silly Question...
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <vyPX4.2777$D%2.66584@news1.news.adelphia.net>
Date: Sat, 27 May 2000 12:52:43 GMT
NNTP-Posting-Host: 24.49.84.163
X-Complaints-To: abuse AT adelphia DOT net
X-Trace: news1.news.adelphia.net 959431963 24.49.84.163 (Sat, 27 May 2000 08:52:43 EDT)
NNTP-Posting-Date: Sat, 27 May 2000 08:52:43 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Uh... yeah, I've looked at those, but still fail to see how I'd feasibly do
what I want. Can you please apply an example to the following code?
void display_board()
{
 BITMAP *the_board;
 PALETTE the_board_pal;
 the_board=load_bitmap("board.bmp", the_board_pal);
 set_palette(the_board_pal);
 blit(the_board, screen, 0, 0, (SCREEN_W-the_board->w)/2,
     (SCREEN_H-the_board->h)/2, the_board->w, the_board->h);
 destroy_bitmap(the_board);
}
I'm really in a jam... Thanks...
- JS


- Raw text -


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