diff options
author | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2024-07-13 12:51:05 +0200 |
---|---|---|
committer | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2024-07-13 12:51:05 +0200 |
commit | 591232eba1809643df1f4a6075ff9581b8bb2f7a (patch) | |
tree | 92e2c464158d03ef9c83f153ba5b88c39581d9f8 /include/chunk.h | |
parent | 95283d70eee749d984b2ca07c0b61d39f9bb350d (diff) | |
download | silly_game-591232eba1809643df1f4a6075ff9581b8bb2f7a.tar.xz |
move headers to src
Signed-off-by: Lizzy Fleckenstein <lizzy@vlhl.dev>
Diffstat (limited to 'include/chunk.h')
-rw-r--r-- | include/chunk.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/chunk.h b/include/chunk.h deleted file mode 100644 index 420211f..0000000 --- a/include/chunk.h +++ /dev/null @@ -1,24 +0,0 @@ -// SPDX-FileCopyrightText: 2024 Lizzy Fleckenstein <lizzy@vlhl.dev> -// -// SPDX-License-Identifier: AGPL-3.0-or-later - -#ifndef CHUNK_H -#define CHUNK_H - -#include <stdbool.h> -#include "vec.h" -#include "content.h" - -typedef struct { - uint32_t pitch; - box2 bounds; - node *data; -} chunk; - -chunk chunk_alloc(box2 b); -node *chunk_index(chunk c, uvec2 v); -node *chunk_index_abs(chunk c, vec2 v); -void chunk_copy(chunk dst, chunk src); -void chunk_clear(chunk c); - -#endif |