aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/default/textures/default_sign_wall.png
Commit message (Expand)AuthorAge
* Compress texturesDavid Gumberg2013-06-18
* Move games/minetest to games/minimal and update README.txtPerttu Ahola2012-03-26
="hl com">MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once #include <string> #include <unordered_map> typedef std::unordered_map<std::string, int> ItemGroupList; static inline int itemgroup_get(const ItemGroupList &groups, const std::string &name) { ItemGroupList::const_iterator i = groups.find(name); if (i == groups.end()) return 0; return i->second; }