#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