I'm writing up a video-game engine right now, and for the tactical combat grid, I was thinking up ways to store the relevant information for each grid square (defensive bonuses, impediment value, passability, etc.). My immediate conclusion was to use a struct array, with a series of const structs to be used for assigning value sets to the peices of the array.
Is it doable? Can anyone think up anything to do it better?