aboutsummaryrefslogtreecommitdiff
path: root/src/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/room.h')
-rw-r--r--src/room.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/room.h b/src/room.h
index ad7898f..6568643 100644
--- a/src/room.h
+++ b/src/room.h
@@ -47,8 +47,9 @@ struct user_t {
};
struct object_t {
- const char *class;
obj_id id;
+ const char *class;
+ const char *name; /* no articles: "a", "an", "the" */
};
struct verb_t {
@@ -85,4 +86,6 @@ struct room_t *room_get(room_id id);
bool room_user_add(room_id id, struct child_data *child);
bool room_user_del(room_id id, struct child_data *child);
+struct object_t *obj_new(void);
+
void world_free(void);