summaryrefslogtreecommitdiffstats
path: root/src/game.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-08-07 13:58:00 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-07 13:58:00 (EDT)
commitbc8cf40d1317b40042dd78d64c509f0eaccc7142 (patch)
tree763b56fb275b48e5e7681b1006143bc6e0be946c /src/game.h
parentbae0f7abb36e01cbb09721eb86c001bf0bc32202 (diff)
downloadmazefight-bc8cf40d1317b40042dd78d64c509f0eaccc7142.zip
mazefight-bc8cf40d1317b40042dd78d64c509f0eaccc7142.tar.gz
mazefight-bc8cf40d1317b40042dd78d64c509f0eaccc7142.tar.bz2
game: New screen
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
new file mode 100644
index 0000000..e3f5d64
--- /dev/null
+++ b/src/game.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2021 P. J. McDermott
+ *
+ * This file is part of Maze Fight
+ *
+ * Maze Fight is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Maze Fight is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Maze Fight. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef MF_GAME_H_
+#define MF_GAME_H_
+
+#include <SDL.h>
+
+int
+mf_game(long seed, int size, int fow, int reveal, SDL_Renderer *renderer);
+
+#endif /* MF_GAME_H_ */