Yes, it is included:
Code:
#include <stdio.h>
#include <stdlib.h>
#include "game.h"
#include "utils.h"
#include "defs.h"
This is how it is declared in game.h:
Code:
struct actor
{
struct room *location;
struct object *contents; /* possessions */
};
And this is the makefile:
Code:
CC = gcc
OBJS = commands.o getliner.o getwords.o main.o object.o parser.o rooms.o
game: $(OBJS)
$(CC) -o $@ $(OBJS)
commands.o: commands.c game.h defs.h
getliner.o: getliner.c utils.h
getwords.o: getwords.c utils.h
main.o: main.c game.h utils.h
object.o: object.c game.h defs.h
parser.o: parser.c defs.h game.h utils.h
rooms.o: rooms.c game.h defs.h