//----------------------------------------------------------------------------- // Places Detail Objects in the level //----------------------------------------------------------------------------- void EmitDetailObjects() { EmitDetailModels(); // Done! Now lets add the lumps (destroy previous ones) SetLumpData( ); if ( s_nDetailOverflow != 0 ) { Warning( "Error! Too many detail props on this map. %d were not emitted!\n", s_nDetailOverflow ); } }
//----------------------------------------------------------------------------- // Places Detail Objects in the level //----------------------------------------------------------------------------- void EmitDetailObjects() { // Guarantee identical random emission... srand(1); RandomSeed( 1 ); EmitDetailModels(); // Done! Now lets add the lumps (destroy previous ones) SetLumpData( ); if ( s_nDetailOverflow != 0 ) { Warning( "Error! Too many detail props on this map. %d were not emitted!\n", s_nDetailOverflow ); } }