ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/material.C
(Generate patch)

Comparing deliantra/server/common/material.C (file contents):
Revision 1.2 by root, Wed Nov 4 00:08:44 2009 UTC vs.
Revision 1.3 by root, Thu Nov 5 15:43:21 2009 UTC

22 * The authors can be reached via e-mail to <support@deliantra.net> 22 * The authors can be reached via e-mail to <support@deliantra.net>
23 */ 23 */
24 24
25#include <global.h> 25#include <global.h>
26#include <material.h> 26#include <material.h>
27
28//+GPL
27 29
28/* convert materialname to materialtype_t */ 30/* convert materialname to materialtype_t */
29 31
30materialtype_t * 32materialtype_t *
31name_to_material (const shstr_cmp name) 33name_to_material (const shstr_cmp name)
167 mt->density = 1; 169 mt->density = 1;
168 mt->next = 0; 170 mt->next = 0;
169 171
170 return mt; 172 return mt;
171} 173}
174
175//-GPL
172 176
173void 177void
174load_materials (void) 178load_materials (void)
175{ 179{
176 char filename[MAX_BUF]; 180 char filename[MAX_BUF];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines