CivOne icon indicating copy to clipboard operation
CivOne copied to clipboard

Most/all animations have side effects: need to solve

Open fire-eggs opened this issue 6 years ago • 2 comments

As far as I can tell, all animations (city founding; city capture; city incite) have side-effects. So attempting to disable those animations causes the side-effects to not happen. E.g. when capturing a city, no gold is awarded to the player.

Microprose has alternate displays when animations are off, need to make those happen and if possible restructure the code so there is not game logic in the animations code.

fire-eggs avatar Jun 23 '19 18:06 fire-eggs

See ProcessScience as possible template.

ProcessScience : GameTask
if (animations)
    new Discovery()
else
    new NewsPaper()

fire-eggs avatar Jun 25 '19 21:06 fire-eggs

City.cs : NewTurn() : what does Civ original do when a city is in disorder and animations are off? Show a "Newspaper" message? Needs to be implemented here.

Orders.cs : CreateCity() : turning off animations means CityViewed is not invoked. Need to invoke directly when animations are off. [Is there a missing "Newspaper" message?]

fire-eggs avatar Sep 24 '21 15:09 fire-eggs