Archived

This topic is now archived and is closed to further replies.

BeanDog

User-defined bitmap load

Recommended Posts

char Filename[100]; StringInput(Primary, 50, 200, "Filename:", slen, Filename); CreaturePics[NumCreaturePics] = DDLoadBitmap(DDraw, Filename, 0, 0); where string-input returns a null-terminating string based on user input. When i input C:\windows\clouds.bmp , it won't load in the file into the surface. CreaturePics is an array of LPDIRECTDRAWSURFACE7's. Edited by - BeanDog on 4/1/00 8:56:23 AM

Share this post


Link to post
Share on other sites