ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/object.h
(Generate patch)

Comparing deliantra/server/include/object.h (file contents):
Revision 1.176 by root, Mon May 5 15:54:39 2008 UTC vs.
Revision 1.177 by root, Sat May 17 00:17:02 2008 UTC

693 static archetype *read (object_thawer &f); 693 static archetype *read (object_thawer &f);
694 MTH static void commit_load (); // commit any objects loaded, resolves cyclic dependencies and more 694 MTH static void commit_load (); // commit any objects loaded, resolves cyclic dependencies and more
695 static void postpone_arch_ref (arch_ptr &ref, const_utf8_string other_arch); /* postpone other_arch reference */ 695 static void postpone_arch_ref (arch_ptr &ref, const_utf8_string other_arch); /* postpone other_arch reference */
696}; 696};
697 697
698// compatbiility, remove once replaced by ->instance
699inline object *
700arch_to_object (archetype *at)
701{
702 return at->instance ();
703}
704
698inline void 705inline void
699object_freezer::put (keyword k, archetype *v) 706object_freezer::put (keyword k, archetype *v)
700{ 707{
701 put (k, v ? &v->archname : (const char *)0); 708 put (k, v ? &v->archname : (const char *)0);
702} 709}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines