Mail Archives: djgpp/1998/07/01/19:16:18
| From: | shd AT earthling DOT net (Steven Don)
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | Re: scrolling with allegro
|
| Date: | 1 Jul 1998 23:11:53 GMT
|
| Organization: | EuroNet Internet
|
| Lines: | 15
|
| Message-ID: | <6nefnp$mub@news.euro.net>
|
| References: | <001a01bda51b$07837e40$624d08c3 AT arthur>
|
| NNTP-Posting-Host: | bd194.westbrabant.net
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
In article <001a01bda51b$07837e40$624d08c3 AT arthur>, "Arthur" <arfa AT clara DOT net> wrote:
>>> One scheme is to create a very large bitmap object that is your level,
>>> and then blit the appropriate piece onto the screen.
>>> --
>>
>>Well that is not memory efficient, but the easiest approach.
>
>
>Not memory efficient. Hmm. Let me see: for a 1600x1600 map (for instance) in
>256 colours - that's 625Mb of ram. (!)
*** 1600x1600=2560000. Wouldn't that be 2.44 MB? Perhaps you're using big
chars :))
Regards,
SHD
- Raw text -