#include "cell.h"
#include "main.h"
#include "functions.h"
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 npc * | findnpc_byname (struct cell *level, int size, char *name) |
#define CHATTERBOX 0 |
#define NPC 10 |
#define SHOPKEEPER 2 |
#define SKILL_TRAINER 3 |
#define TRAINER 1 |
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 sayphrase | ( | struct npc | n | ) |
void sayspeech | ( | struct npc | n | ) |
void talktonpc | ( | struct npc | n | ) |