gquest_text.c

src/gquest_text.c · 458 B

From the archive cyhawk_mud.tar.gz

Download the archive   « Back to the archive contents

#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "merc.h"
#include "mob_cmds.h"
#include "gquest.h"
#include "gdl.h"

BEGIN_ELE_LIST(GQUEST_TEXT)
STR(questname)
INT(step)
STR(text)
END_ELE_LIST


GQUEST_TEXT *gquest_text_list;


/*
 * load_gquest_text()
 *
 * Loads the list into mem
 */
void load_gquest_text()
{
    LOAD_LIST(gquest_text_list, GQUEST_TEXT, GQUEST_TEXT_FILE);
    return;
}

Site Stats

Snippets: 1791
Codebases: 571