npc.h File Reference

#include "cell.h"
#include "main.h"
#include "functions.h"
Include dependency graph for npc.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  npc

Defines

#define NPC   10
#define CHATTERBOX   0
#define TRAINER   1
#define SHOPKEEPER   2
#define SKILL_TRAINER   3

Functions

void createnpc (struct leveldata ld, int columns, int rows)
void movenpc (struct cell *level, int columns, int rows, int idx, int pdir, char *success, char *fail)
void talktonpc (struct npc n)
void sayphrase (struct npc n)
void sayspeech (struct npc n)
struct npcfindnpc_byname (struct cell *level, int size, char *name)

Define Documentation

#define CHATTERBOX   0
#define NPC   10
#define SHOPKEEPER   2
#define SKILL_TRAINER   3
#define TRAINER   1

Function Documentation

void createnpc ( struct leveldata  ld,
int  columns,
int  rows 
)

Here is the call graph for this function:

struct npc* findnpc_byname ( struct cell level,
int  size,
char *  name 
) [read]
void movenpc ( struct cell level,
int  columns,
int  rows,
int  idx,
int  pdir,
char *  success,
char *  fail 
)

Here is the call graph for this function:

void sayphrase ( struct npc  n  ) 

Here is the call graph for this function:

void sayspeech ( struct npc  n  ) 

Here is the call graph for this function:

void talktonpc ( struct npc  n  ) 

Here is the call graph for this function:

Generated on Mon Nov 15 10:27:04 2010 for Tales of Paraverse by  doxygen 1.6.3