display_mapscroll

Technical and coding related questions.

Moderator: Board moderators

Post Reply
Basilisk
Luser
Posts: 30
Joined: Mon Feb 06, 2006 6:20 am

display_mapscroll

Post by Basilisk »

Recently, I picked up the project which I put down for a while.
I returned to find 1.9.0, which had new source code.
I converted most of what I did to the new source.

The source is not too hard to understand, but I must have missed something
with this function display_mapscroll. I tried to convert it to diagonal coordinates
as I had done with display_mapcell. The way the variables are being used
looks sort of strange; our size is w*image_size and h* image_size
which decreases, but without a loop? It is supposed to shift the
images in directions "dx" and "dy" but instead copies one image from its
own location to the same location?

Also, if you are copying/ re-addressing the area on the screen that is not
on the leading ege, then I could be in trouble because it wouldnt be rectangular
with isometric coordinates
Post Reply