Lurchicus / YALife2

Post recovery
MIT License
0 stars 0 forks source link

Doing a variable rename pass seems to have munged this project. #1

Open Lurchicus opened 6 months ago

Lurchicus commented 6 months ago

I am still working on debugging the issues but the project compiles fine and then locks up Visual Studio such that I need task manager to kill it. I'm going to try running it in the preview version and see if that shows what went awry.

Lurchicus commented 5 months ago

I don't know what it is about this project. It just loves getting munged. Anyway, the last big change was renaming a large number of variables. The issues are, of course, happening with things I didn't rename.

  1. One issue is when I dispose the direct access bitmap (Paper), and allocate a new one (in the setup() procedure), the statement after instancing a new bitmap, the bitmap changes to 0x0 dimensions (not the dimensions I passed to the constructor, that appeared to work when I traced the code).

I'll get some code in here soon, but a new issue cropped up I need to investigate (I'll make a new issue for it). This code has worked fine for years so the fact it's failing now is frustrating.