@Meridian
You mentioned some performance optimizations, for checking the lists differently.
Could you explain to me how these would/could work? I really would appreciate the knowledge, thanks in advance.
Since you avoided my direct question, I assume the answer is "no, you will continue working on it if I show you more issues".
Sorry that got lost on the way.
If i may, I will try to answer your question now.
You already mentioned the performance. I can not really judge how performant in regards to CPU cycles the code is.
I am honest i do not know.
If so, I can respond only with:
I regret that I told you about the issue, which you are trying to solve here... I should have kept my mouth shut.
This whole discussion is my fault, I just wish I could un-tell you about it....
Looks like i missunderstood you and acted or replied in a way which may have seen unappropriate for you.
I won't tell you about the other issues, because I don't want to continue along this path.
This is my last post on this topic.
If thats your decision. Ok understandable.
Even thou someone with more programming experience telling me about issues, would be really good.
I understand you just want to help... but starting with one of the most perplexing pieces of oxc code with lots of side effects is just a bad idea.
In regard of the overall game fps performance?
Or about that it would break the research in general?
I do not know, but I recall in regard of research in OpenXcom, this
Thread hereWere you actually showed the core issue, whats wrong with the research code.
Even thou "requires" were actually never the issue.
The problem is that alive aliens, which are not leaders or commanders, only are available for research as long as on their "getOneFree" list contains entries, which do not show up as discovered and as long as their lookup is not satiesfied.
Meaning the amount of times they can be researched is limited.
When you add a list of unlocks to a specfic alien rank for example all alien engineers, which is longer then the entries of the getOneFree list then you could get stuck with the complete game research.
I fixed that. Mainly out of self interest because it breaks the research tree of my mod depending how the player interrogates alive aliens to progress in the research tree.
Maybe this is also a possible problem with players sometimes getting stuck on research trees of other mods to.
Good luck, whatever your decision to continue may be...
Danke