From: Martin W. <meh...@we...> - 2004-04-13 12:46:45
|
Hey, I've just committed a major update of my sources to CVS. First of all I've completely revised the scrolling borders. The player is now not able to leave the map too far but as far as it should be to see even the units at the border. Second, I worked on using Arne's minimap since he was so kind to implement it ;) . The result is a half transparent control panel at the bottom of the screen with the minimap at the left side. I also implemented that the current screen clip is displayed in the minimap. Apart from that the control panel has no further functions. Currently I'm working on that the player can click into the minimap and the "big" map jumps also to that position. Sry, Arne, but I had to add a few lines to your map.cpp since they were a really big danger for hardware damage or even program crashes: the minimap surface has to be locked / unlocked before / after the use of drawPx(). This is also written in the source documentation for CVideo::drawPx(). And because you were not reachable, I had to do this, just before the first users complain about broken hardware ;) Regards, - Martin -- Get my public GPG key from pgp.mit.edu or wwwkeys.pgp.net - Key ID: 0x44085D12 -- Homepage: http://www.mwegner.de.ms/ Powered by Gentoo Linux (http://www.gentoo.org/) |