summaryrefslogtreecommitdiffstats
path: root/src/tileset.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-03-22 17:07:46 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-03-22 17:35:44 (EDT)
commit8a0e4c830fea4ffa3eaaed370be3b2256cfa925a (patch)
tree8b4eac713c88b2e557f610051201784d0f7c608d /src/tileset.h
parenta6058a0a36c6e1e50af9fa6c850d380194c8d925 (diff)
downloaddodge-balls-8a0e4c830fea4ffa3eaaed370be3b2256cfa925a.zip
dodge-balls-8a0e4c830fea4ffa3eaaed370be3b2256cfa925a.tar.gz
dodge-balls-8a0e4c830fea4ffa3eaaed370be3b2256cfa925a.tar.bz2
db_tileset_new(): New function
Diffstat (limited to 'src/tileset.h')
-rw-r--r--src/tileset.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/tileset.h b/src/tileset.h
new file mode 100644
index 0000000..7a3a06a
--- /dev/null
+++ b/src/tileset.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2021 P. J. McDermott
+ *
+ * This file is part of Dodge Balls
+ *
+ * Dodge Balls 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.
+ *
+ * Dodge Balls 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 Dodge Balls. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef DB_TILESET_H_
+#define DB_TILESET_H_
+
+struct db_tileset;
+
+struct db_tileset *db_tileset_new(const char *game_id, const char *file,
+ int firstgid, struct db_tileset *prev);
+
+#endif /* DB_TILESET_H_ */