mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
New Feature: Campaign History collects combat data and displays battle reports on the website.
requires GameDir >= r1901. For more info, see http://www.bears-pit.com/board/ubbthreads.php/topics/329205.html#Post329205 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6705 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+10
-10
@@ -1824,17 +1824,17 @@ void DisplayEmailList()
|
||||
else if(pEmail->fRead)
|
||||
{
|
||||
// message has been read, reset color to black
|
||||
SetFontForeground(FONT_BLACK);
|
||||
SetFontForeground(FONT_BLACK);
|
||||
//SetFontBackground(FONT_BLACK);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
// defualt, message is not read, set font red
|
||||
SetFontForeground(FONT_RED);
|
||||
// defualt, message is not read, set font red
|
||||
SetFontForeground(FONT_RED);
|
||||
//SetFontBackground(FONT_BLACK);
|
||||
}
|
||||
SetFontBackground(FONT_BLACK);
|
||||
SetFontBackground(FONT_BLACK);
|
||||
|
||||
//draw the icon, sender, date, subject
|
||||
DrawLetterIcon(iCounter,pEmail->fRead );
|
||||
@@ -1845,15 +1845,15 @@ void DisplayEmailList()
|
||||
else if ( pEmail->EmailVersion == TYPE_EMAIL_EMAIL_EDT || pEmail->EmailVersion == TYPE_EMAIL_EMAIL_EDT_NAME_MERC || pEmail->EmailVersion == TYPE_EMAIL_BOBBY_R || pEmail->EmailVersion == TYPE_EMAIL_BOBBY_R_EMAIL_JA2_EDT || pEmail->EmailVersion == TYPE_EMAIL_INSURANCE_COMPANY_EMAIL_JA2_EDT || pEmail->EmailVersion == TYPE_EMAIL_DEAD_MERC_AIM_SITE_EMAIL_JA2_EDT) //|| pEmail->EmailVersion == TYPE_EMAIL_OTHER )
|
||||
DrawSender(iCounter, pEmail->ubSender, pEmail->fRead, pEmail->EmailVersion);
|
||||
|
||||
DrawDate(iCounter, pEmail->iDate, pEmail->fRead );
|
||||
DrawDate(iCounter, pEmail->iDate, pEmail->fRead );
|
||||
|
||||
iCounter++;
|
||||
|
||||
// too many messages onthis page, reset pEmail, so no more are drawn
|
||||
if(iCounter >=MAX_MESSAGES_PAGE)
|
||||
pEmail=NULL;
|
||||
if(iCounter >= MAX_MESSAGES_PAGE)
|
||||
pEmail=NULL;
|
||||
else
|
||||
pEmail=GetEmailMessage(pPage->iIds[iCounter]);
|
||||
pEmail=GetEmailMessage(pPage->iIds[iCounter]);
|
||||
|
||||
}
|
||||
|
||||
@@ -3670,7 +3670,7 @@ BOOLEAN HandleMailSpecialMessages( UINT16 usMessageId, INT32 *iResults, EmailPtr
|
||||
//Set the book mark so the player can access the site
|
||||
SetBookMark( MERC_BOOKMARK );
|
||||
break;
|
||||
|
||||
|
||||
case MERC_DIED_ON_OTHER_ASSIGNMENT:
|
||||
ModifyInsuranceEmails( usMessageId, iResults, pMail, MERC_DIED_ON_OTHER_ASSIGNMENT_LENGTH );
|
||||
break;
|
||||
@@ -3728,7 +3728,7 @@ BOOLEAN HandleMailSpecialMessages( UINT16 usMessageId, INT32 *iResults, EmailPtr
|
||||
}
|
||||
}
|
||||
giPrevMessageId = giMessageId;
|
||||
break;
|
||||
break;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user