#ifndef _data_h_ #define _data_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. */ /* C is a language not conducive to mixing data and code. We load our data from the data.txt file in the media directory; this module identifies the sections of that file, and passes them into the appropriate data-driven module. The data module is also a good place to keep the game state reset function, which relies on those data-driven systems to reinitialize the state. */ int Data_Init(void); void Data_Quit(void); void Data_ResetState(GameState *state); #endif