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:
gewlitys
2003-08-28 15:09:38 +00:00
parent 714392f34e
commit d9943b1689
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -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
+4 -4
View File
@@ -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);