quest.c File Reference

#include <libintl.h>
#include <locale.h>
#include "quest.h"
#include "config.h"
#include "player.h"
#include "item.h"
#include "npc.h"
#include "generalfunc.h"
#include "level.h"
#include <stdlib.h>
#include <string.h>
#include "io.h"
#include "conf.h"
Include dependency graph for quest.c:

Functions

void init_quest_system ()
void register_quest (struct quest q)
void unregister_quest_byname (char *name)
void kill_all_quests ()
int qparse_section (FILE *cfg, char *section)
int qparse_file (char *filename)
int get_quests_number ()
struct questget_quest (int idx)
void check_state (struct leveldata ld, int action, void *info)
void qreward (struct leveldata ld, struct quest q)
int save_quests (char *filename)

Function Documentation

void check_state ( struct leveldata  ld,
int  action,
void *  info 
)

Here is the call graph for this function:

struct quest* get_quest ( int  idx  )  [read]
int get_quests_number (  ) 
void init_quest_system (  ) 
void kill_all_quests (  ) 
int qparse_file ( char *  filename  ) 

Here is the call graph for this function:

int qparse_section ( FILE *  cfg,
char *  section 
)

Here is the call graph for this function:

void qreward ( struct leveldata  ld,
struct quest  q 
)

Here is the call graph for this function:

void register_quest ( struct quest  q  ) 
int save_quests ( char *  filename  ) 
void unregister_quest_byname ( char *  name  ) 
Generated on Mon Nov 15 10:27:10 2010 for Tales of Paraverse by  doxygen 1.6.3