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

Comparing deliantra/server/common/loader.l (file contents):
Revision 1.11 by root, Sun Aug 27 17:59:25 2006 UTC vs.
Revision 1.12 by root, Mon Aug 28 07:07:41 2006 UTC

1%{ 1%{
2/* 2/*
3 * static char *rcsid_object_c = 3 * static char *rcsid_object_c =
4 * "$Id: loader.l,v 1.11 2006/08/27 17:59:25 root Exp $"; 4 * "$Id: loader.l,v 1.12 2006/08/28 07:07:41 root Exp $";
5 */ 5 */
6 6
7/* 7/*
8 CrossFire, A Multiplayer game for X-windows 8 CrossFire, A Multiplayer game for X-windows
9 9
767^more{WS}$ { /* We need to record that this is a multipart object, 767^more{WS}$ { /* We need to record that this is a multipart object,
768 * so the calling function can glue things back together 768 * so the calling function can glue things back together
769 */ 769 */
770 ismore=1; 770 ismore=1;
771 } 771 }
772
773^end{WS}$ { check_loaded_object(op); 772^end{WS}$ { check_loaded_object(op);
774 773
775 if (!arch_init) 774 if (!arch_init)
776 {
777 thawer.get (op);
778 op->instantiate (); 775 op->instantiate ();
779 }
780 776
781 if (ismore) return LL_MORE; 777 if (ismore) return LL_MORE;
782 else return LL_NORMAL; 778 else return LL_NORMAL;
783 } 779 }
780^oid{S} {
781 thawer.get (op, IVAL);
782 }
784^last_heal{S} op->last_heal = IVAL; 783^last_heal{S} op->last_heal = IVAL;
785^last_sp{S} op->last_sp = IVAL; 784^last_sp{S} op->last_sp = IVAL;
786^last_grace{S} op->last_grace = IVAL; 785^last_grace{S} op->last_grace = IVAL;
787^last_eat{S} op->last_eat = IVAL; 786^last_eat{S} op->last_eat = IVAL;
788^speed{S} { op->speed = FVAL; 787^speed{S} { op->speed = FVAL;
2087 if (!(flag&2)) { 2086 if (!(flag&2)) {
2088 remove_ob(op); 2087 remove_ob(op);
2089 free_object (op); 2088 free_object (op);
2090 } 2089 }
2091 2090
2091 freezer.put (fp, op);
2092 fprintf(fp,"end\n"); 2092 fprintf(fp,"end\n");
2093 freezer.put (op);
2094} 2093}
2095 2094
2096void insert_event(object* op, int etype, char *ehook, char *eplug, char *eoptions) 2095void insert_event(object* op, int etype, char *ehook, char *eplug, char *eoptions)
2097{ 2096{
2098 event *evt; 2097 event *evt;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines