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

Comparing deliantra/server/common/loader.C (file contents):
Revision 1.52 by root, Thu Feb 1 19:15:38 2007 UTC vs.
Revision 1.54 by root, Wed Feb 7 02:04:46 2007 UTC

29#include <global.h> 29#include <global.h>
30#include <loader.h> 30#include <loader.h>
31#include <sproto.h> 31#include <sproto.h>
32 32
33///////////////////////////////////////////////////////////////////////////// 33/////////////////////////////////////////////////////////////////////////////
34
35loader_base::~loader_base ()
36{
37}
34 38
35// the base class warns about and skips everything 39// the base class warns about and skips everything
36archetype * 40archetype *
37loader_base::get_arch (const char *name) 41loader_base::get_arch (const char *name)
38{ 42{
866 case KW_path_denied: thawer.get (op->path_denied); break; 870 case KW_path_denied: thawer.get (op->path_denied); break;
867 case KW_invisible: thawer.get (op->invisible); break; 871 case KW_invisible: thawer.get (op->invisible); break;
868 case KW_magic: thawer.get (op->magic); break; 872 case KW_magic: thawer.get (op->magic); break;
869 case KW_state: thawer.get (op->state); break; 873 case KW_state: thawer.get (op->state); break;
870 case KW_move_slow_penalty: thawer.get (op->move_slow_penalty); break; 874 case KW_move_slow_penalty: thawer.get (op->move_slow_penalty); break;
871 case KW_material: thawer.get (op->material); break; 875 case KW_material: thawer.get (op->materials); break; //TODO: nuke
872 case KW_materialname: thawer.get (op->materialname); break; 876 case KW_materialname: thawer.get (op->materialname); break;
873 877
874 /* These are the new values */ 878 /* These are the new values */
875 case KW_move_block: set_move (op->move_block, thawer.get_str ()); break; 879 case KW_move_block: set_move (op->move_block, thawer.get_str ()); break;
876 case KW_move_allow: set_move (op->move_allow, thawer.get_str ()); break; 880 case KW_move_allow: set_move (op->move_allow, thawer.get_str ()); break;
1535 f.put (resist_save[i], op->resist[i]); 1539 f.put (resist_save[i], op->resist[i]);
1536 1540
1537 CMP_OUT (path_attuned); 1541 CMP_OUT (path_attuned);
1538 CMP_OUT (path_repelled); 1542 CMP_OUT (path_repelled);
1539 CMP_OUT (path_denied); 1543 CMP_OUT (path_denied);
1540 CMP_OUT (material); 1544 CMP_OUT2 (material, materials);//TODO: nuke
1541 CMP_OUT (materialname); 1545 CMP_OUT (materialname);
1542 CMP_OUT (value); 1546 CMP_OUT (value);
1543 CMP_OUT (carrying); 1547 CMP_OUT (carrying);
1544 CMP_OUT (weight); 1548 CMP_OUT (weight);
1545 CMP_OUT (invisible); 1549 CMP_OUT (invisible);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines