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 !!!
🎉 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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement