--- deliantra/server/common/arch.C 2006/09/14 22:33:58 1.21 +++ deliantra/server/common/arch.C 2006/09/14 22:35:53 1.22 @@ -208,12 +208,8 @@ int item_matched_string (object *pl, object *op, const char *name) { - char * - cp, - local_name[MAX_BUF]; - int - count, - retval = 0; + char *cp, local_name[MAX_BUF]; + int count, retval = 0; strcpy (local_name, name); /* strtok is destructive to name */ @@ -363,8 +359,7 @@ void init_archetable (void) { - archetype * - at; + archetype *at; LOG (llevDebug, " Setting up archetable...\n"); @@ -393,8 +388,7 @@ void dump_all_archetypes (void) { - archetype * - at; + archetype *at; for (at = first_archetype; at != NULL; at = (at->more == NULL) ? at->next : at->more) { @@ -406,11 +400,8 @@ void free_all_archs (void) { - archetype * - at, * - next; - int - i = 0, f = 0; + archetype *at, *next; + int i = 0, f = 0; for (at = first_archetype; at != NULL; at = next) { @@ -445,9 +436,7 @@ void first_arch_pass (object_thawer & fp) { - archetype * - at, * - head = NULL, *last_more = NULL; + archetype *at, *head = NULL, *last_more = NULL; at->clone.arch = first_archetype = at = new archetype; @@ -526,11 +515,8 @@ void second_arch_pass (object_thawer & thawer) { - char - buf[MAX_BUF], * - variable = buf, *argument, *cp; - archetype * - at = NULL, *other; + char buf[MAX_BUF], *variable = buf, *argument, *cp; + archetype *at = NULL, *other; while (fgets (buf, MAX_BUF, thawer) != NULL) { @@ -581,8 +567,7 @@ void check_generators (void) { - archetype * - at; + archetype *at; for (at = first_archetype; at != NULL; at = at->next) if (QUERY_FLAG (&at->clone, FLAG_GENERATOR) && at->clone.other_arch == NULL) @@ -600,8 +585,7 @@ void load_archetypes (void) { - char - filename[MAX_BUF]; + char filename[MAX_BUF]; #if TIME_ARCH_LOAD struct timeval @@ -649,8 +633,7 @@ object * arch_to_object (archetype *at) { - object * - op; + object *op; if (at == NULL) { @@ -677,7 +660,7 @@ object * create_singularity (const char *name) { - object * op; + object *op; char buf[MAX_BUF]; sprintf (buf, "%s (%s)", ARCH_SINGULARITY, name);