match.h

teeny/includes/match.h · 368 B

From the archive TeenyMUD-1.3.tar.gz

Download the archive   « Back to the archive contents

/* match.h */

/*
 * We stow matches in these things. 
 */

struct match
{
  int             obj;		/* The number of the object we mean */
  struct match   *fwd, *back;	/* You figger it out */
};
struct match   *match_exits();
int             choose_match();

#define MAT_THINGS		0x0001
#define MAT_PLAYERS		0x0002
#define MAT_EXITS		0x0004
#define MAT_ANYTHING	0x0007

Site Stats

Snippets: 1791
Codebases: 571