#ifndef _nodes_h_#define _nodes_h_#include "datatypes.h"/*Copyright (c) 2013-2021 Devine Lu Linvega2018 web port by rezmason2021 C89 port by rezmasonPermission to use, copy, modify, and distribute this software for anypurpose with or without fee is hereby granted, provided that the abovecopyright notice and this permission notice appear in all copies.THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIESWITH REGARD TO THIS SOFTWARE.*//* The concept of a node, meaning a distinct place that connects to other places, is ubiquitous throughout the adventure game genre. Node data makes up the majority of the data file; there are a few shorthand expressions to try and make it less verbose.*/int Nodes_Init(char *data);void Nodes_Quit(void);void Nodes_Reset(GameState *state);Node *Nodes_Get(char *name);#endif
#ifndef _nodes_h_
#define _nodes_h_
#include "datatypes.h"
/*
Copyright (c) 2013-2021 Devine Lu Linvega
2018 web port by rezmason
2021 C89 port by rezmason
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE.
*/
/*
The concept of a node, meaning a distinct place
that connects to other places, is ubiquitous
throughout the adventure game genre.
Node data makes up the majority of the data file;
there are a few shorthand expressions
to try and make it less verbose.
*/
int Nodes_Init(char *data);
void Nodes_Quit(void);
void Nodes_Reset(GameState *state);
Node *Nodes_Get(char *name);
#endif