rajko-horvat / OpenCiv1

Open source rewrite of the original Civilization 1 Game designed by Sid Meier and Bruce Shelley in year 1991
MIT License
233 stars 11 forks source link

A bitmap ID's get overwritten sometimes - graphical issue with irrigation #29

Open axx0 opened 10 months ago

axx0 commented 10 months ago

Suddenly the irrigation was replaced with frigates. The issue disappears with reloading of game.

Clipboard06

rajko-horvat commented 10 months ago

I guess it's something with overwriting the VCPU memory where bitmap ID's are located. This will have to wait a little bit until I finish introducing the parameters to all functions, and then I will move bitmap ID table to a managed array.

Is there a way to reproduce this issue?

Thanks for spotting it ;)

axx0 commented 10 months ago

I researched an advance just before it happened, but I'm not so sure it's connected. I'll see if it can be reproduced.

hadabascus commented 7 months ago

I had this happen also. I had played most of the game using DOSBox, the version of the game was 474.04. Then continued with OpenCiv1 Alpha 7.