thrive/room.h

24 lines
316 B
C
Raw Permalink Normal View History

#ifndef _FD_ROOM_
#define _FD_ROOM_
typedef struct Room Room;
2025-01-04 04:45:44 -05:00
typedef struct Rooms Rooms;
#include <stdbool.h>
struct Room {
char *name;
bool visited;
};
2025-01-04 04:45:44 -05:00
struct Rooms {
Room rooms[100];
int count;
};
void free_room(Room r);
void free_rooms(Rooms r);
2025-01-05 17:18:51 -05:00
Room *find_room(Rooms *r, const char *name);
#endif