Okay, now back to my original problem of image displaying; tutorial 2, in the link that prog-bman posted, which is supposed to teach you how to display a bitmap, just changes the screen resolution but nothing else (you can still see the IDE and everything, except in a different resolution). Here's the code:
Code:
#include <allegro.h>
int main(int argc, char* argv[])
{
allegro_init();
install_keyboard();
set_color_depth(16);
set_gfx_mode(GFX_AUTODETECT, 640,480,0,0);
BITMAP *my_pic;
my_pic = load_bitmap("my_bitmap.bmp", NULL);
acquire_screen();
blit(my_pic, screen, 0,0,0,0,640,480);
release_screen();
readkey();
destroy_bitmap(my_pic);
return 0;
}
END_OF_MAIN();
What's the deal here? (and yes, I do have a file called my_bitmap on my computer)