From: bigphil AT solutions DOT mb DOT ca (Mark Phillips) Newsgroups: comp.os.msdos.djgpp Subject: 2 allegro questions Date: Thu, 30 Oct 1997 06:46:29 GMT Organization: MBnet - Manitoba's Connection To The Internet Lines: 19 Message-ID: <639a82$dh2$1@postern.mbnet.mb.ca> NNTP-Posting-Host: 204.112.6.183 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk in VGA mode are there only 256 colors you could possibly have, i.e. would my routine: for(int i=0;i<=15;i++) for(int j=0;j<=15;j++) for(int x=0;x<=10;x++) for(int y=0;y<=10;y++) putpixel(screen, i*10+x, j*10+y, i*15+j); print every possible color or can you get more with makecol() or anything? (sorry for so many nested fors btw) also, in the demo game that comes with allegro, they put all their midis, wavs, images etc in a .dat file. how would i do that? and also how would i retrieve the info from the file with my program? thanks in advance, mark phillips