/* Update routine for features */ void featureUpdate(FEATURE *psFeat) { syncDebugFeature(psFeat, '<'); // update the visibility for the feature processVisibilityLevel((BASE_OBJECT *)psFeat); syncDebugFeature(psFeat, '>'); }
/* Update routine for features */ void featureUpdate(FEATURE *psFeat) { // if(getRevealStatus()) // { // update the visibility for the feature processVisibilityLevel((BASE_OBJECT *)psFeat); // } switch (psFeat->psStats->subType) { case FEAT_DROID: case FEAT_BUILD_WRECK: // //kill off wrecked droids and structures after 'so' long // if ((gameTime - psFeat->born) > WRECK_LIFETIME) // { destroyFeature(psFeat); // get rid of the now!!! // } break; default: break; } }