--- deliantra/server/include/material.h 2009/11/10 04:38:45 1.17 +++ deliantra/server/include/material.h 2010/04/29 12:24:04 1.21 @@ -1,9 +1,9 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * - * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team - * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team - * Copyright (©) 1992,2007 Frank Tore Johansen + * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * Copyright (©) 2002 Mark Wedel & Crossfire Development Team + * Copyright (©) 1992 Frank Tore Johansen * * Deliantra is free software: you can redistribute it and/or modify it under * the terms of the Affero GNU General Public License as published by the @@ -68,9 +68,12 @@ extern materialtype_t *materialt; extern materialtype_t material_null; // defined in shstr.C +#define MATERIAL_NULL &material_null + void load_materials (); // provide a material for the item if the material isn't set yet void select_material (object *op, int difficulty); +materialtype_t *name_to_material (const shstr_tmp name); #endif