#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"
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 quest * | get_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) |
void check_state | ( | struct leveldata | ld, | |
int | action, | |||
void * | info | |||
) |
struct quest* get_quest | ( | int | idx | ) | [read] |
int get_quests_number | ( | ) |
void init_quest_system | ( | ) |
void kill_all_quests | ( | ) |
int qparse_file | ( | char * | filename | ) |
int qparse_section | ( | FILE * | cfg, | |
char * | section | |||
) |
void register_quest | ( | struct quest | q | ) |
int save_quests | ( | char * | filename | ) |
void unregister_quest_byname | ( | char * | name | ) |