| 380 | ocupancy[tileId]*=(c.pow(thickness)); |
| 381 | } |
| 382 | rgbf getStandartColor(int colorId) |
| 383 | { |
| 384 | return rgbf(df::global::enabler->ccolor[colorId][0]/255.0f, |
| 385 | df::global::enabler->ccolor[colorId][1]/255.0f, |
| 386 | df::global::enabler->ccolor[colorId][2]/255.0f); |
| 387 | } |
| 388 | int getPlantNumber(const std::string& id) |
| 389 | { |
| 390 | std::vector<df::plant_raw*>& vec=df::plant_raw::get_vector(); |