I know most of C++. For example, I can explain what
[code] if ( !pMarine || !pMarine->IsAlive() )
{
EndAttack();
return;
}
// don't fire underwater
if ( pMarine->GetWaterLevel() == 3 )
{
WeaponSound( EMPTY );
m_flNextPrimaryAttack = gpGlobals->curtime + 0.5;
m_flNextSecondaryAttack = gpGlobals->curtime + 0.5;
return;
}
[/code] those two blocks of code do.
However, Source has so many functions and typedefs specific to the engine, if not the game, so I'm kinda at a loss figuring out various functions in the code. The VDC doesn't have good documentation for program functions, is there a site that lists the functions in a way similar to the GMod Wiki?
Not really. You pretty much need to find everything out by looking through the source code.
ugggh
That sucks.
Sorry, you need to Log In to post a reply to this thread.