#ifndef _chapters_h_#define _chapters_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.*//* In Hiversaires the player's chapter increments when its requirements are met. Typically, these requirements involve a node or a door or terminal action. The game tests the next chapter's requirements any time the subject changes.*/int Chapters_Init(char *data);void Chapters_Quit(void);void Chapters_Reset(GameState *state);int Chapters_Update(Subject *subject, GameState *state);#endif
#ifndef _chapters_h_
#define _chapters_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.
*/
/*
In Hiversaires the player's chapter increments when its requirements are met.
Typically, these requirements involve a node or a door or terminal action.
The game tests the next chapter's requirements any time the subject changes.
*/
int Chapters_Init(char *data);
void Chapters_Quit(void);
void Chapters_Reset(GameState *state);
int Chapters_Update(Subject *subject, GameState *state);
#endif