Searched refs:plant_count (Results 1 – 14 of 14) sorted by relevance
/dports/devel/mercator/mercator-0.3.3/tests/ |
H A D | Foresttest.cpp | 42 int plant_count = 0; in countPlants() local 45 plant_count += I->second.size(); in countPlants() 47 return plant_count; in countPlants() 127 int plant_count = countPlants(plants); in main() local 140 assert(countPlants(plants) > plant_count); in main() 144 std::cout << countPlants(plants) << "," << plant_count in main()
|
/dports/games/7kaa/7kaa-2.15.4p1/src/ |
H A D | OW_PLANT.cpp | 100 if( plant_count > plant_limit ) in plant_reprod() 102 if( 5 * plant_count < 4 * plant_limit ) in plant_reprod() 186 plant_count++; in plant_reprod() 209 if( plant_count > plant_limit) in plant_spread() 211 if( 5 * plant_count < 4 * plant_limit ) in plant_spread() 256 plant_count++; in plant_spread() 365 plant_count--; in plant_death() 385 plant_count = 0; in plant_init() 423 plant_limit = plant_count * 3 / 2; in plant_init() 456 plant_count++; in plant_spray()
|
H A D | OPLANT.cpp | 116 plant_count = (short) dbPlant->rec_count(); in load_plant_info() 117 plant_info_array = (PlantInfo*) mem_add( sizeof(PlantInfo)*plant_count ); in load_plant_info() 119 memset( plant_info_array, 0, sizeof(PlantInfo) * plant_count ); in load_plant_info() 123 for( i=0 ; i<plant_count ; i++ ) in load_plant_info() 247 for( i=0 ; i<plant_count ; i++, plantInfo++ ) in scan() 293 for( i = 0; i<plant_count; ++i, plantInfo++ ) in plant_recno() 307 err_if( plantId<1 || plantId>plant_count ) in operator []()
|
H A D | OW_FIRE.cpp | 241 plant_count--; in spread_fire() 275 plant_count--; in spread_fire()
|
H A D | OU_CART.cpp | 124 world.plant_count--; in process_die()
|
H A D | OTORNADO.cpp | 202 world.plant_count--; in hit_plant()
|
H A D | OGFILE2.cpp | 1429 filePtr->file_put_long(plant_count); in write_file() 1473 plant_count = filePtr->file_get_long(); in read_file()
|
H A D | OWORLD.cpp | 62 plant_count = 0; in World()
|
/dports/games/7kaa/7kaa-2.15.4p1/include/ |
H A D | OPLANT.h | 106 short plant_count;
|
H A D | OWORLD.h | 72 int plant_count; variable
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | iexamine.h | 124 std::list<item> get_harvest_items( const itype &type, int plant_count,
|
H A D | iexamine.cpp | 2347 std::list<item> iexamine::get_harvest_items( const itype &type, const int plant_count, in get_harvest_items() argument 2377 add( seed_data.fruit_id, plant_count ); in get_harvest_items() 2436 int plant_count = rng( skillLevel / 2, skillLevel ); in harvest_plant() local 2437 plant_count *= here.furn( examp )->plant->harvest_multiplier; in harvest_plant() 2439 if( plant_count >= max_harvest_count ) { in harvest_plant() 2440 plant_count = max_harvest_count; in harvest_plant() 2441 } else if( plant_count <= 0 ) { in harvest_plant() 2442 plant_count = 1; in harvest_plant() 2444 const int seedCount = std::max( 1, rng( plant_count / 4, plant_count / 2 ) ); in harvest_plant() 2445 for( auto &i : get_harvest_items( type, plant_count, seedCount, true ) ) { in harvest_plant()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | iexamine.h | 124 std::list<item> get_harvest_items( const itype &type, int plant_count,
|
H A D | iexamine.cpp | 2347 std::list<item> iexamine::get_harvest_items( const itype &type, const int plant_count, in get_harvest_items() argument 2377 add( seed_data.fruit_id, plant_count ); in get_harvest_items() 2436 int plant_count = rng( skillLevel / 2, skillLevel ); in harvest_plant() local 2437 plant_count *= here.furn( examp )->plant->harvest_multiplier; in harvest_plant() 2439 if( plant_count >= max_harvest_count ) { in harvest_plant() 2440 plant_count = max_harvest_count; in harvest_plant() 2441 } else if( plant_count <= 0 ) { in harvest_plant() 2442 plant_count = 1; in harvest_plant() 2444 const int seedCount = std::max( 1, rng( plant_count / 4, plant_count / 2 ) ); in harvest_plant() 2445 for( auto &i : get_harvest_items( type, plant_count, seedCount, true ) ) { in harvest_plant()
|