[SPIDER]
authorDaniel Reimer <reimer.daniel@freenet.de>
Wed, 6 Aug 2014 12:13:45 +0000 (12:13 +0000)
committerDaniel Reimer <reimer.daniel@freenet.de>
Wed, 6 Aug 2014 12:13:45 +0000 (12:13 +0000)
CORE-8409 #resolve #comment Solution in the middle makes Spider look nice in ROS and not like a stamp AND it fits on 800x600. 640x480 won't be fixed, because having overlapped cards is NO fix, it's plain ugly.

svn path=/trunk/; revision=63817

reactos/base/applications/games/spider/spider.h
reactos/base/applications/games/spider/spigame.cpp

index ff633c6..71383d2 100644 (file)
@@ -15,8 +15,8 @@
 #define CARDBACK_OPTIONS_WIDTH   72
 #define CARDBACK_OPTIONS_HEIGHT  112
 
 #define CARDBACK_OPTIONS_WIDTH   72
 #define CARDBACK_OPTIONS_HEIGHT  112
 
-#define X_BORDER                  4
-#define Y_BORDER                  4
+#define X_BORDER                  5
+#define Y_BORDER                  5
 
 #define NUM_STACKS         10
 
 
 #define NUM_STACKS         10
 
index 87cd6a2..c01dcd4 100644 (file)
@@ -298,7 +298,7 @@ void CreateSpider()
         pStack[i]->SetFaceDirection(CS_FACE_DOWN, 0);
         pos = i - NUM_STACKS/2;
         pStack[i]->SetPlacement(CS_XJUST_CENTER, 0,
         pStack[i]->SetFaceDirection(CS_FACE_DOWN, 0);
         pos = i - NUM_STACKS/2;
         pStack[i]->SetPlacement(CS_XJUST_CENTER, 0,
-            pos * (__cardwidth + X_BORDER) + 6 * (X_BORDER + 2) + 2, 0);
+            pos * (__cardwidth + X_BORDER) + 6 * (X_BORDER + 1) + 3, 0);
         pStack[i]->SetEmptyImage(CS_EI_SUNK);
         pStack[i]->SetDragRule(CS_DRAG_CALLBACK, StackDragProc);
         pStack[i]->SetDropRule(CS_DROP_CALLBACK, StackDropProc);
         pStack[i]->SetEmptyImage(CS_EI_SUNK);
         pStack[i]->SetDragRule(CS_DRAG_CALLBACK, StackDragProc);
         pStack[i]->SetDropRule(CS_DROP_CALLBACK, StackDropProc);