25 lines
365 B
C
25 lines
365 B
C
#ifndef _FD_TRANSITION_
|
|
#define _FD_TRANSITION_
|
|
|
|
typedef struct Transition Transition;
|
|
typedef struct Transitions Transitions;
|
|
|
|
#include "game.h"
|
|
#include "room.h"
|
|
|
|
struct Transition {
|
|
Room *from;
|
|
Command via;
|
|
Room *to;
|
|
char *description;
|
|
};
|
|
|
|
struct Transitions {
|
|
Transition transitions[200];
|
|
int count;
|
|
};
|
|
|
|
void game_load_transitions(Game *g);
|
|
|
|
#endif
|