Some calculation fixes
authorSami Rämö <sami.ramo@ixonos.com>
Mon, 7 Jun 2010 08:40:25 +0000 (11:40 +0300)
committerSami Rämö <sami.ramo@ixonos.com>
Mon, 7 Jun 2010 08:40:25 +0000 (11:40 +0300)
commit07e0b910dc9f4a0173c2dee387d399d441c65021
treea0f9d22226bd09da7f86f9fe0ddb5b147c508581
parent59492ef449b49340b15146700d0c39db491b4d00
Some calculation fixes

 - fixed half of the tiles grid vertical size rounding up

 - changed mapImageReceived() to calculate when duplicate
   tile should be added instead of using constant value

 - spanning is now ignoring padding (reserve of tiles which
   would never be shown when jumping to opposite side of
   the world)
src/map/mapcommon.h
src/map/mapengine.cpp
src/map/mapscene.cpp