Proper fix for conversation summary causing palette errors (bug

#324), also darkens its background to match PC version, from chmmravatar


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@938 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-04-30 14:12:10 +00:00
parent 57ab697617
commit 043a0d240c
3 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
slyhome.0.png -1 84 0 0
slyhome.0.png 0 84 0 0
slyhome.1.png 0 84 -194 -47
slyhome.2.png 0 84 -194 -47
slyhome.3.png 0 84 -194 -47
+1 -1
View File
@@ -1,4 +1,4 @@
slyland.0.png -1 59 0 0
slyland.0.png 0 59 0 0
slyland.1.png 0 59 -44 -87
slyland.2.png 0 59 -44 -87
slyland.3.png 0 59 -44 -87
+6 -4
View File
@@ -1691,11 +1691,11 @@ DoCommunication (INPUT_STATE InputState, PENCOUNTER_STATE pES)
r.corner.y = 0;
r.extent.width = SIS_SCREEN_WIDTH;
r.extent.height = SIS_SCREEN_HEIGHT - SLIDER_Y - SLIDER_HEIGHT + 2;
SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0x00, 0x8, 0x00), 0x6E));
SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0x00, 0x05, 0x00), 0x6E));
DrawFilledRectangle (&r);
ClearSemaphore (GraphicsSem);
SetContextBackGroundColor (BUILD_COLOR (MAKE_RGB15 (0x00, 0x8, 0x00), 0x6E));
SetContextBackGroundColor (BUILD_COLOR (MAKE_RGB15 (0x00, 0x05, 0x00), 0x6E));
SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0x00, 0x10, 0x00), 0x6B));
t.baseline.x = SAFE_X + 2;
@@ -1751,7 +1751,7 @@ DoCommunication (INPUT_STATE InputState, PENCOUNTER_STATE pES)
TaskSwitch ();
SetSemaphore (GraphicsSem);
SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0x00, 0x8, 0x00), 0x6E));
SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0x00, 0x05, 0x00), 0x6E));
DrawFilledRectangle (&r);
ClearSemaphore (GraphicsSem);
SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0x00, 0x10, 0x00), 0x6B));
@@ -1785,7 +1785,7 @@ DoCommunication (INPUT_STATE InputState, PENCOUNTER_STATE pES)
TaskSwitch ();
SetSemaphore (GraphicsSem);
SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0x00, 0x8, 0x00), 0x6E));
SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0x00, 0x05, 0x00), 0x6E));
DrawFilledRectangle (&r);
ClearSemaphore (GraphicsSem);
SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0x00, 0x10, 0x00), 0x6B));
@@ -1801,6 +1801,8 @@ DoCommunication (INPUT_STATE InputState, PENCOUNTER_STATE pES)
SetSemaphore (GraphicsSem);
SetContextFont (fLast);
RefreshResponses (pES);
SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x00), 0x00));
DrawFilledRectangle (&r);
ClearSemaphore (GraphicsSem);
ColorChange = TRUE;
summary = FALSE;