Steam Fort 0.5
|
#include "recipe.hpp"
#include "main.hpp"
#include "building.hpp"
#include "libtcod.hpp"
#include <iostream>
Functions | |
int | find_recipe (std::string name, int building) |
Find selected recipe by name. | |
int | find_recipe2 (std::string name, TCODList< int > *buildings) |
Find selected recipe by name and buildings. | |
void | add_recipes (int build) |
Add orders for selected building. |
void add_recipes | ( | int | build | ) |
Add orders for selected building.
build | Type of building. |
int find_recipe | ( | std::string | name, |
int | building | ||
) |
Find selected recipe by name.
name | Name of recipe to find |
building | Building to which recipes is assigned. Default -1. |
int find_recipe2 | ( | std::string | name, |
TCODList< int > * | buildings | ||
) |
Find selected recipe by name and buildings.
name | Name of recipe to find |
buildings | Buildings to which search recipe. |