Fixed colour cycling in the roster screen (bug #279), from Nic
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1136 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Changes towards version 0.3:
|
||||
- Fix colour cycling in the roster screen (bug #279), from Nic
|
||||
- Fixed last seen battle-group teleporting to Sol after invoking
|
||||
Talking Pet in Sol (bug #109) -Alex
|
||||
- Fixed a dialog glitch on Slylandro homeworld (#442) -Michael
|
||||
|
||||
@@ -26,7 +26,7 @@ flash_ship_task(void *data)
|
||||
COLOR c;
|
||||
Task task = (Task) data;
|
||||
|
||||
c = BUILD_COLOR (MAKE_RGB15 (0x1F, 0x19, 0x19), 0x24);
|
||||
c = BUILD_COLOR (MAKE_RGB15 (0x1F, 0x00, 0x00), 0x24);
|
||||
TimeIn = GetTimeCounter ();
|
||||
while (!Task_ReadState (task, TASK_EXIT))
|
||||
{
|
||||
@@ -47,10 +47,10 @@ flash_ship_task(void *data)
|
||||
(HSTARSHIP)pMenuState->CurFrame
|
||||
);
|
||||
OldContext = SetContext (StatusContext);
|
||||
if (c == BUILD_COLOR (MAKE_RGB15 (0x1F, 0x19, 0x19), 0x24))
|
||||
c = BUILD_COLOR (MAKE_RGB15 (0xB, 0x00, 0x00), 0x2E);
|
||||
if (c >= BUILD_COLOR (MAKE_RGB15 (0x1F, 0x19, 0x19), 0x24))
|
||||
c = BUILD_COLOR (MAKE_RGB15 (0x1F, 0x00, 0x00), 0x24);
|
||||
else
|
||||
c -= BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01);
|
||||
c += BUILD_COLOR (MAKE_RGB15 (0x00, 0x02, 0x02), 0x00);
|
||||
OldColor = SetContextForeGroundColor (c);
|
||||
DrawFilledStamp (&s);
|
||||
SetContextForeGroundColor (OldColor);
|
||||
|
||||
Reference in New Issue
Block a user