interface.h
src/interface.h · 515 B
From the archive Lpmud-CD.03.31beta1.tar.gz
Download the archive « Back to the archive contents
#include "config.h"
#include "exec.h"
#include "interpret.h"
#define VAR(i) (current_object->variables[\
current_object->prog->inherit[inh_offset +\
current_prog->cfuns[(i).num].inh].\
variable_index_offset +\
current_prog->cfuns[(i).num].idx])
typedef struct var_info
{
char *name;
short num;
} var;
typedef struct func_info
{
char *name;
void (*address)();
} func;
struct interface
{
char *program;
var **vars;
func **funcs;
};
extern struct interface *(interface[]);