From b28d5f6dbedd5b895eed4cc5b730581df3b2215d Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Fri, 26 Jun 2015 01:29:00 +0200 Subject: Initial implementation of Wraith. --- src/cgame/cg_main.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/cgame/cg_main.c') diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index c3f45dd..c224171 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -769,6 +769,10 @@ static void CG_RegisterSounds( void ) cgs.media.hitSounds[ i ] = trap_S_RegisterSound( hit_sounds[ i ], qfalse ); cgs.media.rocketlPrimeSound = trap_S_RegisterSound( "models/weapons/rocketl/prime.wav", qfalse ); + + cgs.media.warpEnterSound = trap_S_RegisterSound( "sound/player/level1/warp1.wav", qfalse ); + cgs.media.warpExitSound = trap_S_RegisterSound( "sound/player/level1/warp2.wav", qfalse ); + cgs.media.warpingSound = trap_S_RegisterSound( "sound/player/level1/warping.wav", qfalse ); } @@ -930,6 +934,11 @@ static void CG_RegisterGraphics( void ) cgs.media.lightningImpactPS = CG_RegisterParticleSystem( "models/weapons/lightning/impactPS" ); + cgs.media.warpEnterPS = CG_RegisterParticleSystem( "gfx/level1/warpEnterPS" ); + cgs.media.warpExitPS = CG_RegisterParticleSystem( "gfx/level1/warpExitPS" ); + cgs.media.warpOverlay = trap_R_RegisterShader( "gfx/level1/warpOverlay" ); + cgs.media.warpOverlayBlocked = trap_R_RegisterShader( "gfx/level1/warpOverlayBlocked" ); + CG_BuildableStatusParse( "ui/assets/human/buildstat.cfg", &cgs.humanBuildStat ); CG_BuildableStatusParse( "ui/assets/alien/buildstat.cfg", &cgs.alienBuildStat ); -- cgit