mudlib_stats.h

MudOS_0.9.18/src/mudlib_stats.h · 764 B

From the archive MudOS_0.9.18.tar.gz

Download the archive   « Back to the archive contents

/*
 * mudlib_stats.h
 * created by: Erik Kay
 * last modified: 11/1/92
 * this file is a replacement for wiz_list.h and all of its purposes
 * the idea is that it will be more domain based, rather than user based
 * and will be a little more general purpose than wiz_list was
 */

#ifndef _FOO
#define _FOO

typedef struct _mstats
{
  /* the name of the stat group */
  char *name;
  int length; 
  /* the next data element in the linked list */
  struct _mstats *next;
  /* statistics */
  int moves;
  int cost;
  int heart_beats;
  int total_worth;
  int size_array;
  int errors;
  int objects;
} mudlib_stats_t;


typedef struct _statgroup
{
  mudlib_stats_t *domain;
  mudlib_stats_t *author;
} statgroup_t;


#define DSTATS_FILE_NAME "domain_stats"

#endif

Site Stats

Snippets: 1791
Codebases: 571