🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

gcc svgadisplaypcx.c pcx.c svgacommon.o -o pcx -lvgagl -lvga

Started by
10 comments, last by 3d Wolf 23 years, 8 months ago
You just have to replace in your code
file=fopen(argv[1],"r")
by
file=fopen("yourfile.pcx","r")

After you do
image=readpcx(file,palette,&length,&height)

and do it for all the files you want !!!
Advertisement
THANKS !!!!!

This topic is closed to new replies.

Advertisement