aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
diff options
context:
space:
mode:
authortjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-08-22 16:13:51 +0000
committertjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-08-22 16:13:51 +0000
commitbc5a8944d03f0b96ffa1fd88c33c2f84c4d9249c (patch)
tree2a2e105deec11e9036f8eba4b751e15823e8ee94 /code/client
parent677e741ce6c129f59c7797646aeb18215078e00f (diff)
downloadioquake3-aero-bc5a8944d03f0b96ffa1fd88c33c2f84c4d9249c.tar.gz
ioquake3-aero-bc5a8944d03f0b96ffa1fd88c33c2f84c4d9249c.zip
* Add SVN version to the version string displayed in the client console
if it can be detected git-svn-id: svn://svn.icculus.org/quake3/trunk@858 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-rw-r--r--code/client/cl_console.c4
-rw-r--r--code/client/client.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/code/client/cl_console.c b/code/client/cl_console.c
index 09e48e7..b8f5f90 100644
--- a/code/client/cl_console.c
+++ b/code/client/cl_console.c
@@ -619,13 +619,13 @@ void Con_DrawSolidConsole( float frac ) {
re.SetColor( g_color_table[ColorIndex(COLOR_RED)] );
- i = strlen( Q3_VERSION );
+ i = strlen( SVN_VERSION );
for (x=0 ; x<i ; x++) {
SCR_DrawSmallChar( cls.glconfig.vidWidth - ( i - x ) * SMALLCHAR_WIDTH,
- (lines-(SMALLCHAR_HEIGHT+SMALLCHAR_HEIGHT/2)), Q3_VERSION[x] );
+ (lines-(SMALLCHAR_HEIGHT+SMALLCHAR_HEIGHT/2)), SVN_VERSION[x] );
}
diff --git a/code/client/client.h b/code/client/client.h
index 4da998b..3643e4f 100644
--- a/code/client/client.h
+++ b/code/client/client.h
@@ -35,6 +35,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define RETRANSMIT_TIMEOUT 3000 // time between connection packet retransmits
+#ifndef SVN_VERSION
+ #define SVN_VERSION Q3_VERSION
+#endif
// snapshots are a view of the server at a given time
typedef struct {