diff options
author | Tim Angus <tim@ngus.net> | 2002-07-29 18:43:15 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2002-07-29 18:43:15 +0000 |
commit | c92d5d545127ef86c85607b6edb361c42bb9db68 (patch) | |
tree | b27284244a8a5d3f0b6f51b008a51ea141d58948 /src/cgame/cg_buildable.c | |
parent | e633284d8b8f2fd4cbc246d45f217913bdd19dd8 (diff) |
* Scoreboard
* Level 1 class blob fire
* Loading screen
* "SPECTATOR" display uses TA UI
* Buildable weapon delays
* Display of build points on huds
Diffstat (limited to 'src/cgame/cg_buildable.c')
-rw-r--r-- | src/cgame/cg_buildable.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cgame/cg_buildable.c b/src/cgame/cg_buildable.c index 2414ca12..bd337dcc 100644 --- a/src/cgame/cg_buildable.c +++ b/src/cgame/cg_buildable.c @@ -220,6 +220,8 @@ void CG_InitBuildables( ) defaultHumanSounds[ j ] = trap_S_RegisterSound( filename, qfalse ); } + cg.buildablesFraction = 0.0f; + for( i = BA_NONE + 1; i < BA_NUM_BUILDABLES; i++ ) { buildableName = BG_FindNameForBuildable( i ); @@ -266,6 +268,9 @@ void CG_InitBuildables( ) } } } + + cg.buildablesFraction = (float)i / (float)( BA_NUM_BUILDABLES - 1 ); + trap_UpdateScreen( ); } } |