Planet display wraps around properly east/west
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@28 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1212,6 +1212,10 @@ ScrollPlanetSide (SIZE dx, SIZE dy, SIZE CountDown)
|
|||||||
s.frame = pSolarSysState->TopoFrame;
|
s.frame = pSolarSysState->TopoFrame;
|
||||||
SetGraphicScale (1 << (MAG_SHIFT + 8));
|
SetGraphicScale (1 << (MAG_SHIFT + 8));
|
||||||
DrawStamp (&s);
|
DrawStamp (&s);
|
||||||
|
s.origin.x += MAP_WIDTH << MAG_SHIFT;
|
||||||
|
DrawStamp (&s);
|
||||||
|
s.origin.x -= MAP_WIDTH << (MAG_SHIFT + 1);
|
||||||
|
DrawStamp (&s);
|
||||||
SetGraphicScale (0);
|
SetGraphicScale (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user