Author: dreimer
Date: Wed Aug 6 12:13:45 2014
New Revision: 63817
URL:
http://svn.reactos.org/svn/reactos?rev=63817&view=rev
Log:
[SPIDER]
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.
Modified:
trunk/reactos/base/applications/games/spider/spider.h
trunk/reactos/base/applications/games/spider/spigame.cpp
Modified: trunk/reactos/base/applications/games/spider/spider.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/sp…
==============================================================================
--- trunk/reactos/base/applications/games/spider/spider.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/spider/spider.h [iso-8859-1] Wed Aug 6 12:13:45
2014
@@ -15,8 +15,8 @@
#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
Modified: trunk/reactos/base/applications/games/spider/spigame.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/sp…
==============================================================================
--- trunk/reactos/base/applications/games/spider/spigame.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/spider/spigame.cpp [iso-8859-1] Wed Aug 6
12:13:45 2014
@@ -298,7 +298,7 @@
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);