--- deliantra/server/include/object.h 2009/11/08 20:55:39 1.216 +++ deliantra/server/include/object.h 2009/11/08 22:28:10 1.217 @@ -141,8 +141,8 @@ struct body_slot { - signed char info:4; /* body info as loaded from the file */ signed char used:4; /* Calculated value based on items equipped */ + signed char info:4; /* body info as loaded from the file */ }; typedef struct oblnk @@ -229,13 +229,13 @@ sint8 ACC (RW, glow_radius); /* indicates the glow radius of the object */ uint8 ACC (RW, weapontype); /* type of weapon */ + body_slot slot [NUM_BODY_LOCATIONS]; + faceidx ACC (RW, face); /* the graphical face */ faceidx ACC (RW, sound); /* the sound face */ faceidx ACC (RW, sound_destroy); /* played on destroy */ - body_slot slot [NUM_BODY_LOCATIONS]; - sint32 ACC (RW, weight); /* Attributes of the object */ sint32 ACC (RW, weight_limit);/* Weight-limit of object */ @@ -816,6 +816,8 @@ MTH static object *get (const char *name); // (find() || singularity)->instance() MTH object *instance (); + MTH void post_load_check (); // do some adjustments after parsing + object_vector_index ACC (RW, archid); // index in archvector shstr ACC (RW, archname); /* More definite name, like "generate_kobold" */