Map loading and rendering

This commit is contained in:
2025-11-09 13:00:43 -06:00
parent 307f3a9dec
commit 5a8710cc76
6 changed files with 57 additions and 12 deletions

View File

@@ -8,9 +8,9 @@
#pragma once
#include "rpg/world/tile.h"
#define CHUNK_WIDTH 16
#define CHUNK_HEIGHT 16
#define CHUNK_DEPTH 16
#define CHUNK_WIDTH 4
#define CHUNK_HEIGHT 4
#define CHUNK_DEPTH 32
#define CHUNK_TILE_COUNT (CHUNK_WIDTH * CHUNK_HEIGHT * CHUNK_DEPTH)
typedef struct chunk_s {