MCPcopy Create free account
hub / github.com/JACoders/OpenJK / RT_Precache

Function RT_Precache

code/game/AI_RocketTrooper.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37#define RT_FLYING_FORWARD_MULTIPLIER 10
38
39void RT_Precache( void )
40{
41 G_SoundIndex( "sound/chars/boba/bf_blast-off.wav" );
42 G_SoundIndex( "sound/chars/boba/bf_jetpack_lp.wav" );
43 G_SoundIndex( "sound/chars/boba/bf_land.wav" );
44 G_EffectIndex( "rockettrooper/flameNEW" );
45 G_EffectIndex( "rockettrooper/light_cone" );//extern this? At least use a different one
46}
47
48extern void NPC_BehaviorSet_Stormtrooper( int bState );
49void RT_RunStormtrooperAI( void )

Callers 1

NPC_PrecacheByClassNameFunction · 0.85

Calls 2

G_SoundIndexFunction · 0.70
G_EffectIndexFunction · 0.70

Tested by

no test coverage detected