From: <av...@us...> - 2008-11-10 06:03:26
|
Revision: 3098 http://sc2.svn.sourceforge.net/sc2/?rev=3098&view=rev Author: avolkov Date: 2008-11-10 06:03:16 +0000 (Mon, 10 Nov 2008) Log Message: ----------- Allow reaching 999.9 over X in HSpace; Y fixed symmetrically and would be relevant if weren't inverted; bug #628 Modified Paths: -------------- trunk/sc2/ChangeLog trunk/sc2/src/sc2code/units.h Modified: trunk/sc2/ChangeLog =================================================================== --- trunk/sc2/ChangeLog 2008-10-18 18:57:19 UTC (rev 3097) +++ trunk/sc2/ChangeLog 2008-11-10 06:03:16 UTC (rev 3098) @@ -1,4 +1,5 @@ Changes towards version 0.7: +- Allow reaching 999.9:999.9 in HyperSpace (bug #628), from Nic - Use system getopt_long() when available - SvdB - Added --addondir commandline option - Mika - Case insensitive matching when looking for .zip/.uqm/.rmp files - SvdB Modified: trunk/sc2/src/sc2code/units.h =================================================================== --- trunk/sc2/src/sc2code/units.h 2008-10-18 18:57:19 UTC (rev 3097) +++ trunk/sc2/src/sc2code/units.h 2008-11-10 06:03:16 UTC (rev 3098) @@ -76,11 +76,11 @@ #define MAX_Y_UNIVERSE 9999 #define MAX_X_LOGICAL \ ((UNIVERSE_TO_LOGX (MAX_X_UNIVERSE + 1) > UNIVERSE_TO_LOGX (-1) ? \ - UNIVERSE_TO_LOGX (MAX_X_UNIVERSE) : UNIVERSE_TO_LOGX (-1)) \ + UNIVERSE_TO_LOGX (MAX_X_UNIVERSE + 1) : UNIVERSE_TO_LOGX (-1)) \ - 1L) #define MAX_Y_LOGICAL \ ((UNIVERSE_TO_LOGY (MAX_Y_UNIVERSE + 1) > UNIVERSE_TO_LOGY (-1) ? \ - UNIVERSE_TO_LOGY (MAX_Y_UNIVERSE) : UNIVERSE_TO_LOGY (-1)) \ + UNIVERSE_TO_LOGY (MAX_Y_UNIVERSE + 1) : UNIVERSE_TO_LOGY (-1)) \ - 1L) #define SECTOR_WIDTH 195 #define SECTOR_HEIGHT 25 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |