Virtual displaying of images

new topic     » goto parent     » topic index » view thread      » older message » newer message

I don't know if the term virtual is correct for what I want:

I want to create a huge image containing all the map of the game, but to
create that I need a method for "displaying" an image in this big image, I
tried this:

-- bmp is the bmp to put on the MapBmp sequence
-- pos is the position

procedure VrDisplay(sequence bmp,sequence pos)
    integer BmpWidth,row
    row=pos[2]
    BmpWidth=length(bmp[1])
    for r=1 to length(bmp) do
        MapBmp[row][pos[1]..pos[1]+BmpSize]=bmp[r]
        row=row+1
     end for
end procedure

But it's extremely slow, do you know a better (faster) way for doing this
or this is the best method ?

---
Ricardo Niederberger Cabral
rnc at infolink.com.br

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu