Day 35 complete.

This commit is contained in:
igor
2026-04-16 18:10:54 -07:00
parent cd0ed29b30
commit dea811e073
5 changed files with 774 additions and 117 deletions
+5 -3
View File
@@ -4,6 +4,7 @@
typedef struct tile_map_position {
U32 AbsTileX;
U32 AbsTileY;
U32 AbsTileZ;
/* NOTE: Tile-relative X and Y. */
F32 TileRelX;
@@ -13,6 +14,7 @@ typedef struct tile_map_position {
typedef struct tile_chunk_position {
U32 TileChunkX;
U32 TileChunkY;
U32 TileChunkZ;
U32 RelTileX;
U32 RelTileY;
@@ -28,13 +30,13 @@ typedef struct tile_map {
U32 ChunkDim;
F32 TileSideInMeters;
S32 TileSideInPixels;
F32 MetersToPixels;
/* TODO: Real sparseness. */
U32 TileChunkCountX;
U32 TileChunkCountY;
U32 TileChunkCountZ;
tile_chunk *TileChunks;
} tile_map;
#endif
#endif