mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
************************************************************
* Merged Source Code from Development Trunk: Revision 4063 * ************************************************************ - Source Code is merged from: https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP - This will be the Source for the Beta 2011 Test git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4064 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -671,7 +671,7 @@ void SetupGunGUI()
|
||||
//for a particular weapon. Show only the ones that we can apply to this gun.
|
||||
yp = 2 * iScreenHeightOffset + 383;
|
||||
guiAttachmentButton[ SILENCER_ATTACHMENT_BUTTON ] = -1;
|
||||
if( ValidAttachment( SILENCER, gpItem->usItem ) )
|
||||
if( ValidAttachment( SILENCER, gpItem ) )
|
||||
{
|
||||
guiAttachmentButton[ SILENCER_ATTACHMENT_BUTTON ] =
|
||||
CreateTextButton( L"SILENCER", SMALLCOMPFONT, FONT_YELLOW, FONT_BLACK, BUTTON_USE_DEFAULT,
|
||||
@@ -684,7 +684,7 @@ void SetupGunGUI()
|
||||
}
|
||||
}
|
||||
guiAttachmentButton[ SNIPERSCOPE_ATTACHMENT_BUTTON ] = -1;
|
||||
if( ValidAttachment( SNIPERSCOPE, gpItem->usItem ) )
|
||||
if( ValidAttachment( SNIPERSCOPE, gpItem ) )
|
||||
{
|
||||
guiAttachmentButton[ SNIPERSCOPE_ATTACHMENT_BUTTON ] =
|
||||
CreateTextButton( L"SNIPERSCOPE", SMALLCOMPFONT, FONT_YELLOW, FONT_BLACK, BUTTON_USE_DEFAULT,
|
||||
@@ -697,7 +697,7 @@ void SetupGunGUI()
|
||||
}
|
||||
}
|
||||
guiAttachmentButton[ LASERSCOPE_ATTACHMENT_BUTTON ] = -1;
|
||||
if( ValidAttachment( LASERSCOPE, gpItem->usItem ) )
|
||||
if( ValidAttachment( LASERSCOPE, gpItem ) )
|
||||
{
|
||||
guiAttachmentButton[ LASERSCOPE_ATTACHMENT_BUTTON ] =
|
||||
CreateTextButton( L"LASERSCOPE", SMALLCOMPFONT, FONT_YELLOW, FONT_BLACK, BUTTON_USE_DEFAULT,
|
||||
@@ -710,7 +710,7 @@ void SetupGunGUI()
|
||||
}
|
||||
}
|
||||
guiAttachmentButton[ BIPOD_ATTACHMENT_BUTTON ] = -1;
|
||||
if( ValidAttachment( BIPOD, gpItem->usItem ) )
|
||||
if( ValidAttachment( BIPOD, gpItem ) )
|
||||
{
|
||||
guiAttachmentButton[ BIPOD_ATTACHMENT_BUTTON ] =
|
||||
CreateTextButton( L"BIPOD", SMALLCOMPFONT, FONT_YELLOW, FONT_BLACK, BUTTON_USE_DEFAULT,
|
||||
@@ -723,7 +723,7 @@ void SetupGunGUI()
|
||||
}
|
||||
}
|
||||
guiAttachmentButton[ DUCKBILL_ATTACHMENT_BUTTON ] = -1;
|
||||
if( ValidAttachment( DUCKBILL, gpItem->usItem ) )
|
||||
if( ValidAttachment( DUCKBILL, gpItem ) )
|
||||
{
|
||||
guiAttachmentButton[ DUCKBILL_ATTACHMENT_BUTTON ] =
|
||||
CreateTextButton( L"DUCKBILL", SMALLCOMPFONT, FONT_YELLOW, FONT_BLACK, BUTTON_USE_DEFAULT,
|
||||
@@ -736,7 +736,7 @@ void SetupGunGUI()
|
||||
}
|
||||
}
|
||||
guiAttachmentButton[ GLAUNCHER_ATTACHMENT_BUTTON ] = -1;
|
||||
if( ValidAttachment( UNDER_GLAUNCHER, gpItem->usItem ) )
|
||||
if( ValidAttachment( UNDER_GLAUNCHER, gpItem ) )
|
||||
{
|
||||
guiAttachmentButton[ GLAUNCHER_ATTACHMENT_BUTTON ] =
|
||||
CreateTextButton( L"G-LAUNCHER", SMALLCOMPFONT, FONT_YELLOW, FONT_BLACK, BUTTON_USE_DEFAULT,
|
||||
@@ -855,7 +855,7 @@ void SetupArmourGUI()
|
||||
}
|
||||
|
||||
guiCeramicPlatesButton = -1;
|
||||
if( ValidAttachment( CERAMIC_PLATES, gpItem->usItem ) )
|
||||
if( ValidAttachment( CERAMIC_PLATES, gpItem ) )
|
||||
{
|
||||
guiCeramicPlatesButton =
|
||||
CreateTextButton( L"CERAMIC PLATES", SMALLCOMPFONT, FONT_YELLOW, FONT_BLACK, BUTTON_USE_DEFAULT,
|
||||
@@ -1012,7 +1012,7 @@ void SetupExplosivesGUI()
|
||||
yp = 375;
|
||||
gfDetonator = FALSE;
|
||||
guiDetonatorButton = -1;
|
||||
if( ValidAttachment( DETONATOR, gpItem->usItem ) )
|
||||
if( ValidAttachment( DETONATOR, gpItem ) )
|
||||
{
|
||||
guiDetonatorButton =
|
||||
CreateTextButton( L"DETONATOR", SMALLCOMPFONT, FONT_YELLOW, FONT_BLACK, BUTTON_USE_DEFAULT,
|
||||
|
||||
Reference in New Issue
Block a user