The tutorial say that load_bitmap("Location of the bitmap", pallete);
But how do you indicate the location? Is it load_bitmap("c:..."). I've try to use the edit resource file but no success because I don't know how to use it.
Thanks
cognacd
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to load a bimap with allegro
BITMAP *my_pic;
my_pic =load_bitmap("laberge.bmp", NULL);
acquire_screen();
blit(my_pic, screen, 0,0,0,0,480,360);
release_screen();
The tutorial say that load_bitmap("Location of the bitmap", pallete);
But how do you indicate the location? Is it load_bitmap("c:..."). I've try to use the edit resource file but no success because I don't know how to use it.
Thanks
cognacd
This should load the bitmap laberge.bmp if it is in the same directory as your exe file
BITMAP *my_pic;
my_pic =load_bitmap("laberge.bmp", NULL);
Also, you can post allegro questions at
www.allegro.cc