o Added per team column titles for Info - Weapon for marines, Res for aliens.

o Moved the info column to be before score, so score, kills and deaths are together.  ( it also makes more room for 'Weapon' to display uncluttered

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@402 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
puzl 2006-04-20 19:18:42 +00:00
parent 2d8fdd18c6
commit 2eb8a45207
3 changed files with 21 additions and 2 deletions

View file

@ -737,6 +737,15 @@ void ScorePanel::FillGrid()
} }
bool bNextRowIsGap = false; bool bNextRowIsGap = false;
if ( gHUD.GetIsMarine() ) {
m_HeaderLabels[COLUMN_EXTRA].setText(CHudTextMessage::BufferedLocaliseTextString("#COLWEAP"));
}
else if ( gHUD.GetIsAlien() ) {
m_HeaderLabels[COLUMN_EXTRA].setText(CHudTextMessage::BufferedLocaliseTextString("#COLRES"));
}
else {
m_HeaderLabels[COLUMN_EXTRA].setText(CHudTextMessage::BufferedLocaliseTextString("#EXTRA"));
}
for(int row=0; row < NUM_ROWS; row++) for(int row=0; row < NUM_ROWS; row++)
{ {

View file

@ -20,8 +20,8 @@
#define COLUMN_RANK_ICON 1 #define COLUMN_RANK_ICON 1
#define COLUMN_NAME 2 #define COLUMN_NAME 2
#define COLUMN_CLASS 3 #define COLUMN_CLASS 3
#define COLUMN_SCORE 4 #define COLUMN_EXTRA 4
#define COLUMN_EXTRA 5 #define COLUMN_SCORE 5
#define COLUMN_KILLS 6 #define COLUMN_KILLS 6
#define COLUMN_DEATHS 7 #define COLUMN_DEATHS 7
#define COLUMN_LATENCY 8 #define COLUMN_LATENCY 8

View file

@ -376,6 +376,16 @@ EXTRA
Info Info
} }
COLWEAP
{
Weapon
}
COLRES
{
Res
}
DEATHS DEATHS
{ {
Deaths Deaths