Message-ID: <20000824010414.29585.qmail@web510.mail.yahoo.com> Date: Wed, 23 Aug 2000 18:04:14 -0700 (PDT) From: Chris Amos Subject: WHAT'S GOING ON!!??!?!! To: List DJGPP MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Reply-To: djgpp AT delorie DOT com I made a 40x60x24 bitmap and when I load it into DJGGP and Draw it on the screen, It just draws a bunch af garbage where the sprite is supposed to be. Whats going on? ------- CODE ------------------------------------ // Program by Twisted Matrix (Homie_dont_play_dat AT Yahoo DOT com) // Uses ALLEGRO and the DJGPP compiler #include #include #include main() { BITMAP *bmp; PALETTE pal; /* Initiate the Allegro library for use in this program */ allegro_init(); install_keyboard(); set_gfx_mode(GFX_AUTODETECT,640, 480,0,0); set_color_depth(16); bmp = load_bitmap("Tile1.bmp", pal); draw_sprite(screen, bmp, 0, 0); readkey(); return 0; } ===== ~ Twisted Matrix (Founder of ULTRATECH) URL: http://www.stas.net/ultratech Yahoo ID: Homie_dont_play_dat, ICQ: 74628745 AOL im: TwistedMatrix __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/