Skip to main content
gamedev.net
🔒 Locked

User-defined bitmap load

Started by BeanDog 0 replies 450+ views
Original Post
BeanDog
BeanDog
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.