CivIII can have 256 different types of building (well, it can have more, but then it doesn't work).
However, I'm working on a way to expand civIII, and the next version of my mod will have more than 4 eras, and more than 256 building types.
Regarding my Napoleonic wars scenario, I should finish it when Imperator releases the last missing artillery units.