C7-Game / Prototype

An early-stage, open-source 4X strategy game
https://c7-game.github.io/
MIT License
32 stars 9 forks source link

Draft: Json Terrain Format #401

Closed pcen closed 1 year ago

pcen commented 1 year ago

see https://github.com/C7-Game/Prototype/issues/134 This changes TerrainType to store isWater and isHilly as fields, and adds a test to load a civ3 "mod" terrain file from json. It does not yet actually use this when loading saves.

https://github.com/C7-Game/Prototype/issues/103 is relevant; if the elevation system is intuitive enough, it can be stored alongside the other terrain data.