Re: [dcrpg-devel] Memory Question
Status: Inactive
Brought to you by:
falkkin
|
From: Colin M. <fa...@us...> - 2002-02-06 08:00:25
|
> In this space we must fit: > -the engine > -the data (NPC(s), QUEST(s), PC(s), MONSTER(s), GRAPHIC(s)...) Keep in mind that a lot of this data (graphics, monsters, etc) can be put on CD and only loaded when it's needed. I expect that most of the memory usage will be taken up as map data, so I would probably go for maps of at least 2MB (if not bigger). At 16 bits/tile, plus some overhead, this allows for a 1024x1024 map in the 2 MB of memory. (pretty big, FF1 was 256x256). Assume 1 MB for KOS itself (I don't believe it's nearly that big, but might eventually become so in the future). Assume another 2 MB for the engine itself (much likely it'll be much smaller than that, but...) This gives ~3 MB of space left for whatever sounds, images, etc. need to be loaded at any given point, and fudge space in case our engine / maps grow larger than we expect. - Colin |