Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

How to display a .pcx immage on the screen

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 Possibility   Members   

122
Like
Likes
Like

Posted 26 January 2000 - 05:35 PM

Hi, i am new to this forum and kind of new to programing. I have taken c++ courses, but they only did programs that run from a linux prompt. What i like to know how to do is how to display a graphics immage on the screen, in particular a .pcx or .jpg immage. Like in alpha centauri, they have all the immages in .pcx format, i would like to know how they display them. It would be extremely helpfull if someone could provide me with a link that would show me how to do this. I currently have Visual C++ 5.0. Possibility

#2 Matthew Allen   Members   

122
Like
Likes
Like

Posted 27 January 2000 - 02:56 AM

Well, here''s a program that loads a JPG, PCX, TGA, BMP, RLE, GIF or DIB in windows and puts it into a DirectDraw surface: http://cust.nol.at/ppee/DOWNLOADS/DDLOAD.ZIP

Take a look at this page (where I found that link), it has a few more that are good. http://www.geocities.com/SiliconValley/Ridge/6444/directx.html

I would look into using PPP files, though: they have zip quality compressing and are pretty easy to load, besides not being viewable by any image viewers I''ve found (protect those bitmaps!). Go the the MXF Entertainment page and look under tutorials for some source for a BMPtoPPP converter and PPP loader that I use. They aren''t working very well, but they suit my needs just fine right now...

- mallen22@concentric.net
- http://mxf_entertainment.tripod.com/

#3 Possibility   Members   

122
Like
Likes
Like

Posted 27 January 2000 - 08:40 AM

Wow, thanks for the great info and links!

Possibility




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.