Hi,
the new function ent_terraincreate() is great! But I'm missing a function that stores a terrain into a .hmp file.
I would do it for my own, but I got stuck when it came to calculating the lightnormalindex out of the lightnormals table.
Example:
ENTITY* TerrainEnt = ent_terraincreate(NULL, nullvector, 100, 100, 20);
//Maybe some deforming, painting or adding a new skin
//Let's save changes:
ent_terrainsave(TerrainEnt, "NewTerrain1.hmp");
Or a function for calculating the lightnormalindex would also make the task a lot easier.
Thanks!