#include <OPLANT.H>
List of all members.
Definition at line 36 of file OPLANT.H.
Definition at line 18 of file OPLANT.CPP.
Definition at line 27 of file OPLANT.CPP.
References deinit().
Definition at line 58 of file OPLANT.CPP.
References MAX_ZOOM_LEVEL, and mem_del.
Referenced by ~PlantRes().
[inline]
Definition at line 120 of file OPLANT3.H.
This function must be called after a map is generated.
Definition at line 35 of file OPLANT.CPP.
References ZOOM_LARGE, ZOOM_MEDIUM, and ZOOM_SMALL.
Definition at line 121 of file OPLANT3.H.
Definition at line 129 of file OPLANT.CPP.
References err_if, err_now, info_array, and plant_count.
Definition at line 257 of file OPLANT3.CPP.
References PlantInfo::bitmap_count, PlantInfo::first_bitmap, plant_count, and plant_info_array.
Check if any plant in resource matches the given criteria and return the plant bitmap id. of the matched one.
<int> climateZone - the climate zone where the plant is. (either ZONE_TROPICAL or ZONE_TEMPERATE) 0 - any climate zone <int> teraType - the terrain type where the plant is. 0 - any terrain type <int> townAge - the age level of the town. 0 - any town age
return : <int> plantBitmapId - the id. of the plant bitmap.
Definition at line 212 of file OPLANT3.CPP.
References PlantInfo::bitmap_count, PlantInfo::climate_zone, err_when, PlantInfo::first_bitmap, PlantInfo::tera_type, and PlantBitmap::town_age.
Definition at line 41 of file OPLANT.H.
Referenced by operator[]().
Definition at line 103 of file OPLANT3.H.
Definition at line 38 of file OPLANT.H.
Definition at line 98 of file OPLANT3.H.
Definition at line 95 of file OPLANT3.H.
Definition at line 94 of file OPLANT3.H.
Referenced by operator[](), and plant_recno().
Definition at line 97 of file OPLANT3.H.
Referenced by plant_recno().
Definition at line 101 of file OPLANT3.H.
Definition at line 104 of file OPLANT3.H.
Definition at line 43 of file OPLANT.H.
Definition at line 99 of file OPLANT3.H.