void BotInterbreedGoalFuzzyLogic( int parent1, int parent2, int child ) { bot_goalstate_t* p1 = BotGoalStateFromHandle( parent1 ); bot_goalstate_t* p2 = BotGoalStateFromHandle( parent2 ); bot_goalstate_t* c = BotGoalStateFromHandle( child ); InterbreedWeightConfigs( p1->itemweightconfig, p2->itemweightconfig, c->itemweightconfig ); }
//=========================================================================== // // Parameter: - // Returns: - // Changes Globals: - //=========================================================================== void BotInterbreedGoalFuzzyLogic( int parent1, int parent2, int child ) { bot_goalstate_t *p1, *p2, *c; p1 = BotGoalStateFromHandle( parent1 ); p2 = BotGoalStateFromHandle( parent2 ); c = BotGoalStateFromHandle( child ); InterbreedWeightConfigs( p1->itemweightconfig, p2->itemweightconfig, c->itemweightconfig ); } //end of the function BotInterbreedingGoalFuzzyLogic