# pragma once #include #include // Maximum dimension for grids, layers, and heightmaps (8192x8192 = 256MB of float data) // Prevents integer overflow in size calculations and limits memory allocation constexpr int GRID_MAX = 8192; #include #include #include #include #include #include // wstring<->string conversion #include #include #include