*********************************************************

*	2006/05/01					*
*	Little Alien					*
*	Developed in VS 2003				*
*********************************************************

Source:
- Added militia control in tactical (can be turned on/off in ja2.ini file)
- Aiming/readying gun: show in red points needed for readying gun

Data:
- Added new ja2.ini



git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@46 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
lalien
2006-05-01 20:59:34 +00:00
parent dc2b482a8f
commit cce975b6c1
16 changed files with 2454 additions and 205 deletions
+22
View File
@@ -16,6 +16,10 @@
#include "Cursor Control.h"
#endif
//aim
extern UINT8 gubShowActionPointsInRed;
UINT8 gpShadesFromWhiteToRed[] = {FONT_MCOLOR_WHITE, FONT_MCOLOR_DKWHITE, FONT_MCOLOR_DKGRAY, FONT_MCOLOR_DKRED, FONT_MCOLOR_RED };
//aim
#define NUM_MOUSE_LEVELS 2
@@ -1451,6 +1455,16 @@ void DrawMouseText( )
SetFontBackground( FONT_MCOLOR_BLACK );
SetFontForeground( FONT_MCOLOR_WHITE );
SetFontShadow( DEFAULT_SHADOW );
//aim
if ( gubShowActionPointsInRed )
{
SetFontForeground( gpShadesFromWhiteToRed[ gubShowActionPointsInRed - 1 ] );
gubShowActionPointsInRed = 0;
}
else
SetFontForeground( FONT_MCOLOR_WHITE );
//aim
}
}
else
@@ -1460,6 +1474,14 @@ void DrawMouseText( )
if ( gfUIDisplayActionPointsBlack )
{
//aim
if ( gubShowActionPointsInRed )
{
SetFontForeground( gpShadesFromWhiteToRed[ gubShowActionPointsInRed - 1 ] );
gubShowActionPointsInRed = 0;
}
else
//aim
SetFontForeground( FONT_MCOLOR_WHITE );
SetFontShadow( DEFAULT_SHADOW );
}