mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
Remove DrawlapTopIcons()
Empty function
This commit is contained in:
@@ -670,13 +670,6 @@ void AddCustomEmail(INT32 iMessageOffset, INT32 iMessageLength, UINT8 ubSender,
|
|||||||
// add message to list
|
// add message to list
|
||||||
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, 0, 0, iCurrentIMPPosition, iCurrentShipmentDestinationID, EmailType, TYPE_E_NONE );
|
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, 0, 0, iCurrentIMPPosition, iCurrentShipmentDestinationID, EmailType, TYPE_E_NONE );
|
||||||
|
|
||||||
// if we are in fact int he laptop, redraw icons, might be change in mail status
|
|
||||||
|
|
||||||
if( fCurrentlyInLaptop )
|
|
||||||
{
|
|
||||||
// redraw icons, might be new mail
|
|
||||||
DrawLapTopIcons();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//--
|
//--
|
||||||
@@ -721,14 +714,6 @@ void AddEmailWithSpecialData(INT32 iMessageOffset, INT32 iMessageLength, UINT8 u
|
|||||||
// add message to list
|
// add message to list
|
||||||
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, iFirstData, uiSecondData, -1 , -1, EmailType, EmailAIM );
|
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, iFirstData, uiSecondData, -1 , -1, EmailType, EmailAIM );
|
||||||
|
|
||||||
// if we are in fact int he laptop, redraw icons, might be change in mail status
|
|
||||||
|
|
||||||
if( fCurrentlyInLaptop == TRUE )
|
|
||||||
{
|
|
||||||
// redraw icons, might be new mail
|
|
||||||
DrawLapTopIcons();
|
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -761,14 +746,6 @@ void AddEmailWithSpecialDataXML(INT32 iMessageOffset, INT32 iMessageLength, UINT
|
|||||||
// add message to list
|
// add message to list
|
||||||
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, iFirstData, uiSecondData, -1 , -1, EmailType, EmailAIM);
|
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, iFirstData, uiSecondData, -1 , -1, EmailType, EmailAIM);
|
||||||
|
|
||||||
// if we are in fact int he laptop, redraw icons, might be change in mail status
|
|
||||||
|
|
||||||
if( fCurrentlyInLaptop == TRUE )
|
|
||||||
{
|
|
||||||
// redraw icons, might be new mail
|
|
||||||
DrawLapTopIcons();
|
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -792,13 +769,6 @@ void AddPreReadEmailTypeXML( INT32 iMessageOffset, INT32 iMessageLength, UINT8 u
|
|||||||
// add message to list
|
// add message to list
|
||||||
AddEmailMessage( iMessageOffset,iMessageLength, pSubject, iDate, ubSender, TRUE, 0, 0, -1, -1 , EmailType, TYPE_E_NONE );
|
AddEmailMessage( iMessageOffset,iMessageLength, pSubject, iDate, ubSender, TRUE, 0, 0, -1, -1 , EmailType, TYPE_E_NONE );
|
||||||
|
|
||||||
// if we are in fact int he laptop, redraw icons, might be change in mail status
|
|
||||||
|
|
||||||
if( fCurrentlyInLaptop )
|
|
||||||
{
|
|
||||||
// redraw icons, might be new mail
|
|
||||||
DrawLapTopIcons();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AddEmailTypeXML( INT32 iMessageOffset, INT32 iMessageLength, UINT8 ubSender, INT32 iDate, INT32 iCurrentIMPPosition, UINT8 EmailType )
|
void AddEmailTypeXML( INT32 iMessageOffset, INT32 iMessageLength, UINT8 ubSender, INT32 iDate, INT32 iCurrentIMPPosition, UINT8 EmailType )
|
||||||
@@ -830,13 +800,6 @@ void AddEmailTypeXML( INT32 iMessageOffset, INT32 iMessageLength, UINT8 ubSender
|
|||||||
}
|
}
|
||||||
|
|
||||||
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, 0, 0, iCurrentIMPPosition, -1, EmailType, TYPE_E_NONE);
|
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, 0, 0, iCurrentIMPPosition, -1, EmailType, TYPE_E_NONE);
|
||||||
|
|
||||||
// if we are in fact int he laptop, redraw icons, might be change in mail status
|
|
||||||
if( fCurrentlyInLaptop )
|
|
||||||
{
|
|
||||||
// redraw icons, might be new mail
|
|
||||||
DrawLapTopIcons();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef JA2UB
|
#ifdef JA2UB
|
||||||
@@ -853,14 +816,6 @@ void AddBobbyREmailJA2(INT32 iMessageOffset, INT32 iMessageLength, UINT8 ubSende
|
|||||||
// add message to list
|
// add message to list
|
||||||
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, 0, 0, iCurrentIMPPosition, iCurrentShipmentDestinationID, EmailType, TYPE_EMAIL_BOBBY_R_L1);
|
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, 0, 0, iCurrentIMPPosition, iCurrentShipmentDestinationID, EmailType, TYPE_EMAIL_BOBBY_R_L1);
|
||||||
|
|
||||||
// if we are in fact int he laptop, redraw icons, might be change in mail status
|
|
||||||
|
|
||||||
if( fCurrentlyInLaptop == TRUE )
|
|
||||||
{
|
|
||||||
// redraw icons, might be new mail
|
|
||||||
DrawLapTopIcons();
|
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -884,14 +839,6 @@ void AddEmailWFMercAvailable(INT32 iMessageOffset, INT32 iMessageLength, UINT8 u
|
|||||||
|
|
||||||
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, 0, 0, iCurrentIMPPosition, -1 , EmailType, TYPE_E_NONE);
|
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, 0, 0, iCurrentIMPPosition, -1 , EmailType, TYPE_E_NONE);
|
||||||
|
|
||||||
// if we are in fact int he laptop, redraw icons, might be change in mail status
|
|
||||||
|
|
||||||
if( fCurrentlyInLaptop == TRUE )
|
|
||||||
{
|
|
||||||
// redraw icons, might be new mail
|
|
||||||
DrawLapTopIcons();
|
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -931,14 +878,6 @@ void AddEmail(INT32 iMessageOffset, INT32 iMessageLength, UINT8 ubSender, INT32
|
|||||||
// add message to list
|
// add message to list
|
||||||
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, 0, 0, iCurrentIMPPosition, iCurrentShipmentDestinationID, EmailType, TYPE_E_NONE);
|
AddEmailMessage(iMessageOffset,iMessageLength, pSubject, iDate, ubSender, FALSE, 0, 0, iCurrentIMPPosition, iCurrentShipmentDestinationID, EmailType, TYPE_E_NONE);
|
||||||
|
|
||||||
// if we are in fact int he laptop, redraw icons, might be change in mail status
|
|
||||||
|
|
||||||
if( fCurrentlyInLaptop == TRUE )
|
|
||||||
{
|
|
||||||
// redraw icons, might be new mail
|
|
||||||
DrawLapTopIcons();
|
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -968,13 +907,6 @@ void AddPreReadEmail(INT32 iMessageOffset, INT32 iMessageLength, UINT8 ubSender,
|
|||||||
// add message to list
|
// add message to list
|
||||||
AddEmailMessage( iMessageOffset,iMessageLength, pSubject, iDate, ubSender, TRUE, 0, 0, -1, -1 , EmailType, TYPE_E_NONE );
|
AddEmailMessage( iMessageOffset,iMessageLength, pSubject, iDate, ubSender, TRUE, 0, 0, -1, -1 , EmailType, TYPE_E_NONE );
|
||||||
|
|
||||||
// if we are in fact int he laptop, redraw icons, might be change in mail status
|
|
||||||
|
|
||||||
if( fCurrentlyInLaptop == TRUE )
|
|
||||||
{
|
|
||||||
// redraw icons, might be new mail
|
|
||||||
DrawLapTopIcons();
|
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -1956,9 +1888,6 @@ void BtnMessageXCallback(GUI_BUTTON *btn,INT32 reason)
|
|||||||
// reset page being displayed
|
// reset page being displayed
|
||||||
giMessagePage = 0;
|
giMessagePage = 0;
|
||||||
|
|
||||||
// redraw icons
|
|
||||||
DrawLapTopIcons();
|
|
||||||
|
|
||||||
// force update of entire screen
|
// force update of entire screen
|
||||||
fPausedReDrawScreenFlag=TRUE;
|
fPausedReDrawScreenFlag=TRUE;
|
||||||
|
|
||||||
@@ -2421,7 +2350,6 @@ BOOLEAN DisplayNewMailBox( void )
|
|||||||
|
|
||||||
// printf warning string
|
// printf warning string
|
||||||
mprintf(EMAIL_WARNING_X + 60, EMAIL_WARNING_Y + 63, pNewMailStrings[0] );
|
mprintf(EMAIL_WARNING_X + 60, EMAIL_WARNING_Y + 63, pNewMailStrings[0] );
|
||||||
DrawLapTopIcons( );
|
|
||||||
|
|
||||||
// invalidate region
|
// invalidate region
|
||||||
InvalidateRegion( EMAIL_WARNING_X, EMAIL_WARNING_Y, EMAIL_WARNING_X + 270, EMAIL_WARNING_Y + 200 );
|
InvalidateRegion( EMAIL_WARNING_X, EMAIL_WARNING_Y, EMAIL_WARNING_X + 270, EMAIL_WARNING_Y + 200 );
|
||||||
@@ -2883,9 +2811,6 @@ void DeleteEmail()
|
|||||||
// upadte list
|
// upadte list
|
||||||
PlaceMessagesinPages();
|
PlaceMessagesinPages();
|
||||||
|
|
||||||
// redraw icons (if deleted message was last unread, remove checkmark)
|
|
||||||
DrawLapTopIcons();
|
|
||||||
|
|
||||||
// if all of a sudden we are beyond last page, move back one
|
// if all of a sudden we are beyond last page, move back one
|
||||||
if(iCurrentPage > iLastPage)
|
if(iCurrentPage > iLastPage)
|
||||||
iCurrentPage=iLastPage;
|
iCurrentPage=iLastPage;
|
||||||
@@ -3037,9 +2962,6 @@ void ViewMessageRegionCallBack( MOUSE_REGION * pRegion, INT32 iReason )
|
|||||||
// reset page being displayed
|
// reset page being displayed
|
||||||
giMessagePage = 0;
|
giMessagePage = 0;
|
||||||
|
|
||||||
// redraw icons
|
|
||||||
DrawLapTopIcons();
|
|
||||||
|
|
||||||
// force update of entire screen
|
// force update of entire screen
|
||||||
fPausedReDrawScreenFlag=TRUE;
|
fPausedReDrawScreenFlag=TRUE;
|
||||||
|
|
||||||
|
|||||||
@@ -837,13 +837,6 @@ BOOLEAN InitLaptopAndLaptopScreens()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
UINT32
|
|
||||||
DrawLapTopIcons()
|
|
||||||
{
|
|
||||||
|
|
||||||
return (TRUE);
|
|
||||||
}
|
|
||||||
|
|
||||||
UINT32
|
UINT32
|
||||||
DrawLapTopText()
|
DrawLapTopText()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ void ExitLaptop();
|
|||||||
void RenderLaptop();
|
void RenderLaptop();
|
||||||
UINT32 ExitLaptopMode(UINT32 uiMode);
|
UINT32 ExitLaptopMode(UINT32 uiMode);
|
||||||
void EnterNewLaptopMode();
|
void EnterNewLaptopMode();
|
||||||
UINT32 DrawLapTopIcons();
|
|
||||||
UINT32 DrawLapTopText();
|
UINT32 DrawLapTopText();
|
||||||
void ReDrawHighLight();
|
void ReDrawHighLight();
|
||||||
void DrawButtonText();
|
void DrawButtonText();
|
||||||
@@ -26,7 +25,6 @@ BOOLEAN IsBookMarkSet( INT32 iBookId );
|
|||||||
BOOLEAN LeaveLapTopScreen( );
|
BOOLEAN LeaveLapTopScreen( );
|
||||||
void SetLaptopExitScreen( UINT32 uiExitScreen );
|
void SetLaptopExitScreen( UINT32 uiExitScreen );
|
||||||
void SetLaptopNewGameFlag( );
|
void SetLaptopNewGameFlag( );
|
||||||
UINT32 DrawLapTopIcons( );
|
|
||||||
void LapTopScreenCallBack(MOUSE_REGION * pRegion, INT32 iReason );
|
void LapTopScreenCallBack(MOUSE_REGION * pRegion, INT32 iReason );
|
||||||
void HandleRightButtonUpEvent( void );
|
void HandleRightButtonUpEvent( void );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user