-------------------------------------------------------------------------------- Description: Manually adding a vector4 parameter to this effect's list with creating it --------------------------------------------------------------------------------
| 482 | // it |
| 483 | // -------------------------------------------------------------------------------- |
| 484 | bool Tr2Effect::AddParameterVector4( const BlueSharedString& name, const Vector4* value ) |
| 485 | { |
| 486 | // check if we have that name already! |
| 487 | if( HasParameter( name.c_str() ) ) |
| 488 | { |
| 489 | return false; |
| 490 | } |
| 491 | |
| 492 | Tr2ConstantEffectParameter param; |
| 493 | param.name = name; |
| 494 | param.value = *value; |
| 495 | m_constParameters.Append( ¶m ); |
| 496 | return true; |
| 497 | } |
| 498 | |
| 499 | // -------------------------------------------------------------------------------- |
| 500 | // Description: |
no test coverage detected