Graduated colours for crew in shipyard, from Nic.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@746 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
Changes towards version 0.2:
|
Changes towards version 0.2:
|
||||||
|
- Graduated colours for crew in shipyard, from Nic
|
||||||
- Alien dialog fixes: Talking Pet, Utwig, Mycon, Syreen -fOSSiL
|
- Alien dialog fixes: Talking Pet, Utwig, Mycon, Syreen -fOSSiL
|
||||||
- Updated all game, menu, melee and weapon sounds to original 3DO
|
- Updated all game, menu, melee and weapon sounds to original 3DO
|
||||||
ones (extracted using various tools); some sounds were simply
|
ones (extracted using various tools); some sounds were simply
|
||||||
|
|||||||
+19
-4
@@ -980,6 +980,19 @@ GetCPodCapacity (PPOINT ppt)
|
|||||||
GLOBAL_SIS (CrewEnlisted))
|
GLOBAL_SIS (CrewEnlisted))
|
||||||
{
|
{
|
||||||
COUNT pod_remainder, which_row;
|
COUNT pod_remainder, which_row;
|
||||||
|
COLOR crew_rows[] =
|
||||||
|
{
|
||||||
|
BUILD_COLOR (MAKE_RGB15 (0x0A, 0x1E,0x09), 0x65),
|
||||||
|
BUILD_COLOR (MAKE_RGB15 (0x00, 0x1E,0x00), 0x65),
|
||||||
|
BUILD_COLOR (MAKE_RGB15 (0x00, 0x1B,0x00), 0x65),
|
||||||
|
BUILD_COLOR (MAKE_RGB15 (0x00, 0x18,0x00), 0x65),
|
||||||
|
BUILD_COLOR (MAKE_RGB15 (0x00, 0x15,0x00), 0x65),
|
||||||
|
BUILD_COLOR (MAKE_RGB15 (0x00, 0x12,0x00), 0x65),
|
||||||
|
BUILD_COLOR (MAKE_RGB15 (0x00, 0x10,0x00), 0x65),
|
||||||
|
BUILD_COLOR (MAKE_RGB15 (0x00, 0x0D,0x00), 0x65),
|
||||||
|
BUILD_COLOR (MAKE_RGB15 (0x00, 0x0A,0x00), 0x65),
|
||||||
|
BUILD_COLOR (MAKE_RGB15 (0x00, 0x07,0x00), 0x65),
|
||||||
|
};
|
||||||
|
|
||||||
pod_remainder = GLOBAL_SIS (CrewEnlisted) - capacity;
|
pod_remainder = GLOBAL_SIS (CrewEnlisted) - capacity;
|
||||||
|
|
||||||
@@ -987,10 +1000,12 @@ GetCPodCapacity (PPOINT ppt)
|
|||||||
which_row = pod_remainder / CREW_PER_ROW;
|
which_row = pod_remainder / CREW_PER_ROW;
|
||||||
ppt->y = 34 - (which_row << 1);
|
ppt->y = 34 - (which_row << 1);
|
||||||
|
|
||||||
// For Now.
|
if (optWhichFonts == OPT_PC)
|
||||||
SetContextForeGroundColor (
|
SetContextForeGroundColor (crew_rows[which_row]);
|
||||||
BUILD_COLOR (MAKE_RGB15 (0x05, 0x10, 0x05), 0x65)
|
else
|
||||||
);
|
SetContextForeGroundColor (
|
||||||
|
BUILD_COLOR (MAKE_RGB15 (0x05, 0x10, 0x05), 0x65)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
capacity += CREW_POD_CAPACITY;
|
capacity += CREW_POD_CAPACITY;
|
||||||
|
|||||||
Reference in New Issue
Block a user